Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77573 - xine-lib 1.0 don't emerge. Can't find non-existent /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la
Summary: xine-lib 1.0 don't emerge. Can't find non-existent /usr/lib/gcc-lib/i686-pc-l...
Status: RESOLVED DUPLICATE of bug 73435
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-11 12:13 UTC by MagnusBerg
Modified: 2005-07-17 13:06 UTC (History)
3 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 MagnusBerg 2005-01-11 12:13:09 UTC
Emerge xine-lib 1.0 stops then the process can't find non-existent /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la

I got a 3.3.5 directory but no 3.3.4. I fixed my /etc/env.d/05ggc who had both 3.3.4 and 3.3.5 in the LDPATH. The I run env-update and tied again with no success.

The I maked a symlink named 3.3.4 pointing to 3.3.5 and emerge again and it seems to work so far.

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS="~x86" emerge xine-lib
2.
3.

Actual Results:  
001103 grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file
or directory
001104 /bin/sed: can't read
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
001105 libtool-nofpic: link:
`/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' is not a valid libtool
archive
001106 make[4]: *** [xineplug_vo_out_sdl.la] Fel 1
001107 make[4]: Leaving directory
`/var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0/src/video_out'
001108 make[3]: *** [all-recursive] Fel 1
001109 make[3]: Leaving directory
`/var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0/src/video_out'
001110 make[2]: *** [all-recursive] Fel 1
001111 make[2]: Leaving directory
`/var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0/src'
001112 make[1]: *** [all-recursive] Fel 1
001113 make[1]: Leaving directory `/var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0'
001114 make: *** [all] Fel 2
001115 
001116 !!! ERROR: media-libs/xine-lib-1.0 failed.
001117 !!! Function src_compile, Line 230, Exitcode 2
001118 !!! Parallel make failed
001119 !!! If you need support, post the topmost build error, NOT this status
message.

Expected Results:  
Compile clean

root:/home/magnus> emerge --info
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r6 i686)
=================================================================
System uname: 2.6.9-gentoo-r6 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -pipe -funroll-loops
-fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -pipe -funroll-loops
-fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/
ftp://ftp.uninett.no/pub/linux/Gentoo http://mirror.pudas.net/gentoo
ftp://mirror.pudas.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib acl acpi alsa apm avi berkdb bitmap-fonts cdr crypt
cscope cups dega dvd encode esd flac foomaticdb fortran gdbm gif gpm gtk gtk2
imagemagick imlib ipv6 java jpeg lcms libwww mad mikmod mmx motif mozilla mpeg
nas ncurses nls oggvorbis opengl openglother_var1 oss other_var2 pam pdflib perl
png ppds python quicktime readline scanner sdl slang slp spell ssl svga tcpd
tiff truetype usb videos wmf xml xml2 xmms xv zlib"
Comment 1 Christian Strauf 2005-01-12 05:11:11 UTC
I have the exact same problem when updating kdelibs to 3.3.2-r2:

--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------

grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' is not a valid libtool archive

--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------

emerge --info:
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2,sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -ftracer -fexpensive-optimizations"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -ftracer -fexpensive-optimizations"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.join.uni-muenster.de/pub/mirrors/gentoo.org/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aac acl acpi alsa apm audiofile avi bash-completion berkdb bitmap-fonts bonobo bzlib cdr crypt cups dvd dvdr encode esd evo faad fam ffmpeg flac foomaticdb fortran freetype gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib ipv6 irmc jabber java jpeg ldap libwww mad matroska mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg mpeg4 mysql ncurses nls nntp nvidia oggvorbis opengl operanom2 opie oss pam pdflib perl png ppds python qt quicktime readline samba sdl slang snmp speex spell sse sse2 ssl svg svga tcltk tcpd tetex theora tiff truetype unicode usb v4l xml xml2 xmms xprint xv xvid zlib"
Comment 2 Phil Pennock 2005-01-12 06:57:18 UTC
This is not a xine problem, but a gcc/libtool problem.

xine-lib's libtool stuff is pulling in /usr/lib/libSDL.la (you have 'sdl' in your use flags).  The .la files in /usr/lib/ define shell variables recording various compilation variables needed.  That may include hard-coding in the gcc path of the compiler, if one of the gcc-provided libraries was used (mostly means "C++").

You've updated gcc, but the link instructions are still pointing to the old versions.  A hack fix would be to change the values in the scripts in /usr/lib/*.la, a build fix would be to re-emerge the relevant ebuilds.

cd /usr/lib
egrep -l 3.3.[0-4] *.la | while read a; do qpkg -I -f /usr/lib/$a ; done | sort -u

Those need to be re-emerged.
Comment 3 Jeffrey Forman (RETIRED) gentoo-dev 2005-01-12 07:07:16 UTC
this is NOT a bugzilla bug, it is a gentoo LINUX bug. please read the product descriptions more carefully next time.
Comment 4 Michiel de Bruijne 2005-01-12 07:49:11 UTC
It's also duplicate of # 73435
Comment 5 Tom Martin (RETIRED) gentoo-dev 2005-01-12 15:51:03 UTC

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