Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312667 - libtool errors cause problems with multiple ebuilds including apache
Summary: libtool errors cause problems with multiple ebuilds including apache
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: N/A
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-01 16:37 UTC by Robert Bradbury
Modified: 2010-04-26 20:11 UTC (History)
1 user (show)

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


Attachments
emerge --info (Info100330.lst,4.11 KB, text/plain)
2010-04-01 16:38 UTC, Robert Bradbury
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Bradbury 2010-04-01 16:37:00 UTC
1. Attempt emerges of up-to-date packages, e.g. apache-tools, apache or apr.

Reproducible: Always

Steps to Reproduce:
1. emerge app-admin/apache-tools-2.2.15
2. emerge www-servers/apache-2.2.15
3. emerge dev-libs/apr-1.3.9 

Actual Results:  
ebuilds all fail with similar errors from "libtool" regarding the need for a "--tag" flag, e.g.

make[3]: Entering directory `/media/tmp/portage/www-servers/apache-2.2.15/work/httpd-2.2.15/os/unix'
/usr/bin/libtool --silent --mode=compile gcc -pthread  -O2 -march=prescott -pipe  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE    -I. -I/media/tmp/portage/www-servers/apache-2.2.15/work/httpd-2.2.15/os/unix -I/media/tmp/portage/www-servers/apache-2.2.15/work/httpd-2.2.15/server/mpm/prefork -I/media/tmp/portage/www-servers/apache-2.2.15/work/httpd-2.2.15/modules/http -I/media/tmp/portage/www-servers/apache-2.2.15/work/httpd-2.2.15/modules/filters -I/media/tmp/portage/www-servers/apache-2.2.15/work/httpd-2.2.15/modules/proxy -I/media/tmp/portage/www-servers/apache-2.2.15/work/httpd-2.2.15/include -I/media/tmp/portage/www-servers/apache-2.2.15/work/httpd-2.2.15/modules/generators -I/media/tmp/portage/www-servers/apache-2.2.15/work/httpd-2.2.15/modules/mappers -I/media/tmp/portage/www-servers/apache-2.2.15/work/httpd-2.2.15/modules/database -I/usr/include/apr-1 -I/usr/include/db4.8 -I/media/tmp/portage/www-servers/apache-2.2.15/work/httpd-2.2.15/modules/proxy/../generators -I/usr/include -I/media/tmp/portage/www-servers/apache-2.2.15/work/httpd-2.2.15/modules/ssl -I/media/tmp/portage/www-servers/apache-2.2.15/work/httpd-2.2.15/modules/dav/main  -prefer-non-pic -static -c unixd.c && touch unixd.lo
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[3]: *** [unixd.lo] Error 1
make[3]: Leaving directory `/media/tmp/portage/www-servers/apache-2.2.15/work/httpd-2.2.15/os/unix'

It is unclear (to me) whether this is a libtool error or there are errors in each individual package ebuild.

Expected Results:  
Ebuilds as released should work (or there should be some constraint on what package/version of libtool to use).
Comment 1 Robert Bradbury 2010-04-01 16:38:49 UTC
Created attachment 226151 [details]
emerge --info
Comment 2 Rafał Mużyło 2010-04-02 16:07:54 UTC
Did you already try to rebuild libtool ?
Also, it may be a problem with distcc, as those ebuilds IIRC
use /usr/bin/libtool - that may not work well, if targets differ.
Comment 3 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-04-05 13:52:30 UTC
You have many autoconf/automake versions in your system. Have you run "emerge --depclean" to remove old dependencies recently? Please clean dependencies with --depclean and try again. Reopen if the problem persists, and paste your "libtool --version; automake --version; autoconf --version" output. I resolve the bug as TEST-REQUEST
Comment 4 Rafał Mużyło 2010-04-10 20:27:49 UTC
IIRC, number of automake versions should not matter,
as due to specifics of both autotools eclass and automake-wrapper,
it's often required to have multiple versions of it.
Comment 5 Alec Kloss 2010-04-26 20:11:50 UTC
Me too.  Fresh install this weekend, and this still happens after emerge --depclean

[chop]
>>> Compiling source in /var/tmp/portage/dev-libs/apr-1.3.9/work/apr-1.3.9 ...          
make -j1                                                                                
make[1]: Entering directory `/var/tmp/portage/dev-libs/apr-1.3.9/work/apr-1.3.9'        
/bin/sh /usr/bin/libtool --silent --mode=compile gcc -pthread  -O2 -mtune=i686 -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -I./include -I/var/tmp/portage/dev-libs/apr-1.3.9/work/apr-1.3.9/include/arch/unix -I./include/arch/unix -I/var/tmp/portage/dev-libs/apr-1.3.9/work/apr-1.3.9/include/arch/unix -I/var/tmp/portage/dev-libs/apr-1.3.9/work/apr-1.3.9/include  -o passwd/apr_getpass.lo -c passwd/apr_getpass.c && touch passwd/apr_getpass.lo                                                   
libtool: compile: unable to infer tagged configuration                                                    
libtool: compile: specify a tag with `--tag'                                                              
make[1]: *** [passwd/apr_getpass.lo] Error 1                                                              
make[1]: Leaving directory `/var/tmp/portage/dev-libs/apr-1.3.9/work/apr-1.3.9'                           
make: *** [all-recursive] Error 1     
[chop]

fs3 ~ # libtool --version; automake --version; autoconf --version
ltmain.sh (GNU libtool) 2.2.6b                                   
Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996         

Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
automake (GNU automake) 1.11.1                                             
Copyright (C) 2009 Free Software Foundation, Inc.                          
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.               
There is NO WARRANTY, to the extent permitted by law.                            

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.
autoconf (GNU Autoconf) 2.65                  
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.           
There is NO WARRANTY, to the extent permitted by law.                        

Written by David J. MacKenzie and Akim Demaille.
fs3 ~ # emerge --info
Portage 2.2_rc67 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.32-gentoo-r7 i686)
=================================================================                                    
System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-2.1.6        
Timestamp of tree: Fri, 23 Apr 2010 06:00:01 +0000                                                   
app-shells/bash:     4.0_p28                                                                         
dev-java/java-config: 2.1.10                                                                         
dev-lang/python:     2.6.4-r1                                                                        
dev-util/cmake:      2.6.4-r3                                                                        
sys-apps/baselayout: 2.1.6                                                                           
sys-apps/openrc:     0.6.0                                                                           
sys-apps/sandbox:    2.2                                                                             
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc:       4.3.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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.gentoo.org/gentoo-portage"
USE="X acl alac alsa berkdb bzip2 cdr cli cracklib crypt cups cxx dbus dri dvd dvdr dvdread encode flac fortran gdbm gif gpm hal iconv ipv6 jpeg kde kerberos lame mad modules mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png pppd python qt3 qt3support qt4 readline reflection session spl ssl sysfs tcpd tiff truetype unicode vorbis wavpack win32codecs x86 xml 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 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" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

fs3 ~ #