Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78667 - Highlighting masked USE flags that should be on all the time for certain archs.
Summary: Highlighting masked USE flags that should be on all the time for certain archs.
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
Depends on:
Reported: 2005-01-19 06:03 UTC by Marcus Meng
Modified: 2005-01-19 15:12 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Meng 2005-01-19 06:03:28 UTC
Normally, when USE flags are enabled, they are marked in red when doing emerge -pv. This does not happen with masked USE flags that are force-enabled, such as "multilib" in the 2005.0 amd64 profile, or the 3dnow/sse/sse2/mmx USE flags in the amd64 profiles. They are simply marked with paranthesis to show that they cannot be modified by the user.

It might be good to highlight masked USE flags that are "always on", so that it's consistent with the rest of the USE flags displayed by emerge -pv.

Reproducible: Always
Steps to Reproduce:
For an example, on an 2005.0 amd64 computer, try doing an emerge -pv gcc and notice how multilib is masked and supposed to be enabled, but still blue color because of the USE flag masking.
Actual Results:  
emerge -pv gcc

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

Calculating dependencies ...done!
[ebuild     U ] sys-devel/gcc-3.4.3-r1 [3.4.3] -bootstrap +boundschecking -build
-debug +fortran +gcj +gtk -hardened (-ip28) (-multilib)* -multislot (-n32)
(-n64) +nls -nocxx +objc -static (-uclibc) 0 kB

Total size of downloads: 0 kB

Expected Results:  
Highlight the masked, but enabled USE flags.

Portage 2.0.51-r13 (default-linux/amd64/2005.0, gcc-3.4.3,
glibc-, 2.6.10-nitro1 x86_64)
System uname: 2.6.10-nitro1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 26 2004, 11:54:56)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/libtool:   1.5.2-r7
CFLAGS="-O2 -march=athlon64 -mmmx -m3dnow -msse2 -mfpmath=sse,387 -pipe"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -mmmx -m3dnow -msse2 -mfpmath=sse,387 -pipe"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/bmg-main
USE="amd64 X aac alsa anthy audiofile berkdb canna cjk crypt cups curl dga
directfb fam fbcon flac gdbm gif gnome gpm gstreamer gtk gtk2 imap immqt
immqt-bc ipv6 jack java jpeg libclamav mad mysql ncurses nls nntp nptl nptlonly
oggvorbis opengl pam perl php png python qt readline samba sdl skey slang spell
ssl tcltk tetex tiff truetype unicode xml xml2 xprint xv zlib"
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2005-01-19 07:04:44 UTC
There is no such thing as a USE flag that is forced on at this stage. You are free to disable any flags set by your profile.
Comment 2 SpanKY gentoo-dev 2005-01-19 15:12:49 UTC
umm, paranthesis means those USE flags are forced disabled, not forced enabled