Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45356 - mplayer-1.0_pre3-r2 doesn't build with USE="-xmms"
Summary: mplayer-1.0_pre3-r2 doesn't build with USE="-xmms"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 45440 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-22 01:27 UTC by Craig Keogh
Modified: 2004-03-23 08:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to remove xmms support from the ebuild. (mplayer-1.0_pre3-r2.ebuild.diff,1.24 KB, patch)
2004-03-22 01:29 UTC, Craig Keogh
Details | Diff
Patch to configure (mplayer-1.0_pre3-configure-xmms.patch,411 bytes, patch)
2004-03-22 04:56 UTC, Ed Catmur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Keogh 2004-03-22 01:27:18 UTC
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"
Comment 1 Craig Keogh 2004-03-22 01:29:40 UTC
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.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-03-22 01:36:41 UTC
could you paste the error log ?
Comment 3 Priit Laes (IRC: plaes) 2004-03-22 03:56:41 UTC
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)
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-03-22 04:05:35 UTC
does this work with -r1 ?
Comment 5 Ed Catmur 2004-03-22 04:50:43 UTC
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.
Comment 6 Ed Catmur 2004-03-22 04:54:52 UTC
It is fixed in CVS as of March 5: see http://mplayerhq.hu/pipermail/mplayer-cvslog/2004-March/018094.html
Comment 7 Ed Catmur 2004-03-22 04:56:41 UTC
Created attachment 27799 [details, diff]
Patch to configure

So we don't have to wait for _pre4.
Comment 8 Joel Martin (RETIRED) gentoo-dev 2004-03-23 07:03:30 UTC
*** Bug 45440 has been marked as a duplicate of this bug. ***
Comment 9 Martin Holzer (RETIRED) gentoo-dev 2004-03-23 08:27:38 UTC
added in cvs

thx