First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 125347
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Patrizio Bassi <hetfield666@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
spamprobe-1.4b-gcc41.patch gcc-4.1 patch patch Mark Loeser 2006-03-10 17:52 0000 383 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 125347 depends on: Show dependency tree
Bug 125347 blocks: 117482
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-07 04:27 0000
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 From Andrej Kacian (RETIRED) 2006-03-10 06:03:50 0000 -------
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 From Mark Loeser 2006-03-10 17:52:03 0000 -------
Created an attachment (id=81889) [details]
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 From Patrizio Bassi 2006-03-11 01:24:43 0000 -------
simple stuff always work!

:)
well done, please commit and close this bug

------- Comment #4 From Mark Loeser 2006-03-15 22:01:29 0000 -------
Fixed, thanks.

First Last Prev Next    No search results available      Search page      Enter new bug