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

Bug 47547

Summary: xine-libs does not compile (fails to find libxine!?)
Product: Gentoo Linux Reporter: Johannes Bauer <dfnsonfsduifb>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Johannes Bauer 2004-04-11 13:45:29 UTC
When trying to emerge xine-lib, emerge terminates with the following error:

/bin/sh ../../libtool-nofpic --mode=compile 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../../src/input/libdvdnav  -I/usr/X11R6/include  -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE  -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -O2 -march=pentium4 -fomit-frame-pointer -mno-sse2   -I/usr/kde/3.2/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -c -o dxr3_mpeg_encoders.lo `test -f 'dxr3_mpeg_encoders.c' || echo './'`dxr3_mpeg_encoders.c
dxr3_mpeg_encoders.c: In function `fame_on_display_frame':
dxr3_mpeg_encoders.c:467: Warnung: unused variable `tmpstr'
/bin/sh ../../libtool-nofpic --mode=link gcc -I/usr/X11R6/include  -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -O2 -march=pentium4 -fomit-frame-pointer -mno-sse2   -I/usr/kde/3.2/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -o xineplug_vo_out_dxr3.la -rpath /var/tmp/portage/xine-lib-1_rc2/image//usr/lib/xine/plugins/1.0.0 -avoid-version -module alphablend.lo dxr3_mpeg_encoders.lo dxr3_spu_encoder.lo dxr3_scr.lo video_out_dxr3.lo -L/usr/lib -Wl,-rpath,/usr/lib -lfame  -L/usr/X11R6/lib -lXinerama -lXext ../../src/xine-engine/libxine.la
libtool-nofpic: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../..//libfreetype.la' seems to be moved
/bin/sh ../../mkinstalldirs /var/tmp/portage/xine-lib-1_rc2/image//usr/lib/xine/plugins/1.0.0
 /bin/sh ../../libtool-nofpic --mode=install /bin/install -c  xineplug_decode_dxr3_video.la /var/tmp/portage/xine-lib-1_rc2/image//usr/lib/xine/plugins/1.0.0/xineplug_decode_dxr3_video.la
libtool-nofpic: install: warning: relinking `xineplug_decode_dxr3_video.la'
libtool-nofpic: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../..//libfreetype.la' seems to be moved
libtool-nofpic: install: warning: remember to run `libtool-nofpic --finish /usr/lib/xine/plugins/1.0.0'
 /bin/sh ../../libtool-nofpic --mode=install /bin/install -c  xineplug_decode_dxr3_spu.la /var/tmp/portage/xine-lib-1_rc2/image//usr/lib/xine/plugins/1.0.0/xineplug_decode_dxr3_spu.la
libtool-nofpic: install: warning: relinking `xineplug_decode_dxr3_spu.la'
libtool-nofpic: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../..//libfreetype.la' seems to be moved
libtool-nofpic: install: warning: remember to run `libtool-nofpic --finish /usr/lib/xine/plugins/1.0.0'
 /bin/sh ../../libtool-nofpic --mode=install /bin/install -c  xineplug_vo_out_dxr3.la /var/tmp/portage/xine-lib-1_rc2/image//usr/lib/xine/plugins/1.0.0/xineplug_vo_out_dxr3.la
libtool-nofpic: install: warning: relinking `xineplug_vo_out_dxr3.la'
libtool-nofpic: link: warning: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../..//libfreetype.la' seems to be moved
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lxine
collect2: ld returned 1 exit status
libtool-nofpic: install: error: relink `xineplug_vo_out_dxr3.la' with the above command before installing it
make[3]: *** [install-libLTLIBRARIES] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src/dxr3'
make[2]: *** [install-am] Fehler 2
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src/dxr3'
make[1]: *** [install-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2/src'
make: *** [install-recursive] Fehler 1
  
!!! ERROR: media-libs/xine-lib-1_rc2 failed.
!!! Function einstall, Line 388, Exitcode 2
!!! einstall failed

Weird: it is looking for libxine, although that is what it is supposed to install, isn't it?

Well, here is the /etc/make.conf

CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
USE="gtk2 gnome -kde -qt crypt cdr X alsa avi cups gphoto2 gpm -mozilla ncurses oggvorbis opengl samba truetype X"

and my gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/specs
Konfiguriert mit: /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,f77,objc --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext --disable-multilib
Thread model: posix
gcc-Version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)

Hope anybody can help,
Greetings
Joe


Reproducible: Always
Steps to Reproduce:
1. emerge xine-lib




Portage 2.0.50-r3 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4-rc1)
=================================================================
System uname: 2.6.4-rc1 i686 Intel(R) Pentium(R) 4 CPU 1700MHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm
gif gnome gphoto2 gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif
mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime
readline samba sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 SpanKY gentoo-dev 2004-06-23 07:01:09 UTC
test out 1_rc4 please
Comment 2 SpanKY gentoo-dev 2004-06-23 07:02:03 UTC
and re-open if it still fails ;)