I recently tried to remerge mplayer to add theora support. This problem is not theora related, something has broken recently with giflib (I think) Calculating dependencies ...done! [ebuild R ] media-video/mplayer-1.0_pre5-r5 -3dfx -3dnow -3dnowex +X -aalib +alsa (-altivec) -arts -bidi -cdparanoia -debug -directfb +divx4linux -doc -dvb -dvd -dvdread -edl +encode -esd -fbcon -ggi +gif +gtk -i8x0 +ipv6 -jack -joystick +jpeg -libcaca +lirc -live -lzo +mad -matroska -matrox +mmx -mmx2 +mpeg -mythtv -nas +network +nls +nvidia +oggvorbis +opengl -oss +png -real +rtc +samba +sdl +sse +svga -tga +theora* +truetype -v4l -v4l2 -xanim -xinerama -xmms +xv +xvid -xvmc 0 kB A it errors with /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libgif.so: undefined reference to `XDestroyImage' /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libgif.so: undefined reference to `XGetWindowAttributes' /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libgif.so: undefined reference to `XGetImage' /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libgif.so: undefined reference to `XGetPixel' /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libgif.so: undefined reference to `XQueryColors' collect2: ld returned 1 exit status make: *** [mencoder] Error 1 !!! ERROR: media-video/mplayer-1.0_pre5-r5 failed. !!! Function src_compile, Line 443, Exitcode 2 !!! Failed to build MPlayer! !!! If you need support, post the topmost build error, NOT this status message. Looking at the comments on a different but giflib error, http://bugs.gentoo.org/show_bug.cgi?id=79243 I treid to remerge giflib and libungif to no avail It will probably work with USE="-gif" but that doesn't fix the underlying problem Reproducible: Always Steps to Reproduce: 1. emerge mplayer 2. 3. Actual Results: Error mentioned above Expected Results: Mplayer installs correctly This problem haves with both gcc 3.4.3 and 3.3.4 Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.10 i686) ================================================================= System uname: 2.6.10 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 19 2004, 11:50:11)] ccache version 2.3 [enabled] 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.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r3 virtual/os-headers: 2.6.8.1-r1, 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" 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=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acl alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups eds encode esd f77 flac font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 guile hal imagemagick imlib ipv6 java jpeg junit libg++ libwww lirc mad mikmod motif mpeg mppe-mppc mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl pic png ppds python quicktime quotas readline samba sdl slang spell sqlite ssl svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts xml xml2 xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
When installing...libungif I see this... Not sure if it matters /bin/sh ../libtool --mode=install /bin/install -c giffiltr /var/tmp/portage/libungif-4.1.3/image//usr/bin/giffiltr libtool: install: warning: `../lib/libungif.la' has not been installed in `/usr/lib' /bin/install -c .libs/giffiltr /var/tmp/portage/libungif-4.1.3/image//usr/bin/giffiltr /bin/sh ../libtool --mode=install /bin/install -c icon2gif /var/tmp/portage/libungif-4.1.3/image//usr/bin/icon2gif libtool: install: warning: `../lib/libungif.la' has not been installed in `/usr/lib' /bin/install -c .libs/icon2gif /var/tmp/portage/libungif-4.1.3/image//usr/bin/icon2gif /bin/sh ../libtool --mode=install /bin/install -c gifcolor /var/tmp/portage/libungif-4.1.3/image//usr/bin/gifcolor libtool: install: warning: `../lib/libungif.la' has not been installed in `/usr/lib' /bin/install -c .libs/gifcolor /var/tmp/portage/libungif-4.1.3/image//usr/bin/gifcolor /bin/sh ../libtool --mode=install /bin/install -c gifinfo /var/tmp/portage/libungif-4.1.3/image//usr/bin/gifinfo libtool: install: warning: `../lib/libungif.la' has not been installed in `/usr/lib' /bin/install -c .libs/gifinfo /var/tmp/portage/libungif-4.1.3/image//usr/bin/gifinfo /bin/sh ../libtool --mode=install /bin/install -c gifclrmp /var/tmp/portage/libungif-4.1.3/image//usr/bin/gifclrmp libtool: install: warning: `../lib/libungif.la' has not been installed in `/usr/lib' /bin/install -c .libs/gifclrmp /var/tmp/portage/libungif-4.1.3/image//usr/bin/gifclrmp /bin/sh ../libtool --mode=install /bin/install -c gifrotat /var/tmp/portage/libungif-4.1.3/image//usr/bin/gifrotat libtool: install: warning: `../lib/libungif.la' has not been installed in `/usr/lib'
pre6 works fine!
Encountered again on ppc. I emerged giflib and it works now.
was that on pre6 or pre5? emerging giflib doesn't fix it for me! but pre6 does
I'm not sure if this is the problem, but I had mplayer-1.0_pre5-r5 working without problems, then I decided to unmerge xmms and I tried to emerge again mplayer without xmms USE flag and I had the same problem. I see the the person that filed the bug had also xmms turned off, so maybe the problem is related to xmms.
Francisco you are correct, USE="-xmms" fails with mplayer-1.0_pre5-r5 but with USE="xmms" it works. pre6 works regardless. So our current workarounds: 1. Install pre6 2. Or stick with pre5 but must have xmms flag set Not sure if this an ebuild problem or upstream. If its upstream then pre6 works so no need to send it to them. media-video whats your thoughts?
*** This bug has been marked as a duplicate of 79243 ***