Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 167401

Summary: --newuse argument doesn't work correctly with kde-meta packages
Product: Portage Development Reporter: Avuton Olrich <avuton>
Component: Core - Interface (emerge)Assignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: 2.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Avuton Olrich 2007-02-17 23:06:49 UTC
When installing a new Gentoo distribution I forgot to add the xinerama USE flag, so I thought I could just add it and run --newuse. When running --newuse /none/ of the kde-meta packages were selected for reemerge, though most, if not all use it.

Reproducible: Always

Steps to Reproduce:
1. Set xinerama use flag to off
2. emerge all kde-meta packages
3. Set xinerama use flag to on
4. emerge --newuse world (or kde-meta for that matter)

Actual Results:  
Got a few unrelated packages.

Expected Results:  
Expected to begin reemerging of all (necessary) kde-meta packages

Portage 2.1.2-r9 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r0, 2.6.20-gentoo x86_64)
=================================================================
System uname: 2.6.20-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 17 Feb 2007 13:27:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O1 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O1 -pipe -ggdb"
DISTDIR="/mnt/linear/distfiles"
FEATURES="# autoconfig ccache collision-protect distlocks metadata-transfer nostrip parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/linear/portage"
PORTDIR_OVERLAY="/mnt/linear/layman/mpd /mnt/linear/layman/musicbrainz /mnt/linear/layman/sunrise /mnt/linear/layman/pro-audio /mnt/linear/layman/mozilla /mnt/linear/layman/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3ds 64bit 7zip X a52 aac aalib ace acpi addbookmarks aim alac alias alsa amarok amazon amd64 animgif arj artist-screen asf async autoreplace avahi backtrace berkdb binary-drivers bittorrent boost branding bzip2 cairo ccache cdaudio cdda cddb cdinstall cdparanoia cdr cdrom cdsound cg chm cli clock-screen colordiff connectionstatus contactnotes cracklib crosscompile crypt css cups curl curlwrappers cvs daap dbus debug depth32 divx dlloader dmi dnotify dri dts dv dvd dvdr dvdread dvi dynamic editor elf emovix encode excel exif expat fam fat ffmpeg firefox fontconfig ftp fuse gadu gaim gdb gdbm gif glib glut gmedia gnutls gpm gstreamer gtalk gzip hal history hwmixer ical icq icu id3 ieee1394 image imagemagick inifile inkjar inquisitio ipv6 irc ithreads jabber java java-external java5 javascript jfs jni joystick jpeg jpeg2k kde kdecards kdehiddenvisibility key-screen kipi lame largefile lcms lha libnotify libwww lirc live lm_sensors logitech-mouse lvm2 lyrics-screen lzo lzw mad math matroska md5 md5sum meanwhile mikmod mime mixer mjpeg mmap mng mods mouse mozbranding mozsha1 mozsvg mp3 mp3rtp mp4 mp4live mpd mpeg mpeg2 msn mtp multi-tty musepack music musicbrainz ncurses net new-login nfs nntp no-old-linux nodoc nolvm1 nonfsv4 nowlistening nptl nptlonly nsplugin ntfs ntp nvidia offensive ogg openal openexr opengl openssh openssl oscar pam pcre pcsc-lite pda pdf perl plugins pmount png profile pulseaudio python qt3 qt3support qt4 quicktime rar readline realmedia reiser4 reiserfs rtc rtsp ruby scanner sdl sdl-sound sdlaudio search-screen session sharedmem sms sndfile sockets sound speex spell ssl statistics stats stream subversion svg svgz sysfs syslog szip t1lib theora threads threadsafe tidy tiff truetype type1 udev uml unicode unzip upnp usb uudeview uuencode v4l2 visualization vnc vorbis vorbis-psy wavpack wma wmf wmp xcb xcf xcomposite xine xinerama xorg xprint xrandr xscreensaver xulrunner xv xvid xvmc yahoo yv12 zeroconf zip zlib zsh-completion" ALSA_CARDS="emu10k1 ca0106" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-17 23:19:51 UTC
(In reply to comment #0)
> so I thought I could just add it and run --newuse. When running --newuse
> /none/ of the kde-meta packages were selected for reemerge, though most, if not
> all use it.

# pquery --raw --has-use=xinerama | grep kde- | grep meta
kde-misc/metabar-0.7
kde-misc/metabar-0.8

Doesn't seem like "most", pretty much seems like none, more like...
Comment 2 Avuton Olrich 2007-02-17 23:25:00 UTC
Look again

sbh@rocket ~ % grep xinerama /mnt/linear/portage/eclass/kde.eclass
IUSE="debug xinerama elibc_FreeBSD"
        xinerama? ( x11-proto/xineramaproto )"
RDEPEND="xinerama? ( x11-libs/libXinerama )"
                                myconf="$myconf --with-x --enable-mitshm $(use_with xinerama) --with-qt-dir=${QTDIR} --enable-mt --with-qt-libraries=${QTDIR}/$(get_libdir)"

Then, another way you can verify rather than invaliding people's bugs at random is to do a -pv on any kde package.
Comment 3 Avuton Olrich 2007-02-17 23:25:27 UTC
this is a bug.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-02-17 23:25:41 UTC
Use -D.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-02-17 23:27:05 UTC
What's said above. -meta does *not* have xinerama use flag.
Comment 6 Avuton Olrich 2007-02-17 23:29:11 UTC
Aah, ok, Thanks Diego, no thanks to Jakub for the shotgun troubleshooting.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-02-18 00:12:05 UTC
(In reply to comment #6)
> no thanks to Jakub for the shotgun troubleshooting.

This is not a support forum, move to forums.gentoo.org or #gentoo with such stuff please.