Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201743 - bad libtool generated for multiple packages
Summary: bad libtool generated for multiple packages
Status: RESOLVED DUPLICATE of bug 196243
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-09 05:53 UTC by Tyler Mandry
Modified: 2007-12-09 08:53 UTC (History)
0 users

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 Tyler Mandry 2007-12-09 05:53:34 UTC
sample output:
generating symbol list for `libixml.la'
/usr/bin/nm -B  src/.libs/ixml.o src/.libs/node.o src/.libs/ixmlparser.o src/.libs/ixmlmembuf.o src/.libs/nodeList.o src/.libs/element.o src/.libs/attr.o src/.libs/document.o src/.libs/namedNodeMap.o  |  | /bin/sed 's/.* //' | sort | uniq > .libs/libixml.exp
../libtool: eval: line 4365: syntax error near unexpected token `|'
../libtool: eval: line 4365: `/usr/bin/nm -B  src/.libs/ixml.o src/.libs/node.o src/.libs/ixmlparser.o src/.libs/ixmlmembuf.o src/.libs/nodeList.o src/.libs/element.o src/.libs/attr.o src/.libs/document.o src/.libs/namedNodeMap.o  |  | /bin/sed 's/.* //' | sort | uniq > .libs/libixml.exp'
make[3]: *** [libixml.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-libs/libupnp-1.6.0/work/libupnp-1.6.0/ixml'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-libs/libupnp-1.6.0/work/libupnp-1.6.0/ixml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/libupnp-1.6.0/work/libupnp-1.6.0'
make: *** [all] Error 2
 *
 * ERROR: net-libs/libupnp-1.6.0 failed.
 * Call stack:
 *               ebuild.sh, line   35:  Called src_compile
 *             environment, line 2831:  Called die
 * The specific snippet of code:
 *       emake || diefunc "$FUNCNAME" "$LINENO" "$?" "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/libupnp-1.6.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/libupnp-1.6.0/temp/environment'.
 *

The command trying to be evaluated has a space between two pipes. It is built here (line 269 in my /usr/bin/libtool and the unchanged in the package's version):
export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols"

The problem is pretty obvious. This line is in the libtool the package is using to build. /usr/bin/libtool has stuff in the quotes so it doesn't have this problem:
global_symbol_pipe=""

Either something needs to be in there or the global_symbol_pipe part needs to be taken out of export_symbols_cmds. I don't know much about libtool so I'm leaving this for someone else.

I've had several packages fail to compile repeatedly because of this. Packages affected include:

net-libs/libupnp-1.6.0
gnome-base/libgnome-2.20.1.1
gnome-base/libgnomeui-2.20.1.1
gnome-base/gnome-vfs-2.20.1
net-misc/neon-0.26.4
and I think some others.

I've tried several different versions of portage, including stable and testing.

Reproducible: Always

Steps to Reproduce:
try to emerge the packages.



Portage 2.1.4_rc9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.7-r0, 2.6.23-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r1 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
Timestamp of tree: Sun, 09 Dec 2007 04:46:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.3.6-r2, 2.4.4-r4, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
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
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -fomit-frame-pointer -ftracer -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/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.ccccom.com http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net http://gentoo.mirrors.easynews.com/linux/gentoo/"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/portage/local/layman/kde /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi aim alsa amd64 apic apm bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo fam firefox flac fortran gcj gdbm gif gimpprint gpm gstreamer hal iconv ipv6 isdnlog jabber java jpeg kde kerberos ldap mad madwifi midi mikmod mmx mp3 mpeg msn mudflap ncurses nptl nptlonly nvidia ogg opengl openmp oscar oss pam pcre pdf perl pic png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl svg symlink tcpd theora tiff truetype truetype-fonts type1-fonts unicode userlocales vidcap vorbis xcomposite xinerama xml xorg xv zlib" ALSA_CARDS="emu10k1" 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-09 08:53:45 UTC

*** This bug has been marked as a duplicate of bug 196243 ***