Package: recoll Version: 1.10.6-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 recoll_1.10.6-1 on em64t by sbuild/amd64 0.53 ... > g++ -g -O2 -I. -I../aspell -I../bincimapmime -I../common -I../index > -I../internfile -I../rcldb -I../unac -I../utils -I/usr/local/include -g -O2 > -Wall -Wno-unused -I/usr/include -DRECOLL_DATADIR=\"/usr/share/recoll\" > -DLIBDIR=\"/usr/lib\" -DHAVE_CONFIG_H -D_GNU_SOURCE -c ../query/wasatorcl.cpp > ../query/wasatorcl.cpp: In function 'Rcl::SearchData* > wasaQueryToRcl(WasaQuery*)': > ../query/wasatorcl.cpp:111: error: 'stderr' was not declared in this scope > ../query/wasatorcl.cpp:111: error: 'fprintf' was not declared in this scope > make[2]: *** [wasatorcl.o] Error 1 > make[2]: Leaving directory `/build/tbm/recoll-1.10.6/lib' --- index/rclmonrcv.cpp~ 2008-11-11 21:56:37.000000000 +0000 +++ index/rclmonrcv.cpp 2008-11-11 21:56:44.000000000 +0000 @@ -22,6 +22,7 @@ #include <unistd.h> #include <sys/stat.h> #include <errno.h> +#include <cstdio> #include <cstring> #include "debuglog.h" --- index/rclmonprc.cpp~ 2008-11-11 21:56:58.000000000 +0000 +++ index/rclmonprc.cpp 2008-11-11 21:57:06.000000000 +0000 @@ -33,6 +33,7 @@ #include <errno.h> #include <signal.h> #include <cstring> +#include <cstdio> #include <cstdlib> #include "debuglog.h" --- index/csguess.cpp~ 2008-11-11 21:57:53.000000000 +0000 +++ index/csguess.cpp 2008-11-11 22:00:25.000000000 +0000 @@ -190,6 +190,7 @@ #include <errno.h> +#include <cstdlib> #include <string> #include <iostream> --- index/mimetype.cpp~ 2008-11-11 22:00:46.000000000 +0000 +++ index/mimetype.cpp 2008-11-11 22:01:00.000000000 +0000 @@ -147,6 +147,7 @@ #include <stdio.h> #include <sys/stat.h> +#include <cstdlib> #include <iostream> #include "debuglog.h" --- query/wasatorcl.cpp~ 2008-11-11 21:53:45.000000000 +0000 +++ query/wasatorcl.cpp 2008-11-11 21:53:50.000000000 +0000 @@ -17,6 +17,7 @@ * Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include <cstdio> #include <string> #include <list> using std::string; -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]