I'm trying to emerge xine-lib as part of a kde install, and it always fails, with the following being the last lines of output: libtool-nofpic: install: warning: relinking `xineplug_vo_out_none.la' (cd /var/tmp/portage/xine-lib-1_rc7/work/xine-lib-1-rc7/src/video_out; /bin/sh ../../libtool-nofpic --tag=CC --mode=relink gcc -I/usr/X11R6/include -DXINE_COMPILE -I/usr/include/SDL -D_REENTRANT -I../../src/video_out/vidix -I../../src/video_out/vidix -D_REENTRANT -I/usr/include/directfb -mcpu=pentiumpro -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_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -march=athlon-xp -O3 -fomit-frame-pointer -pipe -mno-sse2 -mno-sse3 -ffunction-sections -o xine_vo_out_none.la -rpath /usr/lib/xine/plugins/1.0.0 -avoid-version -module video_out_none.lo ../../src/xine-engine/libxine.la -inst-prefix-dir /var/tmp/portage/xine-lib-1_rc7/image/) gcc -shared .libs/video_out_none.o -L/var/tmp/portage/xine-lib-1_rc7/image//usr/lib -L/usr/lib -lxine -mcpu=pentiumpro -mpreferred-stack-boundary=2 -march=athlon-xp -mno-sse2 -mno-sse3 -Wl,xine_vo_out_none -o .libs/xine_vo_out_none /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lxine collect2: ld returned 1 exit status libtool-nofpic: install: error: relink `xine_vo_out_none.la' with the above command before installing it make[4]: *** [install-libLTLIBRARIES] Error 1 make[4]: Leaving directory `/var/tmp/portage/xine-lib-1_rc7/work/xine-lib-1-rc7/src/video_out' make[3]: *** [install-am] Error 2 make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc7/work/xine-lib-1-rc7/src/video_out' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc7/work/xine-lib-1-rc7/src/video_out' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc7/work/xine-lib-1-rc7/src' make: *** [install-recursive] Error 1 Reproducible: Always Steps to Reproduce: 1.emerge -av kde 2.emerge fails at emerge xine-lib 3. Actual Results: Emerge fails with the above output. Expected Results: Emerge should have completed successfully. emerge info: Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r1 i686) ================================================== System uname: 2.6.9-gentoo-r1 i686 AMD Sempron(tm) Gentoo Base System version 1.6.7 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 10 2004, 19:48:40)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.averse.net/pub/gentoo http://ftp.isu.edu.tw/pub/Linux/Gentoo http://ftp.heanet.ie/pub/gentoo ftp://ftp.mirror.averse.net/pub/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X acl acpi adns alsa apm arts audiofile avi bash-completion bcmath bidi bitmap-fonts bzlib cdr cjk cpdflib crypt cscope ctype cups curl curlwrappers dga dio directfb divx4linux encode exif f77 fam fbcon flac foomaticdb fortran ftp gif ginac gmp gpm iconv icq imlib ithreads java jikes jpeg kde lcms libwww mad memlimit mhash mikmod mmap mmx mmx2 mng motif mpeg mpi msn ncurses nls nptl nptlonly oggvorbis openal opengl oscar oss pam pcntl pcre pdflib perl pic png portaudio posix ppds pthreads python qt quicktime readline sdl shared sharedmem sndfile sockets sox spell sse sse2 ssl svg svga sysvipc szip tcpd theora threads tidy tiff truetype unicode usb wmf wxwindows x86 xine xml2 xmlrpc xmms xosd xpm xrandr xscreensaver xsl xv xvid zlib zvbi"
*** Bug 74179 has been marked as a duplicate of this bug. ***
Having the same here, with gcc 3.4.3.
Don't know if it is related, but a patch doesn't get applied: >>> emerge (1 of 1) media-libs/xine-lib-1_rc7 to / >>> md5 src_uri ;-) xine-lib-1-rc7.tar.gz >>> Unpacking source... >>> Unpacking xine-lib-1-rc7.tar.gz to /var/tmp/portage/xine-lib-1_rc7/work * Applying xine-lib-1_rc7-2.6.patch ... [ ok ] * Patching ${S}/ltmain.sh ... * Could not apply portage.patch! * Please verify that it is not needed. * Cannot apply any patch, running libtoolize... * Applying uClibc/libtool patches ... * Applying xine-lib-1_rc7-pic.patch ... [ ok ]QA Notice: USE Flag 'pic' not in IUSE for media-libs/xine-lib-1_rc7 >>> Source unpacked.
I believe the bug is related to the 'arts' useflag. I first noticed this problem when I enabled USE="kde qt arts" and remerged everything. I just got xine-lib to compile with USE="-arts"
Not here, have -arts and still getting the same error.
I got the same error then I tried to compile xine-lib-1-r7 as a dependency to xfce-extra/xfmedia-0.5.0 error message /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lxine collect2: ld returned 1 exit status libtool-nofpic: install: error: relink `xineplug_ao_out_esd.la' with the above command before installing it make[3]: *** [install-libLTLIBRARIES] Fel 1 make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc7/work/xine-lib-1-rc7/src/audio_out' make[2]: *** [install-am] Fel 2 make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc7/work/xine-lib-1-rc7/src/audio_out' make[1]: *** [install-recursive] Fel 1 make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc7/work/xine-lib-1-rc7/src' make: *** [install-recursive] Fel 1 !!! ERROR: media-libs/xine-lib-1_rc7 failed. !!! Function src_install, Line 158, Exitcode 2 !!! Install failed !!! If you need support, post the topmost build error, NOT this status message. emerge --info ACCEPT_KEYWORDS='~x86' emerge --info --nospinner =xfce-extra/xfmedia-0.5.0 Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, 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.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86 ~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="3dnow X acpi alsa apm avi berkdb bitmap-fonts cdr crypt cscope cups dega dvd encode esd f77 flac foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imlib java jpeg lcms libg++ 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 x86 xml xml2 xmms xv zlib"
Fixed in _rc8, which is security related, so it will get stable marked on all arches fairly shortly. For right now, x86 is stable.