mplayer-1.0_pre3-r2 doesn't build with USE="-xmms" Reproducible: Always Steps to Reproduce: 1. USE="-xmms" emerge =media-video/mplayer-1.0_pre3-r2 2. 3. Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-rc1) ================================================================= System uname: 2.6.5-rc1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=pentium4 -O3 -pipe -msse2 -fomit-frame-pointer -funroll-loops" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/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="-mcpu=pentium4 -O3 -pipe -msse2 -fomit-frame-pointer -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.aarnet.edu.au/pub/gentoo http://www.planetmirror.com/pub/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 alsa apm arts avi berkdb crypt cups dvd encode esd foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Created attachment 27793 [details, diff] Patch to remove xmms support from the ebuild. When patch is applied, mplayer builds and runs successfully *without* xmms installed.
could you paste the error log ?
decoder root # emerge mplayer Calculating dependencies ...done! >>> emerge (1 of 1) media-video/mplayer-1.0_pre3-r2 to / >>> md5 src_uri ;-) MPlayer-1.0pre3.tar.bz2 >>> md5 src_uri ;-) font-arial-iso-8859-1.tar.bz2 >>> md5 src_uri ;-) font-arial-iso-8859-2.tar.bz2 >>> md5 src_uri ;-) Blue-1.0.tar.bz2 * Please note that we do not use C[XX]FLAGS from /etc/make.conf * or the environment, as the MPlayer guys then do not give support * in case of bug reports!. >>> Unpacking source... >>> Unpacking MPlayer-1.0pre3.tar.bz2 to /home/root/tmp/portage/mplayer-1.0_pre3-r2/work >>> Unpacking font-arial-iso-8859-1.tar.bz2 to /home/root/tmp/portage/mplayer-1.0_pre3-r2/work >>> Unpacking font-arial-iso-8859-2.tar.bz2 to /home/root/tmp/portage/mplayer-1.0_pre3-r2/work gtk >>> Unpacking Blue-1.0.tar.bz2 to /home/root/tmp/portage/mplayer-1.0_pre3-r2/work * Applying mplayer-1.0-gtk2.patch... [ ok ] * Applying mplayer-0.90-coreutils-fixup.patch... [ ok ] * Applying mencoder-segfault.patch... [ ok ]>>> Source unpacked. sse mmx X jpeg gif gtk gtk gtk2 encode dvd mpeg Detected operating system: Linux Detected host architecture: i386 Checking for gcc version ... 3.3.3, ok Checking for CPU vendor ... GenuineIntel (6:8:1) Checking for CPU type ... Pentium III (Coppermine) Checking for GCC & CPU optimization abilities ... pentium3 Checking for kernel support of mmx ... yes Checking for kernel support of mmx2 ... yes Checking for kernel support of sse ... yes Checking for mtrr support ... yes Unknown parameter: --disable-xmms !!! ERROR: media-video/mplayer-1.0_pre3-r2 failed. !!! Function src_compile, Line 256, Exitcode 1 !!! (no error message)
does this work with -r1 ?
No, nor with -r2. Reading configure, it appears the problem is that configure supports --enable-xmms but not --disable-xmms. This is a clear inconsistency in the configure script: =============== configure @@ 1294-1300 ========== --enable-external-faad) _faad_external=yes _faad_internal=no ;; --disable-external-faad) _faad_external=no ;; --enable-xmms) _xmms=yes ;; --enable-flac) _flac=yes ;; --disable-flac) _flac=no ;; --enable-external-flac) _external_flac=yes ;; --disable-external-flac) _external_flac=no ;; ================================================= You will note that xmms is the only configure flag not to have both --enable and --disable switches. Suggest patching configure and upstreaming.
It is fixed in CVS as of March 5: see http://mplayerhq.hu/pipermail/mplayer-cvslog/2004-March/018094.html
Created attachment 27799 [details, diff] Patch to configure So we don't have to wait for _pre4.
*** Bug 45440 has been marked as a duplicate of this bug. ***
added in cvs thx