Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225559 - libtool 2.2.4 fails to emerge due to LT_INIT addition in autotools.eclass
Summary: libtool 2.2.4 fails to emerge due to LT_INIT addition in autotools.eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 225577 225639 225643 225645 225649 225651 225653 225661 225677 225693 225697 225785 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-09 12:06 UTC by Jean-Francois Ostiguy
Modified: 2008-06-10 18:42 UTC (History)
31 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Francois Ostiguy 2008-06-09 12:06:48 UTC
libtool 2.2.4 fails to emerge. Something is getting mangled in one of the scripts; the source of the problem it unclear to me at this point.  

Reproducible: Always

Steps to Reproduce:
1.emerge -Du libtool
2.
3.

Actual Results:  


make[3]: Leaving directory `/var/tmp/portage/sys-devel/libtool-2.2.4/work/libtool-2.2.4'
rm -f libtoolize.tmp libtoolize
./libtool: line 868: X--tag=CC: command not found
./libtool: line 868: X--tag=CC: command not found
set dummy `/bin/sh ./libltdl/config/mkstamp .`; shift; case 2.2.4 in *[acegikmoqsuwy]) TIMESTAMP=" $1 $2" ;; *) TIMESTAMP="" ;; esac; \
        input="libtoolize.m4sh"; \
        sed -e 's,@EGREP\@,/bin/grep -E,g' -e 's,@FGREP\@,/bin/grep -F,g' -e 's,@GREP\@,/bin/grep,g' -e 's,@LN_S\@,ln -s,g' -e 's,@MACRO_VERSION\@,2.2.4,g' -e 's,@PACKAGE\@,libtool,g' -e 's,@PACKAGE_BUGREPORT\@,bug-libtool@gnu.org,g' -e 's,@PACKAGE_NAME\@,libtool,g' -e 's,@PACKAGE_STRING\@,libtool 2.2.4,g' -e 's,@PACKAGE_TARNAME\@,libtool,g' -e 's,@PACKAGE_VERSION\@,2.2.4,g' -e 's,@SED\@,/bin/sed,g' -e 's,@VERSION\@,2.2.4,g' -e 's,@aclocaldir\@,/usr/share/aclocal,g' -e 's,@datadir\@,/usr/share,g' -e 's,@pkgdatadir\@,/usr/share/libtool,g' -e 's,@host_triplet\@,i686-pc-linux-gnu,g' -e 's,@prefix\@,/usr,g' -e "s,@configure_input\@,Generated from $input.,g" -e "s,@TIMESTAMP\@,$TIMESTAMP,g" \
                -e 's,@aclocal_DATA\@,m4/argz.m4 m4/libtool.m4 m4/ltdl.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 m4/lt~obsolete.m4,g' \
                -e "s,@pkgltdl_files\@,libltdl/COPYING.LIB libltdl/README libltdl/Makefile.inc libltdl/Makefile.am libltdl/configure.ac libltdl/aclocal.m4 libltdl/Makefile.in libltdl/config-h.in libltdl/configure libltdl/argz_.h libltdl/argz.c libltdl/loaders/dld_link.c libltdl/loaders/dlopen.c libltdl/loaders/dyld.c libltdl/loaders/load_add_on.c libltdl/loaders/loadlibrary.c libltdl/loaders/shl_load.c libltdl/lt__dirent.c libltdl/lt__strl.c libltdl/libltdl/lt__alloc.h libltdl/libltdl/lt__dirent.h libltdl/libltdl/lt__glibc.h libltdl/libltdl/lt__private.h libltdl/libltdl/lt__strl.h libltdl/libltdl/lt_dlloader.h libltdl/libltdl/lt_error.h libltdl/libltdl/lt_system.h libltdl/libltdl/slist.h libltdl/loaders/preopen.c libltdl/lt__alloc.c libltdl/lt_dlloader.c libltdl/lt_error.c libltdl/ltdl.c libltdl/ltdl.h libltdl/slist.c,g" \
                -e "s,@pkgconfig_files\@,config/compile config/config.guess config/config.sub config/depcomp config/install-sh config/missing config/ltmain.sh,g" \
                ./libtoolize.in > libtoolize.tmp
./libtool: line 901: libtool: ignoring unknown tag : command not found
./libtool: line 868: X--mode=compile: command not found
./libtool: line 901: libtool: ignoring unknown tag : command not found
./libtool: line 868: X--mode=compile: command not found
./libtool: line 1035: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1036: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1179: Xi686-pc-linux-gnu-gcc: command not found
./libtool: line 1179: X-DHAVE_CONFIG_H: command not found
./libtool: line 1035: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 1179: X-I.: command not found
./libtool: line 1036: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1179: Xi686-pc-linux-gnu-gcc: command not found
./libtool: line 1179: X-DLT_CONFIG_H=<config.h>: command not found
./libtool: line 1179: X-DHAVE_CONFIG_H: command not found
./libtool: line 1179: X-DLTDL: command not found
./libtool: line 1179: X-I.: command not found
./libtool: line 1179: X-I.: command not found
./libtool: line 1179: X-DLT_CONFIG_H=<config.h>: command not found
./libtool: line 1179: X-I.: command not found
chmod a+x libtoolize.tmp
chmod a-w libtoolize.tmp
mv -f libtoolize.tmp libtoolize
./libtool: line 1179: X-DLTDL: command not found
./libtool: line 1179: X-Ilibltdl: command not found
cd ./libltdl && /bin/sh /var/tmp/portage/sys-devel/libtool-2.2.4/work/libtool-2.2.4/libltdl/config/missing --run aclocal-1.10 -I m4
./libtool: line 1179: X-I.: command not found
./libtool: line 1179: X-I./libltdl: No such file or directory
./libtool: line 1179: X-I.: command not found
./libtool: line 1179: X-I./libltdl/libltdl: No such file or directory
./libtool: line 1179: X-Ilibltdl: command not found
./libtool: line 1179: X-O2: command not found
./libtool: line 1179: X-march=pentium4: command not found
./libtool: line 1179: X-fomit-frame-pointer: command not found
./libtool: line 1179: X-pipe: command not found
./libtool: line 1179: X-I./libltdl: No such file or directory
./libtool: line 1179: X-I./libltdl/libltdl: No such file or directory
./libtool: line 1179: X-O2: command not found
./libtool: line 1179: X-MT: command not found
./libtool: line 1179: Xlibltdl/lt__strl.lo: No such file or directory
./libtool: line 1179: X-march=pentium4: command not found
./libtool: line 1179: X-fomit-frame-pointer: command not found
./libtool: line 1179: X-MD: command not found
./libtool: line 1179: X-pipe: command not found
./libtool: line 1179: X-MT: command not found
./libtool: line 1179: X-MP: command not found
./libtool: line 1179: Xlibltdl/loaders/dlopen.lo: No such file or directory
./libtool: line 1179: X-MF: command not found
./libtool: line 1179: X-MD: command not found
./libtool: line 1179: X-MP: command not found
./libtool: line 1179: Xlibltdl/.deps/lt__strl.Tpo: No such file or directory
./libtool: line 1179: X-MF: command not found
./libtool: line 1179: X-c: command not found
./libtool: line 1179: Xlibltdl/loaders/.deps/dlopen.Tpo: No such file or directory
./libtool: line 1179: X-c: command not found
./libtool: line 1232: Xlibltdl/loaders/dlopen.lo: No such file or directory
./libtool: line 1237: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [libltdl/loaders/dlopen.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
./libtool: line 1232: Xlibltdl/lt__strl.lo: No such file or directory
./libtool: line 1237: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [libltdl/lt__strl.lo] Error 1
/usr/share/aclocal/zthread.m4:34: warning: underquoted definition of AM_PATH_ZTHREAD
/usr/share/aclocal/zthread.m4:34:   run info '(automake)Extending aclocal'
/usr/share/aclocal/zthread.m4:34:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
make[2]: Leaving directory `/var/tmp/portage/sys-devel/libtool-2.2.4/work/libtool-2.2.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-devel/libtool-2.2.4/work/libtool-2.2.4'
make: *** [all] Error 2
 *
 * ERROR: sys-devel/libtool-2.2.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2544:  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/sys-devel/libtool-2.2.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/libtool-2.2.4/temp/environment'.
 *

 * Messages for package sys-devel/libtool-2.2.4:

 *
 * ERROR: sys-devel/libtool-2.2.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2544:  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/sys-devel/libtool-2.2.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/libtool-2.2.4/temp/environment'.
 *



Portage 2.1.5.4 (default-linux/x86/2006.1, gcc-4.2.4, glibc-2.7-r2, 2.6.25-gentoo-r4 i686)
=================================================================
System uname: 2.6.25-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Timestamp of tree: Mon, 09 Jun 2008 11:04:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.3.6-r5, 2.4.4-r13, 2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
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.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:   1.5.26
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -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 /var/lib/hsqldb"
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/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.chem.wisc.edu/gentoo/ "
LANG="en_US.ISO-8859-1"
LDFLAGS=""
LINGUAS="en fr"
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/sunrise /usr/portage/local/layman/science /usr/local/portage /usr/i686-mingw32/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 arts berkdb cli cpdflib cracklib crypt cups dbus doc dri dv dvd dvdr fortran gcj gd-external gdbm gnomedb gpm hal iconv ieee1394 ipv6 isdnlog java kde kdehiddenvisibility lm_sensors maildir mbox midi mmx mudflap ncurses nls nptl nptlonly opengl openmp oss pam pcre perl php ppds pppd python readline reflection scanner session spl ssl tcpd unicode usb x86 xmlrpc xorg zlib" ALSA_CARDS="intel8x0" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr" USERLAND="GNU" VIDEO_CARDS="radeon ati vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael Cramer 2008-06-09 12:09:37 UTC
same here

Portage 2.1.5.4 (hardened/linux/x86/2008.0/server, gcc-3.4.6, glibc-2.8_p20080602-r0, 2.6.24-hardened-r2 i686)
=================================================================
System uname: 2.6.24-hardened-r2 i686 Pentium III (Coppermine)
Timestamp of tree: Mon, 09 Jun 2008 11:34: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.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -mfpmath=sse -pipe -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium3 -mfpmath=sse -pipe -fforce-addr"
DISTDIR="/mnt/nfs/portage_distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j3"
PKGDIR="/mnt/nfs/portage_packages"
PORTAGE_RSYNC_EXTRA_OPTS="-O"
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="/mnt/nfs/portage_tmp"
PORTDIR="/mnt/nfs/portage_tree"
PORTDIR_OVERLAY="/mnt/nfs/portage_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl animgif apache2 ares async authfile ban bcmath berkdb bzip2 calendar caps case cjk clamav cli cracklib crypt ctype cups curl curlwrappers dbus deflate diskio dri elf exif fam filter flatfile fontconfig fpx ftp gd gdbm gif glibc-omitfp gmp gpm graphviz gs hardened hash hdri iconv idea idn ifsession imap inifile isdnlog java jbig jce jpeg jpeg2k json latex lcms ldap ldap-sasl libgcrypt libssh2 lm_sensors mailwrapper mfd-rewrites mhash midi mudflap ncurses network-cron nls nptl nptlonly openexr openmp pam pcntl pcre pdo perl pg-intdatetime php pic png posix postgres ppds pppd python q32 quotas readline reflection rewrite rle rrdtool samba sasl sensord session shaper simplexml sitemisc snmp soap sockets softquota soundex spell spl sqlite sqlite3 ssl suhosin svg symlink syslog sysvipc tcl tcpd tetex tidy tiff tokenizer tools truetype unicode urandom usb uuid vda vroot wddx wmf x86 xattr xml xmldoclet xmlreader xmlrpc xmlwriter xorg xpm xsl 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 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 linuxinput ps2mouse mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="ati128 r128 vesa"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 2 Adam Piątyszek 2008-06-09 12:47:17 UTC
I also experience this problem. My emerge --info output:

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.3.1, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Mon, 09 Jun 2008 10:15:03 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /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 /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.zie.pg.gda.pl"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LINGUAS="en pl"
MAKEOPTS="-s -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/portage/local/layman/science /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="16bit 7zip X a52 aac acpi alsa aoss apache2 arj atlas auctex avi bash-completion berkdb bidi bitmap-fonts blas bluetooth bzip2 cairo cblas cdda cddb cdparanoia cdr crypt cups curl dbus dhcp dillo divx dlloader dri dts dvd dvdr dvdread dvi edl emacs emacs-w3 encode exif exo extras fam fbcon fftw firefox flac foomaticdb fortran gd gdbm gif gmedia gpm gstreamer gtk gtk2 gzip-el hal i8x0 icq idle imagemagick imap imlib ipw3945 jabber javascript jpeg jpeg2k lapack lcd leim libnotify logrotate mad maildir mailwrapper md5sum mmx mmxext motif mozdevelop moznocompose moznoirc moznomail mozsvg mp3 mpeg mplayer musepack ncurses nls nptl nptlonly nsplugin objc++ ogg opengl openmp pam pcre pdf perl plotutils plugins pmu png ppds preview-latex python qa quicktime rar readline real realmedia rtc sasl sdl session slang smime spell srv sse sse2 ssl ssse3 startup-notification svg symlink tcpd tetex theora thumbnail tiff toolkit-scroll-bars trayicon truetype type1 unicode usb userlocales vcd vorbis wifi win32codecs wma wmf wmp x86 xforms xfs xft xhtml xml xorg xosd xprint xscreensaver xslt xv xvid xvmc zip zlib zsh-completion" ALSA_CARDS="hda-intel" 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="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Mark Nowiasz 2008-06-09 12:51:20 UTC
(In reply to comment #2)
> I also experience this problem. My emerge --info output:

Same here.

emerge --info:

ortage 2.1.5.4 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0,2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Mon, 09 Jun 2008 11:45: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.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
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/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo "
LDFLAGS=""
LINGUAS="de"
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="3dnow X a52 aac acl acli acpi aim alsa amd64 apm arts audiofile bash-completion berkdb bluetooth bzip2 cairo calendar cdb cddb cdparanoia cdr clamav cli cracklib crypt css ctype cups dbus dri dv dvb dvd dvdr dvdread emacs encode exif expat fam ffmpeg firefox flac fontconfig fortran ftp gdbm gif gimp glut gnuplot gphoto2 gpm gps graphviz hal iconv icq imagemagick innodb ipv6 isdnlog jabber java java6 joystick jpeg jpeg2k kde lame latex lcms libnotify libwww lm_sensors logitech-mouse loop-aes maildir man mhash midi mime mmap mmx mng mp3 mpeg mplay msn mudflap multilib musepack musicbrainz ncurses nls nntp nptl nptlonly nsplugin ntpl offensive ogg openexr opengl openmp pam pcre pda pdf perl png pppd python qt3 qt4 quicktime readline reflection rss scanner sdl session sox spl sse sse2 ssl startup-notification subversion suid svg syslog taglib tcpd themes theora threads tiff timidity truetype unicode usb v4l v4l2 vcd vnc vorbis wavpack wmf x264 xattr xine xml xorg xosd xpn xscreensaver xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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_defaultauthz_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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glkhd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-09 13:37:24 UTC
*** Bug 225577 has been marked as a duplicate of this bug. ***
Comment 5 Ben de Groot (RETIRED) gentoo-dev 2008-06-09 13:39:08 UTC
confirmed, i get the same
Comment 6 Dan Coats 2008-06-09 13:46:13 UTC
So 2 questions, where is the X coming from and why isn't 2.2.4 in a new slot?
Comment 7 Sergey Dryabzhinsky 2008-06-09 14:24:03 UTC
Can be compiled with USE="vanilla"...

I'll try to remove epunt_cxx...
Comment 8 Dmitry Karasik 2008-06-09 14:45:19 UTC
This is caused by a stale copy of libltdl/config/ltmain.sh. 

To regenerate it from ltmain.m4sh: rm -f libltdl/config/ltmain.sh after unpacking, then you need to run compile twice, the first time it regenerates ltmain.sh, but fails to compile the program because ltmain.sh was not there while configure was running. The 2nd time it succeeds.
Comment 9 Andreas Klauer 2008-06-09 15:46:38 UTC
emerged it thanks to the ltmain.sh hint, hope it doesn't break anything since it's not in a new slot and removed libtool 1.5.26 :)
Comment 10 Rafał Mużyło 2008-06-09 16:01:18 UTC
Well, actually I think epunt_cxx is completly pointless for libtool 2,
it only calls C++ parts if AC_PROG_CXX was called before and in those cases
epunt_cxx would be invalid.
Comment 11 Rafał Mużyło 2008-06-09 16:22:05 UTC
Oh, ....
It looks like the problem lies elsewhere.
libtool 2.2.4 builds just fine with the ebuild in the tree,...
as long as it's already installed
It looks like there's a conflict triggered by eautoreconf,
while 1.5 is still installed.
Comment 12 Rafał Mużyło 2008-06-09 16:32:47 UTC
When I read its configure.ac and Makefile.am, it looks like it's
'_libtoolize --copy --force' is the thing that breaks stuff,
cause if I read those correctly, eautoreconf sees the new libtool macros,
but drops in the old ltmain.sh.
Comment 13 Andrzej Rybczak 2008-06-09 19:07:35 UTC
I installed it with USE=vanilla, and when I removed this flag and want to recompile i get this error:

checking how to hardcode library paths into programs... immediate
checking for i686-pc-linux-gnu-gcj... no
checking for gcj... no
checking for i686-pc-linux-gnu-windres... no
checking for windres... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
make: *** No rule to make target `libltdl/m4/ltversion.in', needed by `libltdl/m4/ltversion.m4'.  Stop.
 * 
 * ERROR: sys-devel/libtool-2.2.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2598:  Called die
 * The specific snippet of code:
 *           emake || die "emake failed";
 *  The die message:
 *   emake failed
Comment 14 SpanKY gentoo-dev 2008-06-09 19:50:38 UTC
*** Bug 225639 has been marked as a duplicate of this bug. ***
Comment 15 subs 2008-06-09 23:08:00 UTC
Are there any concerns with building libtool with USE=vanilla? As I understand it, that just builds it without any patches, so since it builds with the vanilla useflag set, wouldn't logic follow to assume that the build error is caused by one of the external patches?
Comment 16 SpanKY gentoo-dev 2008-06-09 23:37:35 UTC
*** Bug 225643 has been marked as a duplicate of this bug. ***
Comment 17 SpanKY gentoo-dev 2008-06-09 23:37:38 UTC
*** Bug 225645 has been marked as a duplicate of this bug. ***
Comment 18 SpanKY gentoo-dev 2008-06-09 23:37:41 UTC
*** Bug 225649 has been marked as a duplicate of this bug. ***
Comment 19 SpanKY gentoo-dev 2008-06-09 23:37:46 UTC
*** Bug 225651 has been marked as a duplicate of this bug. ***
Comment 20 SpanKY gentoo-dev 2008-06-09 23:37:47 UTC
*** Bug 225653 has been marked as a duplicate of this bug. ***
Comment 21 SpanKY gentoo-dev 2008-06-09 23:37:50 UTC
*** Bug 225661 has been marked as a duplicate of this bug. ***
Comment 22 SpanKY gentoo-dev 2008-06-09 23:37:53 UTC
*** Bug 225677 has been marked as a duplicate of this bug. ***
Comment 23 SpanKY gentoo-dev 2008-06-09 23:38:46 UTC
USE=vanilla is *currently* OK to use for libtool-2.2.4 to workaround this issue.  that statement obviously has no bearing on any other version.
Comment 24 Rafał Mużyło 2008-06-10 00:05:23 UTC
Comment 13 is strange, for me ebuild works fine when libtool 2.2.4 is already installed, regardless of vanilla useflag.
Comment 25 SpanKY gentoo-dev 2008-06-10 00:10:34 UTC
yes, the issue should only show up during an upgrade
Comment 26 Rafał Mużyło 2008-06-10 00:14:48 UTC
FYI: a part of my emerge --info:
Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.7-r2, 2.6.25-gentoo-r4 i686)
=================================================================
System uname: 2.6.25-gentoo-r4 i686 AMD Athlon(tm) XP 2500+
Timestamp of tree: Sun, 08 Jun 2008 16:19:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r1
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
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.17-r2, 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.23-r3
Comment 27 georgi 2008-06-10 00:53:13 UTC
I installed 2.2.4 with +vanilla just fine, and then tried to use that to install 2.2.4 with -vanilla (which would not work starting from 1.5.x):

configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
make: *** No rule to make target `libltdl/m4/ltversion.in', needed by `libltdl/m4/ltversion.m4'.  Stop.

So the bug does appear even when starting from 2.2.4. Or is the ltversion.in problem a different bug?
Comment 28 Roman Garnett 2008-06-10 02:41:43 UTC
(In reply to comment #27)
> I installed 2.2.4 with +vanilla just fine, and then tried to use that to
> install 2.2.4 with -vanilla (which would not work starting from 1.5.x):
> 
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating config.h
> config.status: executing tests/atconfig commands
> config.status: executing depfiles commands
> config.status: executing libtool commands
> make: *** No rule to make target `libltdl/m4/ltversion.in', needed by
> `libltdl/m4/ltversion.m4'.  Stop.

I see the same behavior when re-emerging 2.2.4 with USE=-vanilla; emerge --info:

Portage 2.1.5.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r4 i686)
=================================================================
System uname: 2.6.25-gentoo-r4 i686 Genuine Intel(R) CPU 1500 @ 2.00GHz
Timestamp of tree: Mon, 09 Jun 2008 18:34:02 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r7, 2.5.2-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
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.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="-O2 -march=prescott -fomit-frame-pointer -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 /var/lib/hsqldb"
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/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=both"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib accessibility acl acpi aiglx aim alsa apache2 asf bash-completion bcmath berkdb bitmap-fonts blas bzip2 cairo caps cdda cddb cdparanoia cjk cli cracklib crypt css cups curl curlwrappers dbus dri dv dvd dvdr dvdread emacs enblend examples ffmpeg fftw filter_default firefox flac fontconfig fortran ftp gdbm gif ginac glitz glx gphoto2 gpm gstreamer gtk gtk2 hal hashstyle iconv icq imagemagick ipod ipv6 isdnlog jabber java jikes jpeg jpeg2k junit kde kdehiddenvisibility kqemu lapack lcms mad madwifi matroska midi mime mmx mng mozilla mp3 mp4 mpeg mudflap musepack musicbrainz mysql ncurses newspr nls nptl nptlonly nsplugin nvidia ocaml offensive ogg opengl openmp pam pcre pdf perl php pic png pppd python qhull qt qt3 quicktime readline reflection ruby samba sdl session shorten sift smp sox speex spell spl srt sse sse2 ssl subtitles subversion svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode v4l verbose videos visualization vorbis wifi win32codecs wmf x86 xcomposite xine xinerama xml xmlreader xmlwriter xorg xvid 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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPT
Comment 29 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-06-10 03:47:35 UTC
*** Bug 225693 has been marked as a duplicate of this bug. ***
Comment 31 Krzysztof Pawlik (RETIRED) gentoo-dev 2008-06-10 06:32:58 UTC
*** Bug 225697 has been marked as a duplicate of this bug. ***
Comment 32 Kamen Dokov 2008-06-10 07:44:11 UTC
(In reply to comment #30)
> should be fixed now
> 
> http://sources.gentoo.org/sys-devel/libtool/libtool-2.2.4.ebuild?r1=1.1&r2=1.2
> 

It works :)
Thank you !
Comment 33 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-06-10 18:42:58 UTC
*** Bug 225785 has been marked as a duplicate of this bug. ***