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

Bug 37638

Summary: qt depends on vanilla-sources when an alternative kernel is already installed
Product: Gentoo Linux Reporter: baz
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description baz 2004-01-08 13:20:38 UTC
I try to keep things more up-to-date by running emerge world with the -uUD options.

qt wants to upgrade from 3.2.3 to 3.2.3-r1, but is pulling in vanilla-sources-2.4.24 as a dependency, even though I already have mm-sources 2.6.1-rc1-r2 installed.

emerge -uUpv world shows just the qt upgrade, so it's the -D flag that's causing the problem.

Reproducible: Always
Steps to Reproduce:
1. emerge -uUDpv world, this shows a variety of packages with vanilla-sources at the top.
2. emerge -uUDpv qt shows just the qt upgrade and the new vanilla-sources package, so the dependancy must be in qt.
3. emerge -uUpv qt shows just the qt upgrade, so it's the -D flag that's causing the problem.

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

Calculating dependencies ...done!
[ebuild  N    ] sys-kernel/vanilla-sources-2.4.24  -build 
[ebuild     U ] x11-libs/qt-3.2.3-r1 [3.2.3] +cups -nas -postgres +opengl -mysql
-odbc +gif -doc 


Expected Results:  
Just showed the qt upgrade, without installing the kernel package.  This does
happen with an emerge -uUpv qt, instead of the emerge -uUDpv qt.

zaphod root # emerge info
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.1-mm2)
=================================================================
System uname: 2.6.1-mm2 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.3.10
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm avi cdr crypt cups dvd encode esd foomaticdb gif gphoto2
gtk gtk2 imap imlib java jpeg mmx mpeg ncurses nls oggvorbis opengl oss pam png
readline spell ssl tcpd tiff transcode truetype unicode usb v4l x86 xml2 xv xvid
zlib"

zaphod root #
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-01-08 14:57:42 UTC
this isn't really a bug.  it's being pulled into to satisfying one of the virtual dependencies.  perhaps virtual/kernel or another...not sure which one really.
Comment 2 baz 2004-01-08 14:59:48 UTC
Shouldn't mm-sources satisfy virtual-kernel?

Any way I can confirm which virtual dependency it is?

Or should I just try not to do this? :)
Comment 3 SpanKY gentoo-dev 2004-01-08 17:39:26 UTC
do you have vanilla-sources in /var/cache/edb/virtuals ?
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2004-01-08 23:29:51 UTC
This is an issue with your /var/cache/edb/virtuals file, as SpankY said.  Make sure mm-sources is the first one in the list to satisfy virtual/kernel and related in that file.
Comment 5 SpanKY gentoo-dev 2004-01-09 16:29:01 UTC
be assured there are bugs open to fix portage to handle this 'better'