Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120589 - emerge -va amarok (or world) enables kde USE flag, despite make.conf
Summary: emerge -va amarok (or world) enables kde USE flag, despite make.conf
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-27 17:12 UTC by Simon Ruggier
Modified: 2006-01-29 15:22 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 Simon Ruggier 2006-01-27 17:12:51 UTC
You can see at the bottom that I have a pretty big set of USE flags ( I don't know how it compares).  Among them, in /etc/make.conf, I have '-kde' set.  One would expect that running 'emerge uND world' would leave this alone, and all emerged packages would use -kde.  However, after running 'emerge --sync' today, this has changed.  As seen below, 'emerge -vuand amarok' (and 'emerge -vuaND world' as well) shows amarok being reinstalled with +kde.  This isn't a big deal, but it seems odd to me and so I'm filing a bug.


 # cat /etc/portage/package.use
media-video/totem -nsplugin
dev-java/blackdown-jdk -doc
media-sound/amarok -arts # uses 3.4 kde stuff
net-www/apache -threads


 # USE=-kde emerge -vnp amarok

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

Calculating dependencies ...done!

Total size of downloads: 0 kB


 # emerge -vp amarok

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

Calculating dependencies ...done!
[ebuild  NS   ] kde-base/arts-3.4.3  +alsa +arts -artswrappersuid -debug +esd -hardened -jack +kdeenablefinal +mp3 +nas +vorbis +xinerama 922 kB
[ebuild  NS   ] kde-base/kdelibs-3.4.3-r1  +alsa +arts +cups -debug +doc +jpeg2k +kdeenablefinal -kerberos -openexr +spell +ssl +tiff +xinerama -zeroconf 16,482 kB
[ebuild  NS   ] kde-base/kdebase-data-3.4.3  +arts -debug +kdeenablefinal -kdexdeltas +xinerama 21,900 kB
[ebuild  NS   ] kde-base/kdesu-3.4.1  +arts -debug +kdeenablefinal -kdexdeltas +xinerama 21,907 kB
[ebuild  NS   ] kde-base/khotkeys-3.4.3  +arts -debug +kdeenablefinal -kdexdeltas +xinerama 0 kB
[ebuild  NS   ] kde-base/kcminit-3.4.1  +arts -debug +kdeenablefinal -kdexdeltas +xinerama 0 kB
[ebuild  NS   ] kde-base/khelpcenter-3.4.3  +arts -debug +kdeenablefinal -kdexdeltas +xinerama 0 kB
[ebuild  NS   ] kde-base/kcontrol-3.4.3  +arts -debug +ieee1394 +kdeenablefinal -kdexdeltas +logitech-mouse +opengl +ssl +xinerama 0 kB
[ebuild  N    ] kde-base/kdialog-3.4.1  +arts -debug +kdeenablefinal -kdexdeltas +xinerama 0 kB
[ebuild  N    ] dev-libs/cyrus-sasl-2.1.20  -authdaemond +berkdb +gdbm +java -kerberos -ldap +mysql +pam -postgres +ssl -static 1,733 kB
[ebuild  N    ] kde-base/kdebase-kioslaves-3.4.3  +arts -debug +hal +kdeenablefinal -kdexdeltas -ldap -openexr +samba +xinerama 8 kB
[ebuild  NS   ] kde-base/libkonq-3.4.3  +arts -debug +kdeenablefinal -kdexdeltas +xinerama 0 kB
[ebuild  N    ] kde-base/konqueror-3.4.3  +arts -debug +java +kdeenablefinal -kdexdeltas +xinerama 0 kB
[ebuild   R   ] media-sound/amarok-1.3.8  -arts -debug +flac +gstreamer +kde* +mp3 +musicbrainz +mysql -noamazon +opengl -postgres -visualization +vorbis +xine +xinerama -xmms 0 kB


# emerge --info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Mobile AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -msse2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -msse2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/etc/portage/overlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d a52 aac aalib acpi alsa apache2 apm arts asf asm audiofile avi bash-completion berkdb bitmap-fonts bl bootsplash bzip2 cairo cddb cdparanoia cdr cjk cpudetection crypt cscope cups dbus doc dts dv dvd dvdr dvdread dvi edl eds emboss encode esd exif expat fam fbcon ffmpeg firefox flac foomaticdb fortran gd gdbm gif glitz glut gmp gnome gnutls gpm gs gstreamer gtk gtk2 gtkhtml hal idn ieee1394 imlib ipv6 java javascript joystick jpeg jpeg2k kdeenablefinal lcms libcaca libg++ libwww live logitech-mouse lzo mad matroska md5sum mikmod mmx mmxext mng motif mp3 mpeg musicbrainz mysql nas nautilus ncurses network new-login nfs nls nntp nptl nptlonly nsplugin offensive ogg oggvorbis on-the-fly-crypt openal opengl oss pam pcmcia pcre pda pdflib perl png python qt quicktime readline real rtc samba sasl sdl slp speex spell sse sse2 ssl svg svga t1lib tcpd tetex tga theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd vidix vim-with-x vorbis win32codecs xanim xine xinerama xml2 xpm xprint xrandr xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-27 23:48:32 UTC
Remove arts from your use flags...
Comment 2 Simon Ruggier 2006-01-29 03:05:45 UTC
whoa, not so fast..  if you read my emerge output or my package.use, you'd see that yes, I've gotten rid of arts.  The reason I filed this bug is because amarok is showing +kde, and I have -kde entered into my make.conf.  This doesn't make sense.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-01-29 03:30:12 UTC
(In reply to comment #2)
> whoa, not so fast..  if you read my emerge output or my package.use, you'd see
> that yes, I've gotten rid of arts.  The reason I filed this bug is because
> amarok is showing +kde, and I have -kde entered into my make.conf.  This
> doesn't make sense.

Look, you have USE=kde enabled for amarok, you have arts enabled globally and are wondering why amarok depends on KDE? You are not entirely serious, are you? Fix you use flags instead of filing bugs.
Comment 4 Simon Ruggier 2006-01-29 15:19:57 UTC
(In reply to comment #3)
> Look, you have USE=kde enabled for amarok, you have arts enabled globally and
> are wondering why amarok depends on KDE? You are not entirely serious, are you?
> Fix you use flags instead of filing bugs.
> 
Obviously, if the kde USE flag is enabled, then Amarok will depend on KDE stuff, but this isn't my complaint.  The whole point of this bug is that yes, I've fixed my use flags, but emerge still thinks that I want USE=kde with amarok.  Like I said before, in my make.conf, I have USE="-kde", you can see it below.  What I would expect with emerge would be for 'USE=-kde emerge -vnp amarok' and 'emerge -vnp amarok' to have identical output, but they don't.

I just figured out what the problem was.  In my package.use I had:

media-sound/amarok -arts # uses 3.4 kde stuff

Emerge wasn't ignoring the comment at the end of the line, which contains the word kde.  I can file a separate bug for that.  I also ask that you try to understand what I'm complaining about and take a look at my USE flags before you lose your temper.
Comment 5 Simon Ruggier 2006-01-29 15:22:56 UTC
Sorry for the spam, but I'd just like to clarify, when I said you can see it below, I was referring to my pasted in /etc/make.conf, which I removed once I figured out what the problem was.