Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74903 - nullmailer no longer builds, using gcc 3.4.3
Summary: nullmailer no longer builds, using gcc 3.4.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-18 19:56 UTC by Joe Wells
Modified: 2005-06-01 21:59 UTC (History)
1 user (show)

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


Attachments
08list.diff patch to make nullmailer compile (08list.diff,443 bytes, patch)
2005-01-24 15:20 UTC, Florian Loitsch
Details | Diff
nullmailer-1.00_rc7-r6.ebuild for the lazy ones. (nullmailer-1.00_rc7-r6.ebuild,4.36 KB, text/plain)
2005-01-24 15:21 UTC, Florian Loitsch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Wells 2004-12-18 19:56:53 UTC
I can't emerge the new nullmailer-1.00_rc7-r5 ebuild.  It fails with
complaints about C++ errors.  (See "Actual Results" below.)

Furthermore, I can't even re-emerge the old nullmailer-1.00_rc7-r4
ebuild that I already have installed.  It fails with zillions of C++
errors.

This seems to be a result of upgrading GCC since the last time I
successfully installed nullmailer.

Reproducible: Always
Steps to Reproduce:
1.emerge nullmailer
2.
3.

Actual Results:  
The ebuild fails.  Here is the portion of the ebuild output that shows
the errors:

--------------------------------------------------------------------------------------------------------------------
make[3]: Entering directory
`/extra/var/tmp/portage/nullmailer-1.00_rc7-r5/work/nullmailer-1.00RC7/lib'
c++ -DHAVE_CONFIG_H -I. -I. -I..     -march=pentium4 -O2 -pipe -fno-rtti
-fno-exceptions -W -Wall -c address.cc
c++ -DHAVE_CONFIG_H -I. -I. -I..     -march=pentium4 -O2 -pipe -fno-rtti
-fno-exceptions -W -Wall -c canonicalize.cc
In file included from address.cc:26:
list.h:21: error: using typedef-name `list<T>::iter' after `class'
list.h:22: error: using typedef-name `list<T>::const_iter' after `class'
c++ -DHAVE_CONFIG_H -I. -I. -I..     -march=pentium4 -O2 -pipe -fno-rtti
-fno-exceptions -W -Wall -c config_read.cc
make[3]: *** [address.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from configio.h:5,
                 from config_read.cc:24:
list.h:21: error: using typedef-name `list<T>::iter' after `class'
list.h:22: error: using typedef-name `list<T>::const_iter' after `class'
make[3]: *** [config_read.o] Error 1
--------------------------------------------------------------------------------------------------------------------

Expected Results:  
It should have successfully installed the new nullmailer ebuild.

Gentoo Base System version 1.6.8
Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.8.1-co-0.6.2-pre1 i686)
=================================================================
System uname: 2.6.8.1-co-0.6.2-pre1 i686 Intel(R) Pentium(R) M processor 1100MHz
Python:              dev-lang/python-2.2.3-r1,dev-lang/python-2.3.4 [2.3.4 (#1,
Jul 19 2004, 05:48:17)]
dev-lang/python:     2.2.3-r1, 2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.9.3, 1.8.5-r2, 1.6.3, 1.4_p6, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks maketest moo sandbox sfperms"
GENTOO_MIRRORS="ftp://mir.zyrianes.net/gentoo/
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
http://ftp.easynet.nl/mirror/gentoo/ http://mir.zyrianes.net/gentoo/
ftp://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.blueyonder.co.uk
ftp://gentoo.blueyonder.co.uk/mirrors/gentoo
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
ftp://mirrors1.netvisao.pt/gentoo/ http://ftp.heanet.ie/pub/gentoo/
http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://ftp.linux.ee/pub/gentoo/distfiles/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/extra/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X bitmap-fonts bonobo crypt emacs emacs-w3 escreen esd etwin f77 fam
fortran fpx gcj gd-external gif gtk gtk2 guile imagemagick imlib java jbig jpeg
latex lcms leim libg++ libwww lua lzw-tiff mad mailwrapper md5sum mmx motif
mozdevelop mozilla mozxmlterm mpeg ncurses nodrm nptl objc oggvorbis opengl pam
perl php png python readline samba sdl slang spell ssl tcltk tcpd tetex tiff
truetype unicode wmf x86 xinerama xml2 xmms xprint xv zlib"
Comment 1 Florian Loitsch 2005-01-24 15:20:30 UTC
Created attachment 49421 [details, diff]
08list.diff patch to make nullmailer compile

probably not the cleanest way, but it works. If anybody knows how to reuse
the typedefs I would like to know.
Comment 2 Florian Loitsch 2005-01-24 15:21:32 UTC
Created attachment 49422 [details]
nullmailer-1.00_rc7-r6.ebuild for the lazy ones.

i emerged nullmailer with this ebuild.
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2005-05-31 14:59:16 UTC
Have you sent this patch upstream?
Comment 4 Florian Loitsch 2005-06-01 01:17:53 UTC
No. I didn't. Could be, that they arleady fixed it on their own too... 
Comment 5 Andrej Kacian (RETIRED) gentoo-dev 2005-06-01 05:02:17 UTC
Well, there's nullmailer-1.00 out already, but we only have 1.00_rc7 in portage.
Robin should probably bump the package.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-06-01 10:42:30 UTC
I've been working on trying to have 1.0 actual compile under gcc3.4, but I 
haven't had much luck yet - it looks like it will need a lot of patching (I've 
started on this, but haven't got very far).
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-06-01 21:59:05 UTC
Fixed and now present in CVS.