[ebuild U ] net-mail/courier-imap-4.4.1 [4.1.2-r1] USE="berkdb fam gdbm ipv6 nls -debug -gnutls% (-selinux)" 0 kB the below errors always shows up config.status: executing libtool commands echo -lfam >maildir.libdeps make all-am make[3]: Entering directory `/var/tmp/portage/net-mail/courier-imap-4.4.1/work/courier-imap-4.4.1/maildir' /bin/sh ./libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -march=i686 -pipe -Wall -I./.. -I.. -MT autoresponse.lo -MD -MP -MF .deps/autoresponse.Tpo -c -o autoresponse.lo autoresponse.c /bin/sh ./libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -march=i686 -pipe -Wall -I./.. -I.. -MT maildiraclt.lo -MD -MP -MF .deps/maildiraclt.Tpo -c -o maildiraclt.lo maildiraclt.c /var/tmp/portage/net-mail/courier-imap-4.4.1/work/courier-imap-4.4.1/maildir/libtool: line 190: libtool: compile: not configured to build any kind of library: command not found /var/tmp/portage/net-mail/courier-imap-4.4.1/work/courier-imap-4.4.1/maildir/libtool: line 190: libtool: compile: See the documentation for more information.: command not found /var/tmp/portage/net-mail/courier-imap-4.4.1/work/courier-imap-4.4.1/maildir/libtool: line 190: libtool: compile: not configured to build any kind of library: command not found /var/tmp/portage/net-mail/courier-imap-4.4.1/work/courier-imap-4.4.1/maildir/libtool: line 190: libtool: compile: Fatal configuration error.: command not found /var/tmp/portage/net-mail/courier-imap-4.4.1/work/courier-imap-4.4.1/maildir/libtool: line 190: libtool: compile: See the documentation for more information.: command not found make[3]: *** [autoresponse.lo] Error 127 make[3]: *** Waiting for unfinished jobs.... /var/tmp/portage/net-mail/courier-imap-4.4.1/work/courier-imap-4.4.1/maildir/libtool: line 190: libtool: compile: Fatal configuration error.: command not found make[3]: *** [maildiraclt.lo] Error 127 make[3]: Leaving directory `/var/tmp/portage/net-mail/courier-imap-4.4.1/work/courier-imap-4.4.1/maildir' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-mail/courier-imap-4.4.1/work/courier-imap-4.4.1/maildir' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-mail/courier-imap-4.4.1/work/courier-imap-4.4.1' make: *** [all] Error 2 * * ERROR: net-mail/courier-imap-4.4.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2577: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-mail/courier-imap-4.4.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-mail/courier-imap-4.4.1/temp/environment'. * * Messages for package net-mail/courier-imap-4.4.1: * * ERROR: net-mail/courier-imap-4.4.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2577: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-mail/courier-imap-4.4.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-mail/courier-imap-4.4.1/temp/environment'. * Reproducible: Always Steps to Reproduce: always Portage 2.2_rc7 (default-linux/x86/2007.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-debug i686) ================================================================= System uname: Linux-2.6.26-debug-i686-AMD_Athlon-tm-_XP_2100+-with-glibc2.0 Timestamp of tree: Tue, 12 Aug 2008 10:00:02 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 9999 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.16.1-r3, 2.17-r1, 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo distfiles ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="de" LC_ALL="de_DE.UTF-8" LDFLAGS="" LINGUAS="de en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/openrc /home/evermind/svn-checkouts/proaudio/trunk/overlays/proaudio /home/evermind/svn-checkouts/proaudio/trunk/overlays/proaudio-dev /usr/local/overlays/fb-overlay /usr/local/overlays/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 acl acpi alsa amarok berkdb cairo cdr cli cracklib crypt css cups dbus dri dssi dvd dvdr dvdread eds emboss encode evo exif fam fame ffmpeg firefox flac foomaticdb fortran gdbm gif gimpprint gpm gstreamer gtk hal iconv ipv6 isdnlog jack jackmidi jpeg kde kerberos ladspa lash ldap mad midi mikmod mmx mp3 mpeg mudflap musicbrainz ncurses network nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline real reflection scanner sdl session spell spl sse ssl subversion svg tcpd theora tiff truetype unicode usb v4l vorbis win32codecs wmf x86 xine xinerama xml xorg xprint xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nv nouveau" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Seems to be a configure problem. Please attach the config.log to this bug report too.
Created attachment 162752 [details] config.log
Could you also provide: * '/var/tmp/portage/net-mail/courier-imap-4.4.1/temp/build.log' * '/var/tmp/portage/net-mail/courier-imap-4.4.1/temp/environment'
Created attachment 162778 [details] build.log
Created attachment 162780 [details] environment
Created attachment 162793 [details] ltmain-fix.patch $ cat elibtool.log patching file /var/tmp/portage/net-mail/courier-imap-4.4.1/work/courier-imap-4.4.1/maildir/ltmain.sh Hunk #1 FAILED at 3462. 1 out of 1 hunk FAILED -- saving rejects to file /var/tmp/portage/net-mail/courier-imap-4.4.1/work/courier-imap-4.4.1/maildir/ltmain.sh.rej so the patch could not be applied at all -- A quick look revealed that parts of the libtool.eclass patch already were there. So the proposed fixs add the missing stuff -- so it seems to work for me but I'll test it one more
(In reply to comment #6) > Created an attachment (id=162793) [edit] > ltmain-fix.patch > ...snip... this still failes but I got it to compile with: after elibtolize (1. apply the patch -- don't know if this is needed) 2. emerge 3. run configure and make in maildir/ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-root-check --bindir=/usr/sbin --mandir=/usr/share/man --sysconfdir=/etc/courier-imap --libexecdir=/usr/lib/courier-imap --localstatedir=/var/lib/courier-imap --with-authdaemonvar=/var/lib/courier-imap/authdaemon --enable-workarounds-for-imap-client-bugs --with-mailuser=mail --with-mailgroup=mail --with-fam --with-ipv6 --without-gnutls --with-db=gdbm --enable-unicode --build=i686-pc-linux-gnu 4. cd .. 5. make now it should be built successfully
Well, this looks like a parallel make problem. This probably can be fixed by adding '-j1'. It's caused by the fact that make tries to run config.status 2 times simultaneously, each of the instances trying to regenerate libtool at the same time. This is a design problem of maildir Makefile.am.
Yes, it looks like a parallel make problem. I can compile courier-imap-4.4.1 only, if I set MAKEOPTS="-j1" in my /etc/make.conf.
I know restricting parallel builds in the ebuild is ugly, but could we fix this at least for now?
(In reply to comment #10) > I know restricting parallel builds in the ebuild is ugly, but could we fix this > at least for now?
(In reply to comment #11) > (In reply to comment #10) I know restricting parallel builds in the ebuild is ugly, but could we fix this > > at least for now? I am getting a different libtool error which I think is related. See build log and emerge --inf below.
Created attachment 176570 [details] build log for failing courier-imap
Created attachment 176571 [details] emerge --info
courier-imap-4.5.0 is stable on most arches now, and fixes this bug Thanks for the report!