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"
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.
Created attachment 49422 [details] nullmailer-1.00_rc7-r6.ebuild for the lazy ones. i emerged nullmailer with this ebuild.
Have you sent this patch upstream?
No. I didn't. Could be, that they arleady fixed it on their own too...
Well, there's nullmailer-1.00 out already, but we only have 1.00_rc7 in portage. Robin should probably bump the package.
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).
Fixed and now present in CVS.