Package: poco Version: 1.3.3p1-1 User: [EMAIL PROTECTED] Usertags: ftbfs-gcc-4.4 Tags: patch
Your package fails to build with the upcoming GCC 4.4. Version 4.4 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. GCC 4.4 cleaned up some more C++ headers. You always have to #include headers directly and cannot rely for things to be included indirectly. You can reproduce this problem with gcc-snapshot from unstable. > Automatic build of poco_1.3.3p1-1 on em64t by sbuild/amd64 0.53 ... > ** Compiling src/Environment.cpp (debug, shared) > g++ -Iinclude -I/build/tbm/poco-1.3.3p1/CppUnit/include > -I/build/tbm/poco-1.3.3p1/Foundation/include > -I/build/tbm/poco-1.3.3p1/XML/include -I/build/tbm/poco-1.3.3p1/Util/include > -I/build/tbm/poco-1.3.3p1/Net/include > -I/build/tbm/poco-1.3.3p1/NetSSL_OpenSSL/include > -I/build/tbm/poco-1.3.3p1/Data/include > -I/build/tbm/poco-1.3.3p1/Data/SQLite/include > -I/build/tbm/poco-1.3.3p1/Data/ODBC/include > -I/build/tbm/poco-1.3.3p1/Data/MySQL/include > -I/build/tbm/poco-1.3.3p1/Crypto/include > -I/build/tbm/poco-1.3.3p1/Zip/include -Wall -Wno-sign-compare > -DPOCO_BUILD_HOST=em64t -D_XOPEN_SOURCE=500 -D_REENTRANT -D_THREAD_SAFE > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -g -D_DEBUG -fPIC -c > src/Environment.cpp -o > /build/tbm/poco-1.3.3p1/Foundation/obj/Linux/x86_64/debug_shared/Environment.o > src/Environment.cpp: In static member function 'static std::string > Poco::Environment::nodeId()': > src/Environment.cpp:111: error: 'sprintf' is not a member of 'std' > make[2]: *** > [/build/tbm/poco-1.3.3p1/Foundation/obj/Linux/x86_64/debug_shared/Environment.o] > Error 1 > make[2]: Leaving directory `/build/tbm/poco-1.3.3p1/Foundation' > make[1]: *** [Foundation-libexec] Error 2 --- Foundation/src/Environment.cpp~ 2008-11-13 20:15:05.000000000 +0000 +++ Foundation/src/Environment.cpp 2008-11-13 20:15:11.000000000 +0000 @@ -35,6 +35,7 @@ #include "Poco/Environment.h" +#include <cstdio> #include <cstdlib> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

