Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 422251 - media-video/mplayer-1.1-r1 USE=-libass - src_configure(): Unknown parameter: --disable-libass
Summary: media-video/mplayer-1.1-r1 USE=-libass - src_configure(): Unknown parameter: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-19 18:09 UTC by T6n9naYMKJ
Modified: 2012-06-21 08:12 UTC (History)
1 user (show)

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


Attachments
Fix config option to disable libass (mplayer-1.1-r1.ebuild-libass.patch,484 bytes, patch)
2012-06-21 02:44 UTC, Brennan Shacklett
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description T6n9naYMKJ 2012-06-19 18:09:07 UTC
USE-flag -ass results in build error

Reproducible: Always

Steps to Reproduce:
Disable ass USE-flag, emerge.
Actual Results:  
>>> Configuring source in /var/tmp/portage/media-video/mplayer-1.1-r1/work/MPlayer-1.1 ...
Unknown parameter: --disable-libass
 * ERROR: media-video/mplayer-1.1-r1 failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_configure
 *   environment, line 2847:  Called die
 * The specific snippet of code:
 *       ./configure --cc="$(tc-getCC)" --host-cc="$(tc-getBUILD_CC)" --prefix="${EPREFIX}/usr" --bindir="${EPREFIX}/usr/bin" --libdir="${EPREFIX}/usr/$(get_libdir)" --confdir="${EPREFIX}/etc/mplayer" --datadir="${EPREFIX}/usr/share/mplayer${namesuf}" --mandir="${EPREFIX}/usr/share/man" --disable-ffmpeg_a ${myconf} || die
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-20 15:18:07 UTC
Appending /newaches/gentoo/cvs/gentoo-x86 to PORTDIR_OVERLAY...
 * MPlayer-1.1.tar.xz RMD160 SHA1 SHA256 size ;-) ...                                                                        [ ok ]
 * checking ebuild checksums ;-) ...                                                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking MPlayer-1.1.tar.xz to /home/jer/portage/media-video/mplayer-1.1-r1/work
Moving and checking file: libavutil/x86_cpu.h
Moving and checking file: libavformat/internal.h
Checking for the presence of libavformat/avformat.h...
Moving and checking file: libavcodec/allcodecs.c
Moving and checking file: libavformat/allformats.c
Moving and checking file: libavfilter/allfilters.c
>>> Source unpacked in /home/jer/portage/media-video/mplayer-1.1-r1/work
>>> Preparing source in /home/jer/portage/media-video/mplayer-1.1-r1/work/MPlayer-1.1 ...
 * Applying mplayer-1.0_rc4-pkg-config.patch ...                                                                             [ ok ]
 * Applying mplayer-1.1-ffmpeg.patch ...                                                                                     [ ok ]
>>> Source prepared.
>>> Configuring source in /home/jer/portage/media-video/mplayer-1.1-r1/work/MPlayer-1.1 ...
Unknown parameter: --disable-libass
 * ERROR: media-video/mplayer-1.1-r1 failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_configure
 *   environment, line 2895:  Called die
 * The specific snippet of code:
 *       ./configure --cc="$(tc-getCC)" --host-cc="$(tc-getBUILD_CC)" --prefix="${EPREFIX}/usr" --bindir="${EPREFIX}/usr/bin" --libdir="${EPREFIX}/usr/$(get_libdir)" --confdir="${EPREFIX}/etc/mplayer" --datadir="${EPREFIX}/usr/share/mplayer${namesuf}" --mandir="${EPREFIX}/usr/share/man" --disable-ffmpeg_a ${myconf} || die
 * 
 * If you need support, post the output of `emerge --info '=media-video/mplayer-1.1-r1'`,
 * the complete build log and the output of `emerge -pqv '=media-video/mplayer-1.1-r1'`.
 * The complete build log is located at '/keeps/gentoo/emergelogs/wieneke/media-video:mplayer-1.1-r1:20120620-151353.log'.
 * For convenience, a symlink to the build log is located at '/home/jer/portage/media-video/mplayer-1.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/home/jer/portage/media-video/mplayer-1.1-r1/temp/environment'.
 * Working directory: '/home/jer/portage/media-video/mplayer-1.1-r1/work/MPlayer-1.1'
 * S: '/home/jer/portage/media-video/mplayer-1.1-r1/work/MPlayer-1.1'
Comment 2 Brennan Shacklett 2012-06-21 02:44:03 UTC
Created attachment 315887 [details, diff]
Fix config option to disable libass

This patch just switches the config option in the ebuild from --disable-libass to --disable-ass, which is documented in the configure script. Allows me to build mplayer with USE=-ass.
Comment 3 Brennan Shacklett 2012-06-21 03:02:19 UTC
Sorry, I meant that I can build mplayer with the patch and USE=-libass.
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2012-06-21 08:12:42 UTC
Sorry, my mistake. When I did the ass to libass useflag migration, I managed to do the oldest two ebuilds correctly, but somehow messed up with the higher versions... Fixed in CVS now (for all versions).