Package: incron Version: 0.5.7-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 incron_0.5.7-1 on em64t by sbuild/amd64 0.53 ... > make[1]: Entering directory `/build/tbm/incron-0.5.7' > g++ -c -O2 -g0 -Wall -pipe -o icd-main.o icd-main.cpp > icd-main.cpp: In function 'int main(int, char**)': > icd-main.cpp:301: error: 'stderr' was not declared in this scope > icd-main.cpp:301: error: 'fprintf' was not declared in this scope > icd-main.cpp:308: error: 'stderr' was not declared in this scope > icd-main.cpp:308: error: 'fprintf' was not declared in this scope > icd-main.cpp:313: error: 'stderr' was not declared in this scope > icd-main.cpp:313: error: 'fprintf' was not declared in this scope > icd-main.cpp:318: error: 'stderr' was not declared in this scope > icd-main.cpp:318: error: 'fprintf' was not declared in this scope > icd-main.cpp:336: error: 'stderr' was not declared in this scope > icd-main.cpp:336: error: 'fprintf' was not declared in this scope > icd-main.cpp:368: error: 'stderr' was not declared in this scope > icd-main.cpp:368: error: 'fprintf' was not declared in this scope > icd-main.cpp:379: error: 'stderr' was not declared in this scope > icd-main.cpp:379: error: 'fprintf' was not declared in this scope > icd-main.cpp:392: error: 'stderr' was not declared in this scope > icd-main.cpp:392: error: 'fprintf' was not declared in this scope > icd-main.cpp:399: error: 'stderr' was not declared in this scope > icd-main.cpp:399: error: 'fprintf' was not declared in this scope > make[1]: *** [icd-main.o] Error 1 > make[1]: Leaving directory `/build/tbm/incron-0.5.7' --- icd-main.cpp~ 2008-11-08 07:44:14.000000000 +0000 +++ icd-main.cpp 2008-11-08 07:44:24.000000000 +0000 @@ -13,6 +13,7 @@ * */ +#include <cstdio> #include <map> #include <signal.h> #include <wait.h> --- inotify-cxx.cpp~ 2008-11-08 07:45:47.000000000 +0000 +++ inotify-cxx.cpp 2008-11-08 07:45:56.000000000 +0000 @@ -20,6 +20,7 @@ */ +#include <cstdio> #include <errno.h> #include <unistd.h> #include <fcntl.h> --- usertable.cpp~ 2008-11-08 07:47:10.000000000 +0000 +++ usertable.cpp 2008-11-08 07:47:21.000000000 +0000 @@ -17,6 +17,7 @@ */ +#include <cstdio> #include <pwd.h> #include <syslog.h> #include <errno.h> --- appargs.cpp~ 2008-11-08 07:49:23.000000000 +0000 +++ appargs.cpp 2008-11-08 07:49:29.000000000 +0000 @@ -19,6 +19,7 @@ * */ +#include <cstdio> #include <string.h> #include "strtok.h" -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]