Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84294 - xine-lib-1.0 ebuild fails, attempting to the wrong library
Summary: xine-lib-1.0 ebuild fails, attempting to the wrong library
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2005-03-06 05:14 UTC by David Emmett
Modified: 2005-03-07 02:42 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description David Emmett 2005-03-06 05:14:41 UTC
I tried to emerge gxine, but emerging xine-lib-1.0 fails, trying to use the wrong version of the library. It is trying to use the gcc tools from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/, even though config.guess returns i686-pc-linux as my machine type. As I have the gcc compiler (from a stage3 live CD) for i686-pc-linux, naturally, the grep fails. I fixed the problem (after extensive searching in the makefiles, but failing to find anything) by creating a symbolic link from the /usr/lib/gcc-lib/i686-pc-linux-gnu to /usr/lib/gcc-lib/i386-pc-linux-gnu.

Here's the actual error:

 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I
../../src/xine-utils -I../../src/input -I../../src/input -I../../lib -DXINE_COMPILE -I/usr/include/SDL -D_REENTRANT -I../../src/video_out/v
idix -I../../src/video_out/vidix -mcpu=athlon -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferre
d-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DN
DEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-p
rototypes -DENABLE_IPV6 -O2 -march=athlon -pipe -frename-registers -mno-sse2 -mno-sse3 -ffunction-sections -MT video_out_sdl.lo -MD -MP -MF
 .deps/video_out_sdl.Tpo -c video_out_sdl.c -o .libs/video_out_sdl.o
/bin/sh ../../libtool-nofpic --mode=link gcc  -DXINE_COMPILE  -I/usr/include/SDL -D_REENTRANT -I../../src/video_out/vidix -I../../src/video
_out/vidix      -mcpu=athlon -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4  -mpreferred-stack-boundary
=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRA
NT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE  -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -DENA
BLE_IPV6 -O2 -march=athlon -pipe -frename-registers -mno-sse2 -mno-sse3 -ffunction-sections   -o -rpath /usr/lib/xin
e/plugins/1.0.0 -avoid-version -module  alphablend.lo video_out_sdl.lo -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread ../../src/xine-engine
grep: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/ No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/ No such file or directory
libtool-nofpic: link: `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/' is not a valid libtool archive
make[4]: *** [] Error 1
make[4]: Leaving directory `/var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0/src/video_out'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0/src/video_out'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1.0/work/xine-lib-1.0'
make: *** [all] Error 2

!!! ERROR: media-libs/xine-lib-1.0 failed.
!!! Function src_compile, Line 236, Exitcode 2
!!! Parallel make failed

Reproducible: Always
Steps to Reproduce:
1. emerge gxine

Actual Results:  
The build fails attempting to emerge xine-libs-1.0. See the details for an error

Expected Results:  
It should have emerged cleanly.

kropotkin portage # emerge info
Portage 2.0.51-r2 (default-linux/x86/2004.3, gcc-3.3.4, glibc-,
2.6.10-gentoo-r7 i686)
System uname: 2.6.10-gentoo-r7 i686 AMD Athlon(tm) processor
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-
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
CFLAGS="-O2 -march=athlon -funroll-loops -pipe"
CONFIG_PROTECT="/etc /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/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon -funroll-loops -pipe"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
USE="x86 3dnow X alsa apm arts avi berkdb bindist bitmap-fonts cdr crypt cups
curl dvd emboss encode esd f77 fam flac font-server foomaticdb fortran gdbm gif
gnome gpm gtk gtk2 imlib ipv6 java jpeg junit kde ldap libg++ libwww mad mikmod
mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl
png python qt quicktime readline samba sdl spell ssl svga tcpd tiff truetype
truetype-fonts type1-fonts usb videos xml xml2 xmms xv zlib"
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-06 07:18:55 UTC
try ` 3.3.4 --oldarch i386-pc-linux-gnu`
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-03-06 19:08:02 UTC
and reopen after trying that.
Comment 3 David Emmett 2005-03-07 02:42:19 UTC
After running: `gcc -dumpversion` --oldarch --oldarch i386-pc-linux-gnu

I could successfully emerge xine-libs. generated a lot of messages about fixing KDE, which I had installed as a binary package from the packages CD.

Perhaps this should go in the documentation somewhere? I'll try and figure out where this could or should go, and submit it to the documentation herd.