Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118740 - /etc/portage/package.use handling broken
Summary: /etc/portage/package.use handling broken
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-11 23:20 UTC by Dirk Heinrichs
Modified: 2006-01-12 03:15 UTC (History)
1 user (show)

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 Dirk Heinrichs 2006-01-11 23:20:32 UTC
Whenever I switch on a USE flag for a single package via /etc/portage/package.use, after the next "emerge-webrsync" "emerge -DNuvp world" shows that all other packages with this USE flag would need an update, too. This happens only with "<use_flag>", not "-<use_flag>".

Example: I switched bogofilter from berkdb to sqlite.

# grep sqlite /etc/portage/package.use
mail-filter/bogofilter sqlite -berkdb

# emerge -DNuvp world

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

Calculating world dependencies ...done!
[ebuild   R   ] x11-libs/qt-3.3.5  USE="cups doc gif opengl sqlite* zlib -debug -examples -firebird -immqt -immqt-bc -ipv6 -mysql -nas -odbc -postgres -xinerama" 0 kB
[ebuild     U ] media-fonts/unifont-1.0-r3 [1.0-r2] USE="X" 0 kB
[ebuild  NS   ] dev-db/sqlite-2.8.16-r2  USE="doc nls -tcltk" 0 kB
[ebuild   R   ] app-backup/bacula-1.36.3-r2  USE="X ncurses postgres readline sqlite* tcpd -client-only -gnome -mysql -static" 0 kB
[ebuild   R   ] media-libs/libsndfile-1.0.12-r1  USE="flac sqlite* -static" 0 kB
[ebuild     U ] media-fonts/artwiz-fonts-2.4-r2 [2.4-r1] 0 kB
[ebuild     U ] media-fonts/terminus-font-4.14-r1 [4.14] USE="X" 0 kB

Total size of downloads: 0 kB

# emerge info|grep sqlite
USE="x86 X Xaw3d a52 aac acl acpi activefilter alsa aotuv arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 caps cdda cddb cdio cdparanoia cdr chipcard cpudetection crypt cups curl dlloader doc dri dtaus dts dv dvd dvdread edl emacs emboss encode exif expat fam ffmpeg flac font-server foomaticdb ftp gd-external gdbm geldkarte gif glut gmp gnutls gpm gstreamer gtk2 guile hardened hbci httpd i8x0 icq idn imagemagick imap imlib ipppd irmc isdnlog jpeg jpeg2k kcal kde latex lcms ldap ldapsam libg++ libwww lm_sensors lzo mad madwifi maildir mbox mime mjpeg mng motif mozsvg mp3 mpeg mplayer mule musicbrainz ncurses nls no-old-linux noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro noregexp norhino noxalan noxerces nptl nptlonly nsplugin objc ofx ogg oggvorbis openexr opengl pam pam_console pcre pdflib perl perlsuid pg-intdatetime pic png ppds pppd pwdb python qt quicktime rdesktop readline real recode rtc samba savedconfig slp sockets socks5 speedo speex spell sql sqlite sse ssl stream subversion svg symlink sysfs tcpd tetex theora threads tiff toolbar truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vidix vim-with-x vlm vorbis win32codecs wxwindows xine xml2 xosd xprint xscreensaver xv xvid xvmc zeroconf zlib elibc_glibc kernel_linux linguas_de userland_GNU"

To solve this, I had to add "-sqlite" to /etc/make.conf.




Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.5-vanilla, glibc-2.3.6-r2, 2.6.15 i686)
=================================================================
System uname: 2.6.15 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.0_pre13
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -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/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/gentoo/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.osuosl.org"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/gentoo/build"
PORTDIR="/gentoo/portage"
PORTDIR_OVERLAY="/gentoo/build/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac acl acpi activefilter alsa aotuv arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 caps cdda cddb cdio cdparanoia cdr chipcard cpudetection crypt cups curl dlloader doc dri dtaus dts dv dvd dvdread edl emacs emboss encode exif expat fam ffmpeg flac font-server foomaticdb ftp gd-external gdbm geldkarte gif glut gmp gnutls gpm gstreamer gtk2 guile hardened hbci httpd i8x0 icq idn imagemagick imap imlib ipppd irmc isdnlog jpeg jpeg2k kcal kde latex lcms ldap ldapsam libg++ libwww lm_sensors lzo mad madwifi maildir mbox mime mjpeg mng motif mozsvg mp3 mpeg mplayer mule musicbrainz ncurses nls no-old-linux noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro noregexp norhino noxalan noxerces nptl nptlonly nsplugin objc ofx ogg oggvorbis openexr opengl pam pam_console pcre pdflib perl perlsuid pg-intdatetime pic png ppds pppd pwdb python qt quicktime rdesktop readline real recode rtc samba savedconfig slp sockets socks5 speedo speex spell sql sse ssl stream subversion svg symlink sysfs tcpd tetex theora threads tiff toolbar truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vidix vim-with-x vlm vorbis win32codecs wxwindows xine xml2 xosd xprint xscreensaver xv xvid xvmc zeroconf zlib elibc_glibc kernel_linux linguas_de userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2006-01-11 23:38:22 UTC
Don't really see the problem so far. Need more info anyway, especially
- output of `emerge -pv bogofilter`
- contents of /var/db/pkg/mail-filter/bogofilter*/USE and PKGUSE
Comment 2 Zac Medico gentoo-dev 2006-01-11 23:44:11 UTC
This seems like typical auto-use behavior.  When dev-db/sqlite is installed, the sqlite USE flag is automatically enabled globally.  For reference, see use.defaults in `man portage` and USE_ORDER in `man 5 make.conf`.  Note that auto-use is very unpopular and will likely be removed in the future.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-01-12 00:33:51 UTC
(In reply to comment #2)
> This seems like typical auto-use behavior.

Yeah... 

@Dirk: Bad example, try with something that's not in /usr/portage/profiles/base/use.defaults

I remember at least two invalid bugs in last week caused by auto use; I'd really like to see this annoying feature go rather sooner than later.
Comment 4 Dirk Heinrichs 2006-01-12 01:42:47 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > This seems like typical auto-use behavior.
> 
> Yeah... 
> 
> @Dirk: Bad example, try with something that's not in
> /usr/portage/profiles/base/use.defaults

From looking at this file, this seems like hard to find.

> I remember at least two invalid bugs in last week caused by auto use; I'd
> really like to see this annoying feature go rather sooner than later.

I'd second that. I switched it off via USE_ORDER, now.
Comment 5 SpanKY gentoo-dev 2006-01-12 03:15:49 UTC
rgr