Package: nlkt Version: 0.3.2.0-2 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 nlkt_0.3.2.0-2 on em64t by sbuild/amd64 0.53 ... > g++ -c -pipe -DNLKT_USE_SYSTEM_PATH -O2 -DQT_NO_DEBUG_OUTPUT -Wall -W > -D_REENTRANT -DNDEBUG -D__LINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB > -DQT_SHARED -O2 -I/usr/share/qt4/mkspecs/linux-g++ -I. > -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui > -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qwt-qt4 -Irelease > -I. -o release/time.o yf/time/time.cpp > yf/time/time.cpp: In function 'void yf::write_milli_time(yf::precise_time_t, > yf::precise_time_t, std::ostream&)': > yf/time/time.cpp:76: error: 'sprintf' was not declared in this scope > yf/time/time.cpp: In function 'void yf::write_micro_time(yf::precise_time_t, > yf::precise_time_t, std::ostream&)': > yf/time/time.cpp:83: error: 'sprintf' was not declared in this scope > make[2]: *** [release/time.o] Error 1 > make[2]: Leaving directory `/build/tbm/nlkt-0.3.2.0/src' --- src/yf/time/time.cpp~ 2008-11-11 19:54:40.000000000 +0000 +++ src/yf/time/time.cpp 2008-11-11 19:54:46.000000000 +0000 @@ -15,6 +15,7 @@ * Free Software Foundation, Inc., * * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * ***************************************************************************/ +#include <cstdio> #include <cmath> #ifdef YF_ENABLE_CHECKS -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]