morgania gizmo # USE="edl fbdev ipv6 lzo mad matroska rtc tga theora" emerge -upv world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] media-video/mplayer-1.0_pre5-r2 [1.0_pre5-r1] -(3dfx) -(3dnow) +X +aalib +alsa -(altivec) -arts -bidi -cdparanoia -debug +directfb +divx4linux -dvb +dvd -dvdread +edl +encode +esd +fbdev +ggi +gif +gtk +ipv6 -joystick +jpeg -(libcaca) -lirc -live +lzo +mad +matroska -matrox -(mmx) +mpeg -mythtv -nas -network +nls +oggvorbis +opengl +oss +rtc -samba +sdl -(sse) -(svga) +tga +theora +truetype -v4l -v4l2 -xinerama +xmms +xv +xvid 7 kB results in: gcc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -Ilibmpdemux -Iloader -Ilibvo -I/usr/include/freetype2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -o mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a libao2/libao2.a libmenu/libmenu.a Gui/libgui.a libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a -lmad -lvorbis -logg -ldv -ltheora -logg -lfaad -llzo -lmp3lame -lvorbis -logg -lxvidcore -lm -lpng -lz -lz -ljpeg -lasound -ldl -lpthread /usr/lib/libxmms.so.1 -export-dynamic -lmatroska -lebml -lstdc++ -lfreetype -lz -lungif -lfontconfig -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lglib -laa -lGL -lXxf86dga -lXv -lXxf86vm -L/usr/X11R6/lib -lXext -lX11 -lnsl -lnsl -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lggi -ldirectfb -L/usr/lib -lesd -laudiofile -lm -lasound -lpthread -ldl -rdynamic -lm /usr/lib/libSDL.a(SDL_cacavideo.o)(.text+0x26c): In function `Caca_VideoInit': : undefined reference to `caca_init' /usr/lib/libSDL.a(SDL_cacavideo.o)(.text+0x410): In function `Caca_SetVideoMode': : undefined reference to `caca_create_bitmap' /usr/lib/libSDL.a(SDL_cacavideo.o)(.text+0x475): In function `Caca_SetVideoMode': : undefined reference to `caca_free_bitmap' /usr/lib/libSDL.a(SDL_cacavideo.o)(.text+0x50b): In function `Caca_DirectUpdate': : undefined reference to `caca_get_height' /usr/lib/libSDL.a(SDL_cacavideo.o)(.text+0x514): In function `Caca_DirectUpdate': : undefined reference to `caca_get_width' /usr/lib/libSDL.a(SDL_cacavideo.o)(.text+0x532): In function `Caca_DirectUpdate': : undefined reference to `caca_draw_bitmap' /usr/lib/libSDL.a(SDL_cacavideo.o)(.text+0x537): In function `Caca_DirectUpdate': : undefined reference to `caca_refresh' /usr/lib/libSDL.a(SDL_cacavideo.o)(.text+0x5ab): In function `Caca_VideoQuit': : undefined reference to `caca_end' /usr/lib/libSDL.a(SDL_cacavideo.o)(.text+0x5c5): In function `Caca_VideoQuit': : undefined reference to `caca_free_bitmap' /usr/lib/libSDL.a(SDL_cacavideo.o)(.text+0x5da): In function `Caca_VideoQuit': : undefined reference to `caca_end' /usr/lib/libSDL.a(SDL_cacaevents.o)(.text+0x99): In function `Caca_PumpEvents': : undefined reference to `caca_get_event' /usr/lib/libSDL.a(SDL_cacaevents.o)(.text+0x11a): In function `Caca_PumpEvents': : undefined reference to `caca_get_width' /usr/lib/libSDL.a(SDL_cacaevents.o)(.text+0x137): In function `Caca_PumpEvents': : undefined reference to `caca_get_height' collect2: ld returned 1 exit status make: *** [mplayer] Error 1 !!! ERROR: media-video/mplayer-1.0_pre5-r2 failed. !!! Function src_compile, Line 332, Exitcode 2 !!! Failed to build MPlayer! USE="-sdl" works. Portage 2.0.50-r9 (gcc34-amd64-2004.1, gcc-3.4.1, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r11) ================================================================= System uname: 2.6.7-gentoo-r11 x86_64 4 Gentoo Base System version 1.5.1 distcc 2.16 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -pipe -fweb -ftracer" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe -fweb -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acl acpi alsa amd64 apm audiofile avi berkdb cdr clamav clearpasswd crypt cups dga directfb divx4linux dvd encode esd foomaticdb gdbm ggi gif gnome gpm gtk gtk2 imlib jpeg kde ldap libg++ libwww mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl tcltk tcpd truetype xml2 xmms xv xvid zlib"
Can you please try re-emerging libSDL? Libcaca was removed from amd64 recently, as it broke libSDL. This might be the issue you're having.
*** Bug 58685 has been marked as a duplicate of this bug. ***
ok, fixed :)
Issue is related to libcaca not working. Since amd64 profiles have been updated to address this, I'm closing this bug.