Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125347 - mail-filter/spamprobe-1.4b fails (gcc4.1)
Summary: mail-filter/spamprobe-1.4b fails (gcc4.1)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-03-07 04:27 UTC by Patrizio Bassi
Modified: 2006-03-15 22:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gcc-4.1 patch (spamprobe-1.4b-gcc41.patch,383 bytes, patch)
2006-03-10 17:52 UTC, Mark Loeser (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2006-03-07 04:27:08 UTC
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 &#8216;Buffer<T>::Buffer(int)&#8217;:
../../src/includes/Buffer.h:48: error: there are no arguments to &#8216;assert&#8217; that depend on a template parameter, so a declaration of &#8216;assert&#8217; must be available
../../src/includes/Buffer.h:48: error: (if you use &#8216;-fpermissive&#8217;, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../src/includes/Buffer.h: In member function &#8216;T& Buffer<T>::operator[](int) const&#8217;:
../../src/includes/Buffer.h:53: error: there are no arguments to &#8216;assert&#8217; that depend on a template parameter, so a declaration of &#8216;assert&#8217; must be available
../../src/includes/Buffer.h:54: error: there are no arguments to &#8216;assert&#8217; that depend on a template parameter, so a declaration of &#8216;assert&#8217; must be available
../../src/includes/Buffer.h: In member function &#8216;void Buffer<T>::append(const T&)&#8217;:
../../src/includes/Buffer.h:70: error: there are no arguments to &#8216;assert&#8217; that depend on a template parameter, so a declaration of &#8216;assert&#8217; must be available
../../src/includes/Buffer.h:74: error: there are no arguments to &#8216;assert&#8217; that depend on a template parameter, so a declaration of &#8216;assert&#8217; must be available
../../src/includes/Buffer.h: In member function &#8216;void Buffer<T>::reset(int)&#8217;:
../../src/includes/Buffer.h:90: error: there are no arguments to &#8216;assert&#8217; that depend on a template parameter, so a declaration of &#8216;assert&#8217; must be available
../../src/includes/Buffer.h: In member function &#8216;void Buffer<T>::resize(int)&#8217;:
../../src/includes/Buffer.h:99: error: there are no arguments to &#8216;assert&#8217; that depend on a template parameter, so a declaration of &#8216;assert&#8217; must be available
../../src/includes/Buffer.h:108: error: there are no arguments to &#8216;assert&#8217; that depend on a template parameter, so a declaration of &#8216;assert&#8217; 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.
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2006-03-10 06:03:50 UTC
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.
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2006-03-10 17:52:03 UTC
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.
Comment 3 Patrizio Bassi 2006-03-11 01:24:43 UTC
simple stuff always work!

:)
well done, please commit and close this bug
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2006-03-15 22:01:29 UTC
Fixed, thanks.