Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42695 - libtool 1.5.2 errors out when building shared libs
Summary: libtool 1.5.2 errors out when building shared libs
Status: RESOLVED DUPLICATE of bug 43244
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-23 21:10 UTC by brian tarricone
Modified: 2005-07-17 13:06 UTC (History)
1 user (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 brian tarricone 2004-02-23 21:10:00 UTC
i'm using sys-devel/libtool-1.5.2-r3.  any time i run autogen.sh (thus rerunning my system's 'libtoolize') on a software package that has a shared library as its target, it generates some bad scripts which result in the following error (right after libtool successfully links the shared lib):

grep -E -e "^[^_].*" ".libs/libxfcegui4.exp" > ".libs/libxfcegui4.expT"
mv -f ".libs/libxfcegui4.expT" ".libs/libxfcegui4.exp"
gcc "{ global:" > .libs/libxfcegui4.ver
gcc: { global:: No such file or directory
gcc: no input files
make[2]: *** [libxfcegui4.la] Error 1

using the fedora-patched libtool 1.5 at http://www.xfce.org/archive/tools/libtool-1.5-8-fedora.tar.gz (installed in my homedir), everything works properly.  it's clear that the problem is the third line of the error output i pasted - libtool is for some reason running 'gcc' when it should be running 'echo'.

Reproducible: Always
Steps to Reproduce:
1. install libtool-1.5.2-r3
2. run libtoolize on a source tree using libtool to generate shared libs
3. attempt to 'make' the project

Actual Results:  
the compilation process failed with the error above.

Expected Results:  
the compilation should have succeeded (obviously).

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0,
2.6.2-mm1)
=================================================================
System uname: 2.6.2-mm1 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.3.13
ccache version 2.2 [enabled]
Autoconf: sys-devel/autoconf-2.59-r2
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -falign-functions=4 -ffast-math"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -falign-functions=4
-ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo
ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo
http://www.gtlib.cc.gatech.edu/pub/gentoo
http://mirror.clarkson.edu/pub/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi4linux alsa apache2 apm avi berkdb bonobo cdr crypt cups
curl directfb dvd dvdr encode esd fam fbcon ffmpeg flash foomaticdb gdbm gif
gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib innodb java joystick jpeg
kerberos krb4 ldap libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls
nvidia oggvorbis opengl oss pam pdflib perl pic png python qt quicktime
readline samba sasl sdl slang spell ssl stencil-buffer svga tcltk tcpd tetex
truetype ungif usb v4l2 x86 xfs xml xml2 xmms xv xvid zlib"
Comment 1 Michael Terry 2004-02-28 20:01:08 UTC
I'm having this same problem, with libtool 1.4.3-r3.  There is some information about a workaround in likely-dupe bug 43244.
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-29 08:58:56 UTC

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