if i686-pc-linux-gnu-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_DB=1 -DUSE_MMAP=1 -I. -I. -I../../src/includes -DNDEBUG -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -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[2]: *** [Command_import.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/spamprobe-1.4b/work/spamprobe-1.4b/src/spamprobe' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/spamprobe-1.4b/work/spamprobe-1.4b/src' make: *** [all-recursive] Error 1 !!! ERROR: mail-filter/spamprobe-1.4b failed. Call stack: ebuild.sh, line 1933: Called dyn_compile ebuild.sh, line 971: Called src_compile !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant.
Sorry, I don't have gcc4 installed anywhere to test, perhaps someone else from net-mail might want to help? Also, submitting this bug directly upstream might help.
Created attachment 81889 [details, diff] gcc-4.1 patch Very very simple fix :) Also, please change the DEPEND to: RDEPEND="berkdb? ( >=sys-libs/db-3.2 )" DEPEND="${RDEPEND} sys-devel/autoconf" I really doubt you need autoconf as an RDEP as well :) I'll make both changes if you want.
simple stuff always work! :) well done, please commit and close this bug
Fixed, thanks.