Package: bitpim
Version: 1.0.2.dfsg.1-3
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

> Automatic build of bitpim_1.0.2.dfsg.1-3 on em64t by sbuild/amd64 0.53
...
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes 
> -g -Wall -O2 -fPIC -I/usr/include/python2.4 -c jarow.c -o 
> build/temp.linux-x86_64-2.4/jarow.o
> creating build/lib.linux-x86_64-2.4
> gcc -pthread -shared -g -Wall -O2 build/temp.linux-x86_64-2.4/jarow.o -o 
> build/lib.linux-x86_64-2.4/jarow.so
> make[1]: Entering directory 
> `/build/tbm/bitpim-1.0.2.dfsg.1/src/native/av/bmp2avi'
> g++  -g -Wall -O2 -o bmp2avi.lbin avi_file.cxx bmp_file.cxx b2a.cxx
> avi_file.cxx: In function 'AVIMAINHEADER endian(const AVIMAINHEADER&)':
> avi_file.cxx:28: warning: missing braces around initializer for 'DWORD [4]'
> avi_file.cxx: In function 'AVISTREAMHEADER endian(const AVISTREAMHEADER&)':
> avi_file.cxx:34: error: 'memcpy' was not declared in this scope
> avi_file.cxx: In function 'aIndex endian(const aIndex&)':
> avi_file.cxx:77: error: 'memcpy' was not declared in this scope
> avi_file.cxx: In constructor 'AVIChunk::AVIChunk(const std::string&, unsigned 
> int, void*)':
> avi_file.cxx:105: error: 'memcpy' was not declared in this scope
> avi_file.cxx: In member function 'void AVIChunk::write_hdr(FILE*)':
> avi_file.cxx:154: error: 'strncpy' was not declared in this scope
> avi_file.cxx: In constructor 'AVIList::AVIList(const std::string&, const 
> std::string&, unsigned int, void*)':
> avi_file.cxx:198: error: 'memcpy' was not declared in this scope
> avi_file.cxx: In member function 'void AVIList::write_hdr(FILE*)':
> avi_file.cxx:250: error: 'strncpy' was not declared in this scope
> avi_file.cxx: In destructor 'hdrlList::~hdrlList()':
> avi_file.cxx:372: warning: comparison between signed and unsigned integer 
> expressions
> avi_file.cxx: In member function 'void hdrlList::read(FILE*)':
> avi_file.cxx:396: warning: comparison with string literal results in 
> unspecified behaviour
> avi_file.cxx:396: warning: comparison with string literal results in 
> unspecified behaviour
> avi_file.cxx: In member function 'void hdrlList::write(FILE*)':
> avi_file.cxx:409: warning: comparison between signed and unsigned integer 
> expressions
> avi_file.cxx: In member function 'void hdrlList::info(std::ostream&)':
> avi_file.cxx:417: warning: comparison between signed and unsigned integer 
> expressions
> avi_file.cxx: In member function 'void hdrlList::update_size()':
> avi_file.cxx:428: warning: comparison between signed and unsigned integer 
> expressions
> avi_file.cxx: In member function 'void strhChunk::info(std::ostream&)':
> avi_file.cxx:485: error: 'strncpy' was not declared in this scope
> avi_file.cxx: In member function 'unsigned int idx1Chunk::get_buffer_size()':
> avi_file.cxx:606: warning: no return statement in function returning non-void
> avi_file.cxx: In member function 'void idx1Chunk::write(FILE*)':
> avi_file.cxx:620: warning: comparison between signed and unsigned integer 
> expressions
> avi_file.cxx: In member function 'void idx1Chunk::info(std::ostream&)':
> avi_file.cxx:629: warning: comparison between signed and unsigned integer 
> expressions
> avi_file.cxx:630: error: 'strncpy' was not declared in this scope
> avi_file.cxx: In member function 'void idx1Chunk::update_size()':
> avi_file.cxx:640: warning: comparison between signed and unsigned integer 
> expressions
> avi_file.cxx: In member function 'void idx1Chunk::add_frame(const BMPFile&)':
> avi_file.cxx:646: error: 'memcpy' was not declared in this scope
> avi_file.cxx: In destructor 'moviList::~moviList()':
> avi_file.cxx:778: warning: comparison between signed and unsigned integer 
> expressions
> avi_file.cxx: In member function 'void moviList::write(FILE*)':
> avi_file.cxx:803: warning: comparison between signed and unsigned integer 
> expressions
> avi_file.cxx: In member function 'void moviList::info(std::ostream&)':
> avi_file.cxx:809: warning: comparison between signed and unsigned integer 
> expressions
> avi_file.cxx: In member function 'void moviList::update_size()':
> avi_file.cxx:817: warning: comparison between signed and unsigned integer 
> expressions
> avi_file.cxx: In member function 'AVIChunk* moviList::get_chunk(int)':
> avi_file.cxx:829: warning: comparison between signed and unsigned integer 
> expressions
> avi_file.cxx: In constructor 'riffList::riffList(const BMPFile&, unsigned 
> int)':
> avi_file.cxx:862: error: 'memset' was not declared in this scope
> avi_file.cxx:873: error: 'memcpy' was not declared in this scope
> bmp_file.cxx: In constructor 'BMPFile::BMPFile(const BMPFile::_bmp_info&, 
> unsigned char*)':
> bmp_file.cxx:37: error: 'memcpy' was not declared in this scope
> bmp_file.cxx: In member function 'void BMPFile::write(FILE*)':
> bmp_file.cxx:130: error: 'memset' was not declared in this scope
> make[1]: *** [bmp2avi.lbin] Error 1
> make[1]: Leaving directory 
> `/build/tbm/bitpim-1.0.2.dfsg.1/src/native/av/bmp2avi'

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to