Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20611 - Virtuals need to be more specific
Summary: Virtuals need to be more specific
Status: RESOLVED DUPLICATE of bug 1891
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-07 21:44 UTC by Michael Stewart (vericgar) (RETIRED)
Modified: 2011-10-30 22:38 UTC (History)
2 users (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 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2003-05-07 21:44:02 UTC
I went to test Mozilla 1.3 which depends on virtuals/xft. I currently have xfree
4.2.1 installed. Portage assumed that I had the xft libs installed because
virtuals/xft pointed to xfree. I wasn't aware that mozilla had an xft
requiremnet until the configure failed. Portage should have reported this
dependancy. What I suggest is that the virtuals have multiple options and/or
include versions... so that virtuals/xft would point to >=xfree-4.3.0 or the
plain xft. Or maybe it could check the PROVIDE of the currently installed
version to see if it provides the virtual and if not the emerge fails gracefully.

Reproducible: Always
Steps to Reproduce:
1. Install xfree-4.2.1-r2
2. Attempt to install mozilla-1.3-r1

Actual Results:  
mozilla build fails complaining about not being able to find xft

Expected Results:  
showed xft as a dependancy

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-ck2 i586 AMD-K6(tm) 3D processor
GENTOO_MIRRORS="http://psivamp.garjasp.com/pub                         
http://gentoo.oregonstate.edu                
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss avi crypt cups encode gif jpeg mikmod mpeg ncurses pdflib png qt
quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline tetex svga
tcltk java mysql X sdl gpm tcpd pam libwww ssl python imlib oggvorbis gtk motif
opengl -3dnow -apm -arts -kde -gnome -libg++ -mmx -nls alsa dga directfb fbcon
flash gd gphoto2 imap mozilla perl pic samba tiff moznoirc moznomail
moznocompose qtmt"
COMPILER="gcc3"
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -O2 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2003-09-25 10:15:16 UTC
That's something for the mozilla/xfree teams
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2003-09-25 13:27:17 UTC
Michael, xfree 4.2.1 certainly doesn't PROVIDE virtual/xft...did you previously
have >=4.3.0-r2 installed? If so, it sounds like portage didn't update the
virtuals correctly. Also to confirm, could you 'grep xft /var/cache/edb/virtuals'?

Genone, I think the portage issue here is: What happens when one version
provides a virtual, another doesn't, and people switch between the two? Does
the virtual get added and removed in /var/cache/edb/virtuals appropriately?
He should not have virtual/xft from <=xfree-4.3.0-r1. A similar issue happens
with virtual/linux-sources when running multiple kernel sources.
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2003-09-25 14:37:27 UTC
If that's the case it's a dupe of bug 1891.
Comment 4 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2003-09-28 18:23:24 UTC
I'm not sure if this is still an issue or not, I've since rebuilt my system
and refined things. This very well might have been a transitional bug between
xfree and mozilla versions, in this case at least. What Donnie said seems
to be the core of the problem, is virtuals not updating correctly. 

Looking at bug 1861, it seems that this is a duplicate of that one. You can
resolve this one if you like.
Comment 5 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2003-09-28 18:24:19 UTC
correction... bug 1891... not 1861.
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2003-09-28 22:57:33 UTC

*** This bug has been marked as a duplicate of 1891 ***