Package: belpic
Version: 2.6.0-2
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 belpic_2.6.0-2 on em64t by sbuild/amd64 0.53
...
> g++ -o src/beidcommon/TLVBuffer.os -c -Wall -g -O2 -Dlinux -pipe 
> -DQT_THREAD_SUPPORT -D_REENTRANT -g -O2 -DPREFIX='"/usr"' -DCONFDIR='"/etc/"' 
> -fPIC -O -DNDEBUG -DNO_DEBUG -I/usr/share/qt3/include -I/usr/include/PCSC 
> -Isrc/beidcommon -Isrc/eidlib src/beidcommon/TLVBuffer.cpp
> src/beidcommon/TLVBuffer.cpp: In member function 'void 
> eidcommon::CTLVBuffer::FillDateData(unsigned char, char*)':
> src/beidcommon/TLVBuffer.cpp:90: error: 'memset' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp:92: error: 'memcpy' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp:121: error: 'memcpy' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp: In member function 'void 
> eidcommon::CTLVBuffer::FillASCIIData(unsigned char, char*)':
> src/beidcommon/TLVBuffer.cpp:135: error: 'memcpy' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp: In member function 'void 
> eidcommon::CTLVBuffer::FillUTF8Data(unsigned char, char*)':
> src/beidcommon/TLVBuffer.cpp:144: error: 'memcpy' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp: In member function 'void 
> eidcommon::CTLVBuffer::FillBinaryStringData(unsigned char, char*)':
> src/beidcommon/TLVBuffer.cpp:154: error: 'strlen' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp:154: error: 'memcpy' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp: In member function 'void 
> eidcommon::CTLVBuffer::FillIntData(unsigned char, int*)':
> src/beidcommon/TLVBuffer.cpp:174: error: 'memset' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp:175: error: 'memcpy' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp: In member function 'void 
> eidcommon::CTLVBuffer::FillLongData(unsigned char, long int*)':
> src/beidcommon/TLVBuffer.cpp:187: error: 'memset' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp:188: error: 'memcpy' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp: In member function 'void 
> eidcommon::CTLVBuffer::FillBinaryData(unsigned char, unsigned char*)':
> src/beidcommon/TLVBuffer.cpp:199: error: 'memcpy' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp: In member function 'void 
> eidcommon::CTLVBuffer::FillBinaryData(unsigned char, unsigned char*, long 
> unsigned int*)':
> src/beidcommon/TLVBuffer.cpp:208: error: 'memcpy' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp: In static member function 'static char* 
> eidcommon::CTLVBuffer::Hexify(unsigned char*, long unsigned int)':
> src/beidcommon/TLVBuffer.cpp:216: error: 'memset' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp: In member function 'void 
> eidcommon::CTLVBuffer::FillMonth(unsigned char*, char*)':
> src/beidcommon/TLVBuffer.cpp:268: error: 'memcmp' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp:274: error: 'memcmp' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp:280: error: 'memcmp' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp:286: error: 'memcmp' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp:292: error: 'memcmp' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp:298: error: 'memcmp' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp:304: error: 'memcmp' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp:310: error: 'memcmp' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp:316: error: 'memcmp' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp:322: error: 'memcmp' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp:328: error: 'memcmp' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp:334: error: 'memcmp' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp: In member function 'bool 
> eidcommon::CTLVBuffer::MakeFileTLV(BEID_Raw*, BEID_Bytes*)':
> src/beidcommon/TLVBuffer.cpp:464: error: 'memset' was not declared in this 
> scope
> src/beidcommon/TLVBuffer.cpp:551: error: 'memcpy' was not declared in this 
> scope
> scons: *** [src/beidcommon/TLVBuffer.os] Error 1
> scons: building terminated because of errors.

-- 
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