Package: spamprobe Version: 1.4b-1 Severity: important Tags: patch Your package fails to build with G++ 4.1. I'm filing this bug as important for now, but when 4.1 will be the default compiler in unstable (probably in a few weeks) I'll upgrade this to serious.
A patch is below. > Automatic build of spamprobe_1.4b-1 on bigsur by sbuild/mips 1.94 ... > if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" > -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"spamprobe\" > -DVERSION=\"1.4b\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 > -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 > -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 > -DHAVE_DIRENT_H=1 -DHAVE_REGEX_H=1 -DUSE_8BIT=1 -DUSE_CDB=1 -DUSE_DB=1 > -DUSE_MMAP=1 -DHAVE_UNGIF=1 -I. -I. -I../../src/includes -DNDEBUG -g -O2 > -MT Command_import.o -MD -MP -MF ".deps/Command_import.Tpo" -c -o > Command_import.o Command_import.cc; \ > then mv -f ".deps/Command_import.Tpo" ".deps/Command_import.Po"; else > rm -f ".deps/Command_import.Tpo"; exit 1; fi > ../../src/includes/Buffer.h: In constructor 'Buffer<T>::Buffer(int)': > ../../src/includes/Buffer.h:48: error: there are no arguments to 'assert' > that depend on a template parameter, so a declaration of 'assert' must be > available > ../../src/includes/Buffer.h:48: error: (if you use '-fpermissive', G++ will > accept your code, but allowing the use of an undeclared name is deprecated) > ../../src/includes/Buffer.h: In member function 'T& > Buffer<T>::operator[](int) const': > ../../src/includes/Buffer.h:53: error: there are no arguments to 'assert' > that depend on a template parameter, so a declaration of 'assert' must be > available > ../../src/includes/Buffer.h:54: error: there are no arguments to 'assert' > that depend on a template parameter, so a declaration of 'assert' must be > available > ../../src/includes/Buffer.h: In member function 'void Buffer<T>::append(const > T&)': > ../../src/includes/Buffer.h:70: error: there are no arguments to 'assert' > that depend on a template parameter, so a declaration of 'assert' must be > available > ../../src/includes/Buffer.h:74: error: there are no arguments to 'assert' > that depend on a template parameter, so a declaration of 'assert' must be > available > ../../src/includes/Buffer.h: In member function 'void Buffer<T>::reset(int)': > ../../src/includes/Buffer.h:90: error: there are no arguments to 'assert' > that depend on a template parameter, so a declaration of 'assert' must be > available > ../../src/includes/Buffer.h: In member function 'void Buffer<T>::resize(int)': > ../../src/includes/Buffer.h:99: error: there are no arguments to 'assert' > that depend on a template parameter, so a declaration of 'assert' must be > available > ../../src/includes/Buffer.h:108: error: there are no arguments to 'assert' > that depend on a template parameter, so a declaration of 'assert' must be > available > make[3]: *** [Command_import.o] Error 1 --- ./src/includes/Buffer.h~ 2006-03-17 15:10:21.000000000 +0000 +++ ./src/includes/Buffer.h 2006-03-17 15:10:30.000000000 +0000 @@ -32,6 +32,7 @@ #define _Buffer_h #include "Array.h" +#include <cassert> // // Similar to Array but handles variable length. -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]