| Summary: | mplayer-1.0_pre3-r2 doesn't build with USE="-xmms" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Craig Keogh <cskeogh> |
| Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | kanaka, leander256 |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Patch to remove xmms support from the ebuild.
Patch to configure |
||
|
Description
Craig Keogh
2004-03-22 01:27:18 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.
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 |