Package: pcmanx-gtk2 Version: 0.3.8-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 pcmanx-gtk2_0.3.8-2 on em64t by sbuild/amd64 0.53 ... > x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../src/core -I../src/view > -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT > -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 > -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb > -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/freetype2 > -I/usr/include/freetype2 -DLOCALEDIR=\"/usr/share/locale\" > -DDATADIR=\"/usr/share\" -Wall -g -O2 -fno-exceptions -fno-rtti > -fvisibility=hidden -fvisibility-inlines-hidden -MT msgdata.o -MD -MP -MF > .deps/msgdata.Tpo -c -o msgdata.o `test -f 'nancy_bot/msgdata.cpp' || echo > './'`nancy_bot/msgdata.cpp > nancy_bot/msgdata.cpp: In member function 'int MsgData::errorHandler(int, > const std::string&)': > nancy_bot/msgdata.cpp:31: error: 'perror' was not declared in this scope > nancy_bot/msgdata.cpp: In member function 'int MsgData::errorHandler(int, > const std::string&, const std::string&)': > nancy_bot/msgdata.cpp:40: error: 'stderr' was not declared in this scope > nancy_bot/msgdata.cpp:40: error: 'fprintf' was not declared in this scope > nancy_bot/msgdata.cpp: In member function 'int MsgData::writeToMsgData()': > nancy_bot/msgdata.cpp:121: error: 'fopen' was not declared in this scope > nancy_bot/msgdata.cpp:135: error: 'fputs' was not declared in this scope > nancy_bot/msgdata.cpp:136: error: 'fclose' was not declared in this scope > nancy_bot/msgdata.cpp: In member function 'bool MsgData::writeUnknowLog()': > nancy_bot/msgdata.cpp:143: error: 'fopen' was not declared in this scope > nancy_bot/msgdata.cpp:156: error: 'fputs' was not declared in this scope > nancy_bot/msgdata.cpp:157: error: 'fclose' was not declared in this scope > nancy_bot/msgdata.cpp: In member function 'int > MsgData::initSpecialMsg(std::string)': > nancy_bot/msgdata.cpp:189: error: 'fopen' was not declared in this scope > nancy_bot/msgdata.cpp:206: error: 'stderr' was not declared in this scope > nancy_bot/msgdata.cpp:206: error: 'fprintf' was not declared in this scope > nancy_bot/msgdata.cpp:212: error: 'fgets' was not declared in this scope > nancy_bot/msgdata.cpp:241: error: 'fclose' was not declared in this scope > nancy_bot/msgdata.cpp: In member function 'int > MsgData::initUserDefinedUsages()': > nancy_bot/msgdata.cpp:249: error: 'fopen' was not declared in this scope > nancy_bot/msgdata.cpp:260: error: 'fgets' was not declared in this scope > nancy_bot/msgdata.cpp:291: error: 'fclose' was not declared in this scope > nancy_bot/msgdata.cpp: In member function 'int MsgData::initCommonMsg()': > nancy_bot/msgdata.cpp:300: error: 'fopen' was not declared in this scope > nancy_bot/msgdata.cpp:312: error: 'fgets' was not declared in this scope > nancy_bot/msgdata.cpp:348: error: 'fclose' was not declared in this scope > nancy_bot/msgdata.cpp: In member function 'int MsgData::initUnknowMsgToAsk()': > nancy_bot/msgdata.cpp:355: error: 'fopen' was not declared in this scope > nancy_bot/msgdata.cpp:364: error: 'fgets' was not declared in this scope > nancy_bot/msgdata.cpp:380: error: 'fclose' was not declared in this scope > make[4]: *** [msgdata.o] Error 1 > make[4]: Leaving directory `/build/tbm/pcmanx-gtk2-0.3.8/src' --- src/nancy_bot/msgdata.cpp~ 2008-11-07 19:27:35.000000000 +0000 +++ src/nancy_bot/msgdata.cpp 2008-11-07 19:27:41.000000000 +0000 @@ -18,6 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include <cstdio> #include <cstdlib> #include <unistd.h> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

