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

Bug 171850

Summary: media-video/mplayer-1.0_rc2_pre20070321-r2 w/ USE=radio fails without USE=oss
Product: Gentoo Linux Reporter: Alexey <zubator>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexey 2007-03-22 20:58:46 UTC
Compiling of the latest mplayer (media-video/mplayer-1.0_rc2_pre20070321-r2) with USE flag "radio" crashes without flag "oss"

 USE="X aalib alsa directfb dvd dvdread encode esd fbcon ftp gif gtk iconv jpeg libcaca mad mmx mmxext mp2 mp3 opengl png quicktime radio rtc samba sdl sse sse2 truetype unicode vorbis win32codecs xinerama xv xvid xvmc -3dnow -3dnowext -a52 -aac (-altivec) -amr -arts -bidi -bindist -bl -cddb -cdparanoia -cpudetection -custom-cflags -debug -dga -doc -dts -dv -dvb -dvdnav -enca -ggi -ipv6 -ivtv -jack -joystick -lirc -live -livecd -lzo -md5sum -musepack -nas -openal -oss -pnm -rar -real -speex -srt -svga -theora -tivo -v4l -v4l2 -x264 -xanim -zoran" LINGUAS="ru -bg -cs -da -de -el -es -fr -hu -it -ja -ko -mk -nb -no -pl -pt_BR -ro -sk -sv -tr -uk -zh_CN -zh_TW" VIDEO_CARDS="-mga -s3virge -tdfx -tga -vesa" 0 kB (without flag "oss")

i686-pc-linux-gnu-gcc -I. -I.. -I../libavutil -I../libavcodec -I../libavformat -Wdeclaration-after-statement -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/directfb -I/usr/X11R6/include -I/usr/include/ -I/usr/include/SDL  -D_REENTRANT  -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12     -c -o stream_radio.o stream_radio.c
stream_radio.c:51:2: warning: #warning "V4L is deprecated and will be removed in future"
stream_radio.c: In function 'init_audio':
stream_radio.c:916: error: 'audio_in_t' has no member named 'oss'
make[1]: *** [stream_radio.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/mplayer-1.0_rc2_pre20070321-r2/work/mplayer/stream'
make: *** [stream/stream.a] Ошибка 2

!!! ERROR: media-video/mplayer-1.0_rc2_pre20070321-r2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3304:   Called src_compile
  mplayer-1.0_rc2_pre20070321-r2.ebuild, line 443:   Called die

!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-video/mplayer-1.0_rc2_pre20070321-r2/temp/build.log'.


Reproducible: Always
Comment 1 Alexey 2007-03-22 22:35:33 UTC
(sorry for my englsh) )New ebuild does not use my parameters from make.conf

......
Optimizing for: pentium-m
....
i686-pc-linux-gnu-gcc -I. -Wdeclaration-after-statement -O4 -march=pentium-m 
                                                        ^^^^^^^^^^^^^^^^^^^^
-mtune=pentium-m -pipe -ffast-math -fomit-frame-pointe

my:
CFLAGS="-march=prescott -O3 -Os -pipe"
Comment 2 Steve Dibb (RETIRED) gentoo-dev 2007-03-23 17:09:45 UTC
(In reply to comment #1)
> (sorry for my englsh) )New ebuild does not use my parameters from make.conf
> 
> ......
> Optimizing for: pentium-m
> ....
> i686-pc-linux-gnu-gcc -I. -Wdeclaration-after-statement -O4 -march=pentium-m 
>                                                         ^^^^^^^^^^^^^^^^^^^^
> -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointe
> 
> my:
> CFLAGS="-march=prescott -O3 -Os -pipe"
> 

MPlayer strips C{XX}FLAGS
Comment 3 Steve Dibb (RETIRED) gentoo-dev 2007-03-23 17:10:19 UTC
(In reply to comment #0)
> Compiling of the latest mplayer (media-video/mplayer-1.0_rc2_pre20070321-r2)
> with USE flag "radio" crashes without flag "oss"

Fixed in -r3, thanks