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

Bug 21680

Summary: libmpeg2--0.31 fails to build (libtool error?)
Product: Gentoo Linux Reporter: Grant Goodyear (RETIRED) <g2boojum>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: azarah
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Grant Goodyear (RETIRED) gentoo-dev 2003-05-25 15:13:19 UTC
On an x86 system where "emerge system" was built w/ "~x86" set, I
get the following error while compiling libmpeg2 (interestingly, I
don't get this error when building on a stable system):

Making all in doc
make[1]: Entering directory
`/var/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/doc'
/bin/sh ../libtool --mode=link gcc  -mcpu=i686  -pipe -Wall -O3
-fomit-frame-pointer   -o sample2  sample2.o ../libmpeg2/libmpeg2.la
../libvo/libvo.a   -lSM -lICE  -L/usr/X11R6/lib -lX11  -lXext -lXv -L/usr/lib
-Wl,-rpath,/usr/lib -lSDL -lpthread 
libtool: link: cannot find the library `'
make[1]: *** [sample2] Error 1
make[1]: Leaving directory `/var/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/doc'
make: *** [all-recursive] Error 1

Here's the associated ../libmpeg2/libmpeg2.la:

# libmpeg2.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.4.2a (1.922.2.100 2002/06/26 07:25:14)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libmpeg2.so.0'

# Names of this library.
library_names='libmpeg2.so.0.0.0 libmpeg2.so.0 libmpeg2.so'

# The name of the static archive.
old_library='libmpeg2.a'

# Libraries that this one depends upon.
dependency_libs=''

# Version information for libmpeg2.
current=0
age=0
revision=0

# Is this an already installed library?
installed=no

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/usr/lib'



Reproducible: Sometimes
Steps to Reproduce:
1.  ACCEPT_KEYWORDS="~x86" emerge -DU world
2.  emerge libmpeg
3.




# emerge info
Portage 2.0.48 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Pentium III (Coppermine)
GENTOO_MIRRORS=" ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/cvs/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm arts avi crypt cups encode gif jpeg kde gnome libg++
libwww mikmod mmx motif mpeg ncurses nls pdflib png quicktime spell truetype
xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline bonobo svga java guile X
sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gtk qt opengl mozilla"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=i686 -O2 -pipe"
CXXFLAGS="-mcpu=i686 -O2 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Grant Goodyear (RETIRED) gentoo-dev 2003-05-25 15:14:28 UTC
CC'ing azarah, in case it's a toolchain problem.
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-26 15:59:31 UTC
I cant think it, but see if updating to libtool-1.4.3 fixes it for you.
Comment 3 Grant Goodyear (RETIRED) gentoo-dev 2003-05-27 13:58:08 UTC
Looks like I'm using libtool-1.4.3-r1.
Comment 4 Grant Goodyear (RETIRED) gentoo-dev 2003-05-30 11:50:37 UTC
Looks like this bug is the same as 19221.  Closing here.

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