Package: slim Version: 1.3.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 slim_1.3.0-2 on em64t by sbuild/amd64 0.53 ... > /usr/bin/g++ -Wall -I. -I/usr/X11R6/include -I/usr/include/freetype2 > -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include > -DPACKAGE=\"slim\" -DVERSION=\"1.3.0\" -DPKGDATADIR=\"/usr/share/slim\" > -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -DUSE_PAM -c switchuser.cpp -o > switchuser.o > switchuser.cpp: In member function 'void SwitchUser::SetClientAuth(const > char*)': > switchuser.cpp:59: error: 'remove' was not declared in this scope > make[1]: *** [switchuser.o] Error 1 > make[1]: Leaving directory `/build/tbm/slim-1.3.0' > make: *** [build-stamp] Error 2 --- switchuser.h~ 2008-11-11 19:40:18.000000000 +0000 +++ switchuser.h 2008-11-11 19:40:28.000000000 +0000 @@ -18,6 +18,7 @@ #include <pwd.h> #include <grp.h> #include <paths.h> +#include <cstdio> #include <iostream> #include "const.h" #include "cfg.h" -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]