After building for a while, the build eventually fails with a message stating that bad options were supplied to ./configure. This may be related to FEATURES="maketest". I will re-test in a moment. Reproducible: Always Steps to Reproduce: emerge -v courier-imap Actual Results: ... make[2]: Leaving directory `/var/tmp/portage/courier-imap-3.0.8/work/courier-imap-3.0.8/tcpd' make[1]: Leaving directory `/var/tmp/portage/courier-imap-3.0.8/work/courier-imap-3.0.8/tcpd' Making check in imap make[1]: Entering directory `/var/tmp/portage/courier-imap-3.0.8/work/courier-imap-3.0.8/imap' Error: --with-trashquota or the --enable-workarounds-for-imap-client-bugs option was specified to the configure script. As INSTALL told you, make check fails if these options are used, and I wasn't kidding when I wrote it. Reconfigure and rebuild without these options, then rerun make and make check. If make check passes, reconfigure again with your original options, and proceed with installing this server. Have fun! make[1]: *** [check-am] Error 1 make[1]: Leaving directory `/var/tmp/portage/courier-imap-3.0.8/work/courier-imap-3.0.8/imap' make: *** [check-recursive] Error 1 piste portage # Expected Results: It should have built and installed, leaving a few ._cfg files for me to clean up. piste courier-imap # emerge info Portage 2.0.51-r2 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.26-gentoo-r9 i686) ================================================================= System uname: 2.4.26-gentoo-r9 i686 AMD Duron(tm) Processor Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc distlocks maketest sandbox severe strict userpriv" GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.noved.org/ http://mirror.tucdemonic.org/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr cjk crypt cups curl dga directfb divx4linux doc dvd dvdread emacs encode esd ethereal f77 fastcgi fbcon foomaticdb gb gd gdbm gif gnome gpm gtk gtk2 gtkhtml guile imap imlib innodb java jpeg kde libg++ libwww mad maildir mikmod mmx motif mozilla mpeg mysql ncurses network nls odbc ofx oggvorbis opengl oss pam pda pdflib perl png python qt quicktime quotes readline ruby samba sasl sdl slang slp spell sse ssl svga tcltk tcpd tiff truetype unicode usb wmf x86 xml xml2 xmms xv zeo zlib" piste courier-imap #
I have now verified that this is a FEATURES="maketest" problem. I was able to emerge the package after maketest was removed from FEATURES, so I have downgraded the severity to normal.
same thing here. gcc -I.. -I./.. -Wall -O2 -march=athlon-xp -pipe -o imapd fetch.o fetchinfo.o imapd.o imapscanclient.o mailboxlist.o msgbodystructure.o msgenvelope.o mysignal.o outbox.o thread.o search.o searchinfo.o storeinfo.o libimapd.a ../rfc2045/librfc2045.a ../maildir/libmaildir.a ../authlib/libauthmod.a ../authlib/libauth.a ../rfc822/librfc822.a ../liblock/liblock.a ../numlib/libnumlib.a ../unicode/libunicode.a `cat ../maildir/maildir.libdeps` ../gdbmobj/libgdbmobj.a -lgdbm gcc -I.. -I./.. -Wall -O2 -march=athlon-xp -pipe -o pop3login pop3login.o pop3dcapa.o ../authlib/libauthmod.a ../authlib/libauth.a ../random128/librandom128.a ../md5/libmd5.a ../rfc2045/librfc2045.a ../rfc822/librfc822.a ../unicode/libunicode.a ../tcpd/libspipe.a gcc -I.. -I./.. -Wall -O2 -march=athlon-xp -pipe -o pop3d pop3dserver.o pop3dcapa.o ../authlib/libauthmod.a ../authlib/libauth.a ../maildir/libmaildir.a ../rfc822/librfc822.a ../numlib/libnumlib.a Error: --with-trashquota or the --enable-workarounds-for-imap-client-bugs option was specified to the configure script. As INSTALL told you, make check fails if these options are used, and I wasn't kidding when I wrote it. Reconfigure and rebuild without these options, then rerun make and make check. If make check passes, reconfigure again with your original options, and proceed with installing this server. Have fun! make[1]: *** [check-am] Error 1 make[1]: Leaving directory `/var/tmp/portage/courier-imap-3.0.8/work/courier-imap-3.0.8/imap' make: *** [check-recursive] Error 1 !!! ERROR: net-mail/courier-imap-3.0.8 failed. !!! Function src_test, Line 520, Exitcode 0 !!! Make check failed. See above for details. !!! If you need support, post the topmost build error, NOT this status message. [ root@homesrvlinux01 ~ ] # emerge info Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.4.16 distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc distlocks maketest sandbox" GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="apache2 berkdb bitmap-fonts cdr crypt cups f77 foomaticdb gd gdbm gif imlib jpeg libg++ libwww ncurses nls nptl oggvorbis openssh pam perl php png ppds python readline slang ssl tcpd x86 xml2 zlib"
*** Bug 71008 has been marked as a duplicate of this bug. ***
fixed in cvs.