Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225867 - net-libs/courier-authlib-0.60.6 failed executing libtool
Summary: net-libs/courier-authlib-0.60.6 failed executing libtool
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major with 1 vote (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
: 227723 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-11 10:17 UTC by Maarten Billemont
Modified: 2009-07-21 10:10 UTC (History)
8 users (show)

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


Attachments
courier-authlib-0.60.6-r1.patch (courier-authlib.patch,778 bytes, patch)
2008-07-20 16:20 UTC, Paul Marks
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maarten Billemont 2008-06-11 10:17:33 UTC
After upgrading libtool to 2.2.4 and running revdep-rebuild courier-authlib was selected for re-emerging.  This process failed as follows:

config.status: executing depfiles commands
config.status: executing libtool commands
mv: cannot stat `libtoolT': No such file or directory
/bin/sh ./libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -march=pentium4 -O2 -pipe -Wall -I.. -I./..   -o libuserdb.la  userdb.lo userdb2.lo userdbmkpw.lo
touch dummy
/bin/sh ./libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -march=pentium4 -O2 -pipe -Wall -I.. -I./.. -static  -o userdbpw userdbpw.o libuserdb.la ../libhmac/libhmac.la ../md5/libmd5.la ../sha1/libsha1.la -lcrypt
./libtool: line 13: func_dirname_and_basename: command not found
/var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6/userdb/: /var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6/userdb/: is a directory
make[3]: *** [userdbpw] Error 126
make[3]: Leaving directory `/var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6/userdb'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6/userdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6'
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
Comment 1 Maarten Billemont 2008-06-11 10:18:51 UTC
Portage 2.1.5.4 (hardened/x86/2.6, gcc-3.4.6, glibc-2.8_p20080602-r0, 2.6.24-hardened-r2 i686)
=================================================================
System uname: 2.6.24-hardened-r2 i686 Intel(R) Celeron(R) CPU 2.80GHz
Timestamp of tree: Wed, 11 Jun 2008 08:36:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.10.1-r1
sys-devel/binutils:  2.18-r1
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="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-detect distlocks noinfo parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.prz.rzeszow.pl"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS=""
MAKEOPTS="-j3"
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/portage/local/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext aalib apache2 authdaemond bash-completion bcmath berkdb bzip2 calendar cdb cgi cjk ck-server cli cracklib crypt ctype curl curlwrappers dba dpms erandom exif fam fastcgi force-cgi-redirect ftp gd-external gif gmp gnutls graphviz hal hardened hpn iconv imap inifile ipv6 jabber java javascript jpeg jpeg2k junit kerberos libcaca libwww linuxthreads-tls maildir mailwrapper mcve mhash midi ming mmx mmx2 mmxext mng mode-owner msn msnextras mysql mysqli ncurses nls nptl nptlonly offensive oggvorbis openssl oscar pam pcntl pcre pdo-external pear perl php pic png posix python readline real rtc sasl session sftplogging sharedmem simplexml soap sockets soundex spell spl sqlite sqlite3 sse sse2 ssl sun-jdk sysvipc tcpd tidy tokenizer truetype unicode urandom utf8 vda vhosts vim-syntax win32codecs x86 xcb xinetd xml xmlreader xmlrpc xorg xsl xvid yaz zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 	emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m 	maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="none"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-11 13:10:02 UTC
Is this problem specific to net-libs/courier-authlib-0.60.6? In other words, can you please try emerging something else that depends on sys-devel/libtool and see whether that fails as well?
Comment 3 Heiko Wundram 2008-06-11 13:15:04 UTC
This bug is specific to net-libs/courier-authlib (any version, including older ones). All other packages I remerged today (because of the libtool upgrade and the new libltdl.so) built fine.
Comment 4 Maarten Billemont 2008-06-11 13:18:24 UTC
During the revdep-rebuild that I executed after upgrading libtool 6 packages
needed to be rebuilt.  5 of them built successfully; the 6th (which was
actually the 3rd in order of building) this bug is about.  So no; it's not
specific to libtool but afaik rather to courier-authlib or whatever it does to
invlolve libtool in its building.
Comment 5 Len Slater 2008-06-13 22:29:17 UTC
I can confirm this is not a libtool problem. I have done emerge -eav system, and only build which fails is  net-libs/courier-authlib-0.60.6 

config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing libtool commands
mv: cannot move `libtoolT' to `libtool': No such file or directory
cp: cannot stat `libtoolT': No such file or directory
/bin/sh ./libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -march=pentium4 -O2 -pipe -Wall -I.. -I./..   -o libuserdb.la  userdb.lo userdb2.lo userdbmkpw.lo
chmod: cannot access `libtool': No such file or directory
/bin/sh: ./libtool: No such file or directory
make[3]: *** [libuserdb.la] Error 127
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6/userdb'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6/userdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6'
make: *** [all] Error 2
Comment 6 Hanno Böck gentoo-dev 2008-06-15 23:25:16 UTC
diego has fixed this
Comment 7 Heiko Wundram 2008-06-16 06:54:13 UTC
Is not fixed in courier-authlib-0.60.6 of the portage snapshot as of 08:45 CEST:

...
make[2]: Entering directory `/var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6'
/bin/sh ./libtool --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./libltdl    -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -I/usr/include/postgresql/libpq-4 -march=prescott -O3 -pipe -mno-tls-direct-seg-refs -Wall -I.. -I./.. -MT authdaemon.lo -MD -MP -MF .deps/authdaemon.Tpo -c -o authdaemon.lo authdaemon.c
/bin/sh ./libtool --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./libltdl    -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -I/usr/include/postgresql/libpq-4 -march=prescott -O3 -pipe -mno-tls-direct-seg-refs -Wall -I.. -I./.. -MT authdaemonlib.lo -MD -MP -MF .deps/authdaemonlib.Tpo -c -o authdaemonlib.lo authdaemonlib.c
./libtool: line 20: func_dirname_and_basename: command not found
/bin/sh ./libtool --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./libltdl    -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -I/usr/include/postgresql/libpq-4 -march=prescott -O3 -pipe -mno-tls-direct-seg-refs -Wall -I.. -I./.. -MT preauthdaemon.lo -MD -MP -MF .deps/preauthdaemon.Tpo -c -o preauthdaemon.lo preauthdaemon.c
./libtool: line 20: func_dirname_and_basename: command not found
/bin/sh ./libtool --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./libltdl    -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -I/usr/include/postgresql/libpq-4 -march=prescott -O3 -pipe -mno-tls-direct-seg-refs -Wall -I.. -I./.. -MT authmoduser2.lo -MD -MP -MF .deps/authmoduser2.Tpo -c -o authmoduser2.lo authmoduser2.c
./libtool: line 20: func_dirname_and_basename: command not found
/var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6/: /var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6/: is a directory
make[2]: *** [authmoduser2.lo] Error 126
make[2]: *** Waiting for unfinished jobs....
./libtool: line 20: func_dirname_and_basename: command not found
/var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6/: /var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6/: is a directory
make[2]: *** [preauthdaemon.lo] Error 126
/var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6/: /var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6/: is a directory
make[2]: *** [authdaemonlib.lo] Error 126
/var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6/: /var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6/: is a directory
make[2]: *** [authdaemon.lo] Error 126
make[2]: Leaving directory `/var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6'
make: *** [all] Error 2
 *
 * ERROR: net-libs/courier-authlib-0.60.6 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2856:  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-libs/courier-authlib-0.60.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/courier-authlib-0.60.6/temp/environment'.
 *

 * GNU info directory index is up-to-date.
jord modelnine #
...
Comment 8 Len Slater 2008-06-16 16:13:36 UTC
This is not fixed. Same problem as before. If there is a fix, please post details here.
Comment 9 Heiko Wundram 2008-06-17 07:34:36 UTC
Reopened as Bug #225867.
Comment 10 Heiko Wundram 2008-06-17 07:35:31 UTC
Sorry for the noise, reopened as Bug #227723.
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-17 14:55:55 UTC
*** Bug 227723 has been marked as a duplicate of this bug. ***
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-17 14:57:44 UTC
(In reply to comment #10)
> Sorry for the noise, reopened as Bug #227723.

No, that's another bug you opened.
Comment 13 Heiko Wundram 2008-06-17 15:15:51 UTC
(In reply to comment #12)
> (In reply to comment #10)
> > Sorry for the noise, reopened as Bug #227723.
> 
> No, that's another bug you opened.
> 

Yes, I know it's another bug I opened, but when nobody seemed inclined to reopen this bug even though two people reoprted the issue was not fixed for them (me being one), I thought it prudent to clone the bug.

Anyway, you asked for emerge --info in the "new" bug:

jord modelnine # emerge --info
Portage 2.1.5.5 (default-linux/x86/2007.0, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.20-xen-r6 i686)
=================================================================
System uname: 2.6.20-xen-r6 i686 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Timestamp of tree: Tue, 17 Jun 2008 06:45:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.62
sys-devel/automake:  1.7.9-r1, 1.10.1-r1
sys-devel/binutils:  2.18-r1
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="-march=prescott -O3 -pipe -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O3 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks parallel-fetch sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j4"
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"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="aac acl apache2 authdaemond bash-completion berkdb bzip2 caps cli cracklib crypt cups djvu dri emacs fam fastcgi flac fortran fpx gd gdbm gmp gpg graphviz gs iconv iproute2 ipv6 isdnlog java jbig jpeg jpeg2k lcms lzo midi mmx mmxext mp3 mudflap mysql ncurses nls nptl nptlonly ogg openexr openmp pam pcre perl pg-intdatetime php png postgres pppd python readline reflection sasl session speex spell spl sqlite sse sse2 ssl svg tcpd tiff truetype unicode vorbis wma wmf x86 xattr xml xmlreader xmlrpc xmlwriter xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1      emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m    maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt      mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage   siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware         voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

jord modelnine #
Comment 14 Rafał Mużyło 2008-07-05 16:53:04 UTC
OK, people, as this bug is getting nowhere, I've got a theory here,
that somebody may want to test.
Based on bug 226127.
see if following changes make any progress:
change in the ebuild 
sed line 
-e 's:AC_LIBLTDL_INSTALLABLE:AC_LIBLTDL_CONVENIENCE:'
to
-e 's:AC_LIBLTDL_INSTALLABLE:AC_LIB_LTDL:'
(though I'm not sure if aclocal/autoconf won't start complaining
about macro order, if it does, patch will probably be required instead of sed line or a more complicated sed line)
and remove libltdl from AC_CONFIG_SUBDIRS (be careful, this change
will most probably break the ebuild for libtool-1*)

then change the block
        local d
        for d in $(find -name configure.in) ; do
                [[ ${d} == */libltdl/* ]] && continue
                cd "${S}"/${d%configure.in}
                AT_NO_RECURSIVE="yes" AT_NOELIBTOOLIZE="yes" eautoreconf
        done
into standard, recursive eautoreconf.
Comment 15 Rafał Mużyło 2008-07-05 22:42:48 UTC
I hope I didn't offended anybody here.
I don't use this, previous comment was due to some
posts on the forum, from people still having some problems.
Personally, I think that this package (the whole courier family, really),
has one of the more annoying built systems among small to medium size
packages. Only one more annoying in this category, that I can recall
is mit-krb5.
Comment 16 Arne Hoch 2008-07-13 18:30:53 UTC
it seems to compile fine with USE="-gdbm"
Comment 17 Gregg Casillo 2008-07-18 19:28:51 UTC
USE="-gdbm" also worked for me. courier-authlib-0.59.2. I'm clutching to vpopmail until I install a new server some time next year.
Comment 18 Paul Marks 2008-07-20 16:20:13 UTC
Created attachment 160944 [details, diff]
courier-authlib-0.60.6-r1.patch

Patches to courier-authlib-0.60.6.ebuild to fix build issues against libtool 2.2.4.
Comment 19 Robert Marmorstein 2008-07-22 06:31:58 UTC
Thanks, Paul.  The patch works great.
Comment 20 Dmitry Karasik 2008-07-22 14:38:35 UTC
I am getting errors reported in this bug intermittently. Running with MAKEOPTS="-j1" causes the build to succeed, so it seems to be related to parallel make.
Comment 21 Luca "K4my" Camillo 2008-07-29 17:59:47 UTC
courier-authlib-0.61.0 faild to build with the same errors...

tested with -gdbm & also MAKEOPTS="-j1" & now courier-authlib compile correctly
Comment 22 Frieder Bürzele 2008-08-08 08:29:08 UTC
(In reply to comment #21)
> courier-authlib-0.61.0 faild to build with the same errors...
> 
> tested with -gdbm & also MAKEOPTS="-j1" & now courier-authlib compile correctly
> 

for me it works with the patch applied && gdbm set

[ebuild   R   ] net-libs/courier-authlib-0.61.0  USE="berkdb crypt gdbm ldap pam -debug -mysql -postgres -vpopmail" 

whats wrong with the patch?
Comment 23 Preston Crow 2008-08-10 12:51:54 UTC
I had net-libs/courier-authlib-0.61.0 fail to emerge with libtool errors.  Setting MAKEOPTS="-j1" solved the problem.  I suspect that there's a bug in the upstream makefile, and the ebuild needs to force -j1 until we have an upstream fix.
Comment 24 Luca "K4my" Camillo 2008-12-17 08:42:24 UTC
same problem and same solution for courier-authlib-0.61.1

MAKEOPTS="-j1" emerge courier-authlib
Comment 25 MarisN 2009-01-06 14:27:21 UTC
MAKEOPTS="-j1" also fixes same issue for net-mail/courier-imap-4.4.1-r1 on ~amd64.

(In reply to comment #24)
> same problem and same solution for courier-authlib-0.61.1
> 
> MAKEOPTS="-j1" emerge courier-authlib
> 

Comment 26 Adam Nielsen 2009-01-15 06:19:47 UTC
Just came across this problem, MAKEOPTS="-j1" fixed it for me too.
Comment 27 Dave 2009-03-12 02:49:42 UTC
(In reply to comment #26)
> Just came across this problem, MAKEOPTS="-j1" fixed it for me too.
> 

Same here, only it's courier-authlib-0.62.2 for me... MAKEOPTS="-j1" fixed it!
Comment 28 Slowking Man 2009-06-17 06:55:40 UTC
Same for me with 0.62.2. Looks like this package needs to force MAKEOPTS="-j1".
Comment 29 Hanno Böck gentoo-dev 2009-07-21 10:10:51 UTC
I could get rid of the eautoreconf call now, so we should be fine