Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 227723

Summary: net-libs/courier-authlib-0.60.6 failed executing libtool
Product: Gentoo Linux Reporter: Heiko Wundram <modelnine>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major CC: flameeyes, modelnine
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Heiko Wundram 2008-06-17 07:31:21 UTC
+++ This bug was initially created as a clone of Bug #225867 +++

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 Heiko Wundram 2008-06-17 07:33:31 UTC
As the old bug has not been reopened when two people have reported that it is not fixed (and I have reproduced the same behaviour with a fresh portage tree just a few minutes ago), I have reopened this bug.

Currently, emerging courier-authlibs fails with:

...
libtool: compile:  i686-pc-linux-gnu-gcc -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_MD5=1 -DHAVE_HMAC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_CRYPT_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_CRYPT=1 -DNEED_CRYPT_PROTOTYPE=0 -DHAVE_ISATTY=1 -DHAVE_GETTIMEOFDAY=1 -DRANDOM=\"/dev/urandom\" -I. -march=prescott -O3 -pipe -mno-tls-direct-seg-refs -Wall -I.. -I./.. -MT userdb.lo -MD -MP -MF .deps/userdb.Tpo -c userdb.c -o userdb.o >/dev/null 2>&1
config.status: executing depfiles commands
config.status: executing libtool commands
CONFIG_FILES=userdb.html CONFIG_HEADERS= /bin/sh ./config.status
CONFIG_FILES=userdbpw.html CONFIG_HEADERS= /bin/sh ./config.status
mv -f .deps/userdb.Tpo .deps/userdb.Plo
touch dummy
/bin/sh ./libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -march=prescott -O3 -pipe -mno-tls-direct-seg-refs -Wall -I.. -I./..   -o libuserdb.la  userdb.lo userdb2.lo userdbmkpw.lo
/var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6/userdb/libtool: line 190: libtool: link: not configured to build any kind of library: command not found
/var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6/userdb/libtool: line 190: libtool: link: See the  documentation for more information.: command not found
/var/tmp/portage/net-libs/courier-authlib-0.60.6/work/courier-authlib-0.60.6/userdb/libtool: line 190: libtool: link: Fatal configuration error.: command not found
make[3]: *** [libuserdb.la] Error 127
make[3]: *** Waiting for unfinished jobs....
config.status: creating userdb.html
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: creating userdbpw.html
config.status: executing depfiles commands
config.status: executing libtool commands
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
...

which is different but similar to the original bug.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-17 14:55:55 UTC
Please post your emerge --info too.

*** This bug has been marked as a duplicate of bug 225867 ***
Comment 3 lxg 2008-06-18 13:47:51 UTC
I just ran into the same bug.

# emerge --info
Portage 2.1.5.5 (hardened/x86/2.6, gcc-3.4.6, glibc-2.8_p20080602-r0, 2.6.16-hardened-r11 i686)
=================================================================
System uname: 2.6.16-hardened-r11 i686 AMD Athlon(tm) XP 3000+
Timestamp of tree: Tue, 17 Jun 2008 21:45:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 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.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=athlon-xp -pipe -O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://85.25.128.62 ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LDFLAGS=""
LINGUAS="en de fr nl"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acpi apache2 berkdb clamav cracklib crypt hardened hardenedphp imap libwww maildir midi mysql ncurses nls nptl nptlonly pam pam-mysql perl php4 pic readline sasl ssl tcpd unicode urandom vhosts x86 xorg zlib" 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" LINGUAS="en de fr nl" 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 lxg 2008-06-18 14:17:56 UTC
(In reply to comment #3)
> I just ran into the same bug.

I was able to "fix" it by emerging "<net-libs/courier-authlib-0.60" (0.59.2) after "<net-libs/courier-authlib-0.60.6" would emerge 0.60.2-r1 which also failed to build.