Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339310 - media-video/mplayer-1.0_rc4_p20100612 ignores CFLAGS
Summary: media-video/mplayer-1.0_rc4_p20100612 ignores CFLAGS
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-01 08:05 UTC by Dmitry
Modified: 2010-10-04 00:41 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,294.39 KB, text/plain)
2010-10-01 08:07 UTC, Dmitry
Details
emerge --info =media-video/mplayer-1.0_rc4_p20100612 (emerge.info,5.31 KB, text/plain)
2010-10-01 08:07 UTC, Dmitry
Details
emerge -pqv =media-video/mplayer-1.0_rc4_p20100612 (emerge.pqv-output,767 bytes, text/plain)
2010-10-01 08:08 UTC, Dmitry
Details
environment (environment,123.39 KB, text/plain)
2010-10-01 08:08 UTC, Dmitry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry 2010-10-01 08:05:29 UTC
Mplayer get wrong CFLAGS and can't emerge it(compile failed). if I make clean after crash and run configure script with options giving by emerge, after thet CFLAGS also including "-march=native -O4 -mtune=native -pipe -ffast-math" and I can compile all source by clean source three and run ebuild compile. Emerge igore all CFLAGS for mplayer and I can't set it by bashrc script. Old versions of mplayer have this bug too.

Reproducible: Always

Steps to Reproduce:
1. emerge =mplayer-1.0_rc4_p20100612
2. 
3.

Actual Results:  
compile corrupt

Expected Results:  
installed mplayer

Intel Athom N450
All system compile with CFLAGS="-march=core2 -O1 -msse3 -mfpmath=sse -pedantic -pipe -fstrength-reduce -fexpensive-optimizations -finline-functions -funroll-loops -foptimize-register-move", but any software compiled with other flags setting by bashrc script:

sys-fs/udev -march=core2 -O1 -msse3 -mfpmath=sse
sys-apps/busybox -march=core2 -O1 -msse3 -mfpmath=sse
gnome-base/gnome-keyring -march=core2 -O1 -msse3 -mfpmath=sse
net-libs/neon -march=core2 -O1 -msse3 -mfpmath=sse
dev-libs/boost -march=prescott -O2 -fomit-frame-pointer -pipe
media-video/ffmpeg -march=core2 -O1 -msse3 -mfpmath=sse
media-video/mplayer -march=native -O4 -mtune=native -pipe -ffast-math -fomit-frame-pointer
sys-fs/udisks -march=core2 -O1 -msse3 -mfpmath=sse
app-text/aspell -march=core2 -O1 -msse3 -mfpmath=sse
sys-devel/gdb -march=core2 -O1 -msse3 -mfpmath=sse
x11-libs/qt-qt3support -march=core2 -O1 -msse3 -mfpmath=sse
dev-util/codeblocks -march=core2 -O1 -msse3 -mfpmath=sse
sys-block/gparted -march=core2 -msse3 -mfpmath=sse
sys-fs/ext3grep -march=core2 -O1 -msse3 -mfpmath=sse
dev-util/ddd -march=core2 -O1 -msse3 -mfpmath=sse
x11-base/xorg-server -march=core2 -O1 -msse3 -mfpmath=sse
www-client/chromium -march=core2 -O1 -msse3 -mfpmath=sse
www-client/xvrt-unicode -march=core2 -O1 -msse3 -mfpmath=sse
net-analyzer/tcpdump -march=core2 -O -msse3 -mfpmath=sse
sys-devel/libperl -march=core2 -O1 -msse3 -mfpmath=sse
Comment 1 Dmitry 2010-10-01 08:07:20 UTC
Created attachment 249133 [details]
build.log
Comment 2 Dmitry 2010-10-01 08:07:51 UTC
Created attachment 249135 [details]
emerge --info =media-video/mplayer-1.0_rc4_p20100612
Comment 3 Dmitry 2010-10-01 08:08:19 UTC
Created attachment 249136 [details]
emerge -pqv =media-video/mplayer-1.0_rc4_p20100612
Comment 4 Dmitry 2010-10-01 08:08:49 UTC
Created attachment 249138 [details]
environment
Comment 5 Alex Legler (RETIRED) archtester gentoo-dev Security 2010-10-01 08:10:37 UTC
Stop ricing.
Comment 6 Dmitry 2010-10-01 08:28:46 UTC
(In reply to comment #5)
> Stop ricing.

Why emerge don't set this needed flags?
Comment 7 Dmitry 2010-10-01 15:36:51 UTC
Problem does not fixed in ebuild.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2010-10-04 00:41:13 UTC
This is from your build log and it does not list custom-cpuopts as it should, so this must mean that you've used package.use to mask the flag again:

 [32;01m*[0m USE:  X a52 alsa ass cddb cdio dirac dts dv dvb dvd dvdnav elibc_glibc enca encode faac faad gif gmplayer iconv ipv6 jpeg kernel_linux live lzo mad md5sum mmx mng mp3 network opengl osdmenu png quicktime rar real rtc schroedinger sdl shm speex sse sse2 tga theora toolame tremor truetype twolame unicode userland_GNU v4l v4l2 video_cards_tdfx vorbis win32codecs x264 x86 xinerama xscreensaver xv xvid