Package: dansguardian Version: 2.9.9.7-2.1 User: debian-...@lists.debian.org Usertags: ftbfs-gcc-4.4 Tags: patch
Your package fails to build with GCC 4.4, which has 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 or gcc-4.4 from experimental. > Automatic build of dansguardian_2.9.9.7-2.1 on em64t by sbuild/amd64 0.53 ... > g++ -DHAVE_CONFIG_H -I. -I.. > -D__CONFFILE='"/etc/dansguardian/dansguardian.conf"' > -D__LOGLOCATION='"/var/log/dansguardian/"' -D__PIDDIR='"/var/run"' > -D__PROXYUSER='"dansguardian"' -D__PROXYGROUP='"dansguardian"' > -D__CONFDIR='"/etc/dansguardian"' -Wall -g -O2 -g -O2 -MT > dansguardian-clamav.o -MD -MP -MF .deps/dansguardian-clamav.Tpo -c -o > dansguardian-clamav.o `test -f 'contentscanners/clamav.cpp' || echo > './'`contentscanners/clamav.cpp > contentscanners/clamav.cpp: In member function 'virtual int > clamavinstance::scanMemory(HTTPHeader*, HTTPHeader*, const char*, int, const > char*, const char*, unsigned int)': > contentscanners/clamav.cpp:137: error: 'tmpnam' was not declared in this scope > make[3]: *** [dansguardian-clamav.o] Error 1 --- src/contentscanners/clamav.cpp~ 2009-04-29 16:32:58.000000000 +0000 +++ src/contentscanners/clamav.cpp 2009-04-29 16:33:11.000000000 +0000 @@ -33,6 +33,7 @@ #include <unistd.h> #include <clamav.h> #include <fcntl.h> +#include <stdio.h> // GLOBALS --- src/contentscanners/icapscan.cpp~ 2009-04-29 16:33:36.000000000 +0000 +++ src/contentscanners/icapscan.cpp 2009-04-29 16:33:45.000000000 +0000 @@ -36,6 +36,7 @@ #include <fcntl.h> #include <unistd.h> #include <netdb.h> // for gethostby +#include <stdio.h> // DEFINES --- src/contentscanners/commandlinescan.cpp~ 2009-04-29 16:33:54.000000000 +0000 +++ src/contentscanners/commandlinescan.cpp 2009-04-29 16:34:00.000000000 +0000 @@ -34,6 +34,7 @@ #include <sys/stat.h> #include <sys/wait.h> #include <unistd.h> +#include <stdio.h> #include <list> --- src/downloadmanagers/fancy.cpp~ 2009-04-29 16:34:16.000000000 +0000 +++ src/downloadmanagers/fancy.cpp 2009-04-29 16:34:22.000000000 +0000 @@ -32,6 +32,7 @@ #include <unistd.h> #include <iostream> #include <math.h> +#include <stdio.h> // GLOBALS -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org