Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 307039

Summary: media-video/mplayer-*: 16 USE flags are broken, dev-util/pkgconfig is missing in DEPEND
Product: Gentoo Linux Reporter: Nikoli <nikoli>
Component: Current packagesAssignee: Sebastian Pipping <sping>
Status: RESOLVED FIXED    
Severity: normal CC: media-video, sping
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nikoli 2010-02-27 07:07:29 UTC
This affects all mplayer ebuilds in portage:

>>> Configuring source in /tmp/portage/media-video/mplayer-9999/work/mplayer-9999 ...                     
 * QA Notice: USE Flag 'uses' not in IUSE for media-video/mplayer-9999                                      
true                                                                                                        
 * QA Notice: USE Flag 'uses' not in IUSE for media-video/mplayer-9999  

...
		uses="aac faac x264 xvid toolame twolame"
		for i in uses; do
			use ${i} && elog "Useflag \"${i}\" require \"encode\" useflag enabled to work."
		done
...
		uses="dga dxr3 ggi opengl osdmenu vdpau vidix xinerama xscreensaver xv"
		for i in uses; do
			use ${i} && elog "Useflag \"${i}\" require \"X\" useflag enabled to work."
		done
...

'in uses' => 'in ${uses}'


grep pkg.config /tmp/portage/media-video/mplayer-9999/work/mplayer-9999/configure
echocheck "pkg-config"
_pkg_config=pkg-config
if $($_pkg_config --version > /dev/null 2>&1); then
    _pkg_config="$_pkg_config --static"
  _pkg_config=false
  if $_pkg_config --exists 'libpulse >= 0.9' ; then
cc_check $($_pkg_config --libs --cflags libpulse) && _pulse=yes
  libs_mplayer="$libs_mplayer $($_pkg_config --libs libpulse)"
  extra_cflags="$extra_cflags $($_pkg_config --cflags libpulse)"
  elif cc_check $($_pkg_config --libs --cflags --silence-errors jack) ; then
    libs_mplayer="$libs_mplayer $($_pkg_config --libs jack)"
    extra_cflags="$extra_cflags "$($_pkg_config --cflags jack)""
    if test "$_libcdio" = no && $_pkg_config --exists libcdio_paranoia ; then
...

Reproducible: Always

Steps to Reproduce:
Comment 1 Nikoli 2010-02-27 07:44:08 UTC
Also 'opencore-amr? ( media-libs/opencore-amr )' must be removed from mplayer-9999.ebuild
Comment 2 Doktor Notor 2010-02-27 16:19:37 UTC
Well, that blurb about use flag is clearly a portage bug and false positive.
Comment 3 Nikoli 2010-02-27 16:43:31 UTC
> that blurb about use flag is clearly a portage bug
no, it is not. read ebuild.
Comment 4 Sebastian Pipping gentoo-dev 2010-02-27 23:06:38 UTC
(In reply to comment #1)
> Also 'opencore-amr? ( media-libs/opencore-amr )' must be removed from
> mplayer-9999.ebuild

Why so?
Comment 5 Sebastian Pipping gentoo-dev 2010-02-27 23:40:04 UTC
+*mplayer-1.0_rc4_p20100213-r1 (27 Feb 2010)                                                             
+                                                                                                        
+  27 Feb 2010; Sebastian Pipping <sping@gentoo.org>                                                     
+  -mplayer-1.0_rc4_p20100213.ebuild, +mplayer-1.0_rc4_p20100213-r1.ebuild,                              
+  mplayer-9999.ebuild:                                                                                  
+  Fix bug #307039:                                                                                      
+  - Add missing build dep dev-util/pkgconfig                                                            
+  - Fix "for i in uses; do" (should be ${uses})                                                         
+
Comment 6 Sebastian Pipping gentoo-dev 2010-02-27 23:41:39 UTC
Nikoli, thanks for reporting.  If you're sure about that opencore-amr thing please open another bug with explanation.  Closing.