Package: wflogs Version: 0.9.8-5.4 Usertags: ftbfs-gcc-4.3 Tags: patch Your package fails to build with GCC 4.3. Version 4.3 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. In GCC 4.3, the C++ header dependencies have been cleaned up. The advantage of this is that programs will compile faster. The downside is that you actually need to directly #include everything you use (but you really should do this anyway, otherwise your program won't work with any compiler other than GCC). Some background of this can be found at http://gcc.gnu.org/PR28080
You can reproduce this problem with gcc-snapshot (20070326-1 or higher) from unstable. (Currently not available for i386, but for amd64, powerpc and ia64. I hope to have i386 binaries in the archive in ~3 weeks.) > Automatic build of wflogs_0.9.8-5.4 on coconut0 by sbuild/ia64 0.49 ... > ia64-linux-gnu-g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I.. > -I../lib -I/usr/include/wallfire -I/usr/include/wallfire/../rvlog -O2 > -Wall -c output_sort.cc > ia64-linux-gnu-g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I.. > -I../lib -I/usr/include/wallfire -I/usr/include/wallfire/../rvlog -O2 > -Wall -c wflogs_filter.cc > ia64-linux-gnu-g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I.. > -I../lib -I/usr/include/wallfire -I/usr/include/wallfire/../rvlog -O2 > -Wall -c wflogs_obfuscator.cc > wflogs_obfuscator.cc: In constructor 'wflogs_obfuscator::wflogs_obfuscator()': > wflogs_obfuscator.cc:41: error: 'srandom' was not declared in this scope > wflogs_obfuscator.cc:42: error: 'random' was not declared in this scope > wflogs_obfuscator.cc: In member function 'bool wflogs_obfuscator::set(const > std::string&)': > wflogs_obfuscator.cc:91: warning: comparison is always true due to limited > range of data type > wflogs_obfuscator.cc: In member function 'unsigned int > wflogs_obfuscator::randomip(const wf_ipaddr&)': > wflogs_obfuscator.cc:121: error: 'random' was not declared in this scope > make[3]: *** [wflogs_obfuscator.o] Error 1 --- config/wfconfig.h~ 2007-04-04 14:11:09.000000000 +0000 +++ config/wfconfig.h 2007-04-04 14:11:17.000000000 +0000 @@ -22,6 +22,7 @@ #ifndef _WF_CONFIG_H #define _WF_CONFIG_H +#include <algorithm> #include <iostream> #include <string> #include <map> --- logs/wflogs_obfuscator.cc~ 2007-04-04 14:08:53.000000000 +0000 +++ logs/wflogs_obfuscator.cc 2007-04-04 14:08:59.000000000 +0000 @@ -25,6 +25,7 @@ #include <config.h> #endif +#include <cstdlib> #include <sstream> #include <stdio.h> --- input_modules/module.cc~ 2007-04-04 14:10:02.000000000 +0000 +++ input_modules/module.cc 2007-04-04 14:10:09.000000000 +0000 @@ -26,6 +26,7 @@ #endif #include <stdio.h> +#include <stdlib.h> #include <unistd.h> /* for getcwd() */ #ifdef USE_DYNAMIC --- output_modules/module.cc~ 2007-04-04 14:10:55.000000000 +0000 +++ output_modules/module.cc 2007-04-04 14:11:02.000000000 +0000 @@ -26,6 +26,7 @@ #endif #include <stdio.h> +#include <stdlib.h> #include <unistd.h> /* for getcwd() */ #ifdef USE_DYNAMIC -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]