Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90692 - some USE flags changes ignored when emerging new version of package
Summary: some USE flags changes ignored when emerging new version of package
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-28 02:34 UTC by REMOVED ACCOUNT
Modified: 2005-04-28 02:41 UTC (History)
0 users

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 REMOVED ACCOUNT 2005-04-28 02:34:36 UTC
It seems that changes to USE settings in /etc/make.conf are not always reflected by Portage. I keep noticing this in more and more packages, when I do emerge -va package, I can see that some USE flags that I *don't* have in /etc/make.conf and that I either did have in past or *never* did, are enabled. For example, in case of mplayer, I have at least xmms, ipv6, encode and esd flags there (of which ipv6 and encode was never enabled on my system!). The only way to get rid of them is to manually set USE environment variable each time I emerge the package. After emerging, the selection is not remembered, so it's not caused by that.

This is relatively new misbehavior, but I didn't notice it at first, so I don't know when exactly it started happening.

Please let me know if you need more data from the system.

Reproducible: Always
Steps to Reproduce:
1. Edit /etc/make.conf to not contain "xmms" in USE
2. emerge -vp mplayer and observe that "+xmms*" is there
3. USE="-xmms" emerge -v mplayer
4. try step 2 again, nothing changed

Actual Results:  
wintermute bin # emerge -vp mplayer

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] media-sound/xmms-1.2.10-r13  +3dnow +alsa +arts -debug -directfb
+esd +flac -jack -lirc +mad +mikmod +mmx +mp3 +nls +oggvorbis +oss -sndfile 2,924 kB
[ebuild   R   ] media-video/mplayer-1.0_pre6-r5  -3dfx +3dnow +3dnowext +X
+aalib +alsa (-altivec) +arts +avi -bidi -bl +cdparanoia -debug +dga -directfb
-divx4linux +doc -dts -dv -dvb +dvd +dvdread -edl +encode* +esd* -fbcon -ggi
+gif +gtk -i8x0 +ipv6* -jack -joystick +jpeg -libcaca -lirc -live -lzo +mad
+matroska -matrox +mmx +mmxext +mpeg -mythtv -nas +nls +nvidia +oggvorbis
-opengl +oss +png +real +rtc +samba +sdl +sse +sse2 +svga* -tga +theora
+truetype +v4l +v4l2 -xanim -xinerama +xmms* +xv +xvid +xvmc 0 kB
[ebuild  N    ] media-plugins/xmms-arts-0.7.1-r1  231 kB
[ebuild  N    ] media-plugins/xmms-mikmod-1.2.10  0 kB
[ebuild  N    ] media-plugins/xmms-vorbis-1.2.10-r1  +ipv6 +ssl 0 kB
[ebuild  N    ] media-plugins/xmms-mad-0.8  307 kB
[ebuild  N    ] media-plugins/xmms-esd-1.2.10-r1  +oss 0 kB
[ebuild  N    ] media-plugins/xmms-oss-1.2.10  0 kB
[ebuild  N    ] media-plugins/xmms-alsa-1.2.10  0 kB


Expected Results:  
wintermute bin # emerge -vp mplayer

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-video/mplayer-1.0_pre6-r5  -3dfx +3dnow +3dnowext +X
+aalib +alsa (-altivec) +arts +avi -bidi -bl +cdparanoia -debug +dga -directfb
-divx4linux +doc -dts -dv -dvb +dvd +dvdread -edl -encode -esd -fbcon -ggi +gif
+gtk -i8x0 -ipv6 -jack -joystick +jpeg -libcaca -lirc -live -lzo +mad +matroska
-matrox +mmx +mmxext +mpeg -mythtv -nas +nls +nvidia +oggvorbis -opengl +oss
+png +real +rtc +samba +sdl +sse +sse2 +svga* -tga +theora +truetype +v4l +v4l2
-xanim -xinerama -xmms +xv +xvid +xvmc 0 kB


Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1,
2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.4-r3,dev-lang/python-2.3.5 [2.3.5 (#1,
Feb 22 2005, 11:27:52)]
ccache version 2.4 [enabled]
dev-lang/python:     2.4-r3, 2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/mail/dspam /etc/mail/dspam/config
/etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks notitles sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl"
LANG="en_US"
LINGUAS="en cs"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac aalib accessibility alsa apm arts audiofile avi
bash-completion berkdb bitmap-fonts bonobo bzip2 cdparanoia cdr commercial crypt
cscope cups curl dga dlloader dnd doc dpms dvd dvdr dvdread elf emboss encode
esd exiscan-acl expat faad fam fame ffmpeg flac foomaticdb fortran gcj gd gdbm
gif glitz glut gnome gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal icu
imagemagick imlib ipv6 jabber java javascript jikes jpeg jpeg2k junit kde
kdeenablefinal lcms libg++ libwww lm_sensors lufsusermount lzw-tiff mad
mailwrapper matroska mbox md5sum mikmod mmx mmxext mng mono motif mozdevelop
mozilla moznoirc moznomail mozsvg mp3 mpeg mplayer ncurses network nls nntp
noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch
nojython nolog4j nooro noregexp norhino noxalan noxerces nptl nsplugin nvidia
odbc ogg oggvorbis opengl operanom2 oss pam pdflib perl php pic plotutils png
ppds python qemu-fast qt quicktime readline real rrdtool rtc ruby samba sdl
slang smime snmp socks5 softmmu speex spell sqlite srp sse sse2 ssl svg svga
tcltk tcpd theora threads tiff truetype truetype-fonts type1 type1-fonts unicode
usb v4l v4l2 vim-with-x vorbis wifi win32codecs wmf wxwin wxwindows xine xml
xml2 xmms xrandr xv xvid xvmc yaz zeroconf zlib linguas_en linguas_cs"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-04-28 02:41:17 UTC
/etc/portage/package.use is the place where to set ebuild specific use flags. Default use flags are defined in your profile (like default-linux/x86/2005.0) - xmms, ipv6 and encode are among those. To disable them globally, use make.conf, use package.use to disable them on per-ebuild basis.