Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60325 - `emerge --info` reports false USE flags
Summary: `emerge --info` reports false USE flags
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-14 06:38 UTC by jieryn
Modified: 2004-08-14 09:34 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 jieryn 2004-08-14 06:38:19 UTC
when i run emerge --info it reports a set of USE flags which are different than those found in /etc/make.conf

Reproducible: Always
Steps to Reproduce:
1. emerge --info
2.
3.



Expected Results:  
my make.conf:

% cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built 
this stage
ACCEPT_KEYWORDS="~amd64"
CFLAGS="-O2 -march=athlon64 -fweb -ftracer -pipe" 
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
USE="aim bzlib dvd emacs gcj gd icq imagemagick imap imlib2 ipv6 jabber \
     java javacomm javadoc javamail jce jdepend jikes junit kerberos krb4 \
     log4j mad makecheck md5sum mime mplayer msn multilib network nntp \
     pcre regexp rtc tiff usb xalan xerces xml xpm xvid yahoo -oss --cups \
     -nogcj --java --nptl -kde -gnome -libg++ -nls --qt -slang -berkdb \
     -arts -aalib -qt -motif"
RSYNC_RETRIES="3"
#GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/"
#SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
PORTDIR_OVERLAY="/usr/local/portage/ibm /usr/local/portage"
CCACHE_SIZE="5G"


% emerge info
Portage 2.0.50-r9 (default-amd64-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.
6.7-gentoo-r12)
=================================================================
System uname: 2.6.7-gentoo-r12 x86_64 4
Gentoo Base System version 1.5.2
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon64 -fweb -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/bind:/usr/X11R6/lib/X11/xkb:/usr/kde/3.2/share/config:/usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/gconf:/etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -fweb -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/
Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/ibm /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aim alsa amd64 apm avi bzlib cdr crypt dvd emacs encode esd foomaticdb 
gcj gd gdbm gif gpm gtk gtk2 icq imagemagick imap imlib imlib2 ipv6 jabber java 
javacomm javadoc javamail jce jdepend jikes jpeg junit kerberos krb4 libwww 
log4j mad makecheck md5sum mikmod mime mpeg mplayer msn multilib ncurses network 
nntp oggvorbis opengl pam pcre pdflib perl png python quicktime readline regexp 
rtc sdl spell ssl tcltk tcpd tiff truetype usb xalan xerces xml xml2 xmms xpm xv 
xvid yahoo zlib"
Comment 1 Søren Chrestensen 2004-08-14 07:53:12 UTC
It's probaly your make.defaults' USE that get in there. See the make.defaults in /usr/portage/profiles/'YOUR_PROFILE'/make.default.

/etc/make.conf overrides make.defaults.
Comment 2 jieryn 2004-08-14 08:52:52 UTC
i understand how USE flags propogate..  :-)  and as you have stated, "/etc/make.conf overrides make.defaults." ... so that would, to me at least, seem that `emerge info` should report the flags which are actually used??  i donno..  i guess i can't see how `emerge info` giving inaccurate (i.e. what is set in make.default) data can be at all helpful in a debug process.

since it is the total package of USE flags, each tier, stacked on top of each other which is what should be reported.  no??
Comment 3 Sven Wegener gentoo-dev 2004-08-14 08:59:58 UTC
As S
Comment 4 Sven Wegener gentoo-dev 2004-08-14 08:59:58 UTC
As Søren Chrestensen said, USE flags are incremental. We provide a basic set of
activated USE flags via the profiles and the user can tweak them via make.conf.
If you only want your USE flags from make.conf to be active you can put -* at the
front of the USE delcaration in make.conf.

And there are some errors in you make.conf. The --java in your USE won't remove
java from USE. It has to be -java. Same for cups, nptl and qt.
Comment 5 jieryn 2004-08-14 09:27:59 UTC
hi.  two issues, i will address the second first because it is shorter.  the --java tag, for example, is a bug related ufed.  they were generated that way by that program.  see http://bugs.gentoo.org/show_bug.cgi?id=60342

second, i believe i see my own error here.  for some reason i thought `emerge info` should list flags which i have explictly turned off, however, perhaps that isn't really all that useful either..  sorry.  :-)  
Comment 6 Sven Wegener gentoo-dev 2004-08-14 09:34:30 UTC
emerge --info only lists flags that have been activated. I'll close this as INVALID.