Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171879 - media-video/mplayer-1.0_rc2_pre20070321-r2 with USE=cpudetection dies
Summary: media-video/mplayer-1.0_rc2_pre20070321-r2 with USE=cpudetection dies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Other Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-23 05:01 UTC by Jeroen Roovers (RETIRED)
Modified: 2007-03-23 17:10 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2007-03-23 05:01:00 UTC
mplayer used to configure/build fine with USE=cpudetection. It probably didn't do anything special for HPPA, but it didn't die horribly at build time either. This new version dies when CPU detection is not available for a given arch, so it should probably be use.masked for arches it is known not to work on, or, more ideally, it should only be enabled for arches where it does work (more ideally, because future versions may support more arches or may stop dying once more).

Only a couple of packages appear to have IUSE=cpudetection from what use.*.desc tells me:

misha ~ # euses -s cpudetection
media-sound/gnusound:cpudetection - Enables runtime cpu detection
media-sound/jack-audio-connection-kit:cpudetection - Enables runtime cpudetection
media-video/mplayer:cpudetection - Enables runtime cpudetection


# emerge -va mplayer

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

[...]

>>> Compiling source in /var/tmp/portage/media-video/mplayer-1.0_rc2_pre20070321-r2/work/mplayer ...
 * Running ./configure
CFLAGS=" -O2 -pipe -mschedule=8000 -march=2.0 -ggdb -D__STDC_LIMIT_MACROS" ./configure --cc=hppa2.0-unknown-linux-gnu-gcc               --host-cc=hppa2.0-unknown-linux-gnu-gcc                 --prefix=/usr           --confdir=/usr/share/mplayer            --datadir=/usr/share/mplayer            --libdir=/usr/lib      --enable-largefiles              --enable-menu           --enable-network        --disable-tv-bsdbt848           --disable-vidix-external                --disable-faad-external                 --disable-libcdio --language=en --enable-runtime-cpudetection --enable-bl --disable-cddb --disable-ass --disable-vstream --charset=UTF-8 --disable-dvdnav --disable-x264 --disable-lirc --disable-lircc --disable-joystick --disable-unrarlib --disable-radio-v4l2 --disable-radio-bsdbt848 --disable-pvr --disable-live --disable-pnm --disable-twolame --disable-toolame --disable-qtx --xanimcodecsdir=/usr/lib/xanim/mods --disable-ivtv --disable-md5sum --disable-xinerama --disable-dvb --disable-dvbhead --disable-vidix-internal --disable-mga --disable-xmga --disable-tga --disable-vesa --disable-zr --enable-gui --enable-xvmc --with-xvmclib=XvMCW --disable-3dfx --disable-tdfxvid --disable-tdfxfb --disable-jack --disable-openal --disable-3dnow --disable-3dnowext --disable-mmx --disable-mmxext --disable-sse --disable-sse2 --disable-altivec
Detected operating system: Linux
Detected host architecture: hppa

Error: Runtime CPU detection only works for x86, x86-64 and PPC!

Check "" if you do not understand why it failed.

!!! 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 3297:   Called src_compile
  mplayer-1.0_rc2_pre20070321-r2.ebuild, line 436:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/keeps/gentoo/emergelogs/elmer/media-video:mplayer-1.0_rc2_pre20070321-r2:20070323-042059.log'.
Comment 1 Steve Dibb (RETIRED) gentoo-dev 2007-03-23 17:10:37 UTC
Fixed in -r3, thanks