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

Bug 47467

Summary: ~cat/pkg-version dependency doesn't work with every option.
Product: Gentoo Linux Reporter: Simon Cooper <thecoop>
Component: New packagesAssignee: Portage team <dev-portage>
Status: RESOLVED WORKSFORME    
Severity: normal CC: albin, lu_zero
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Simon Cooper 2004-04-10 16:29:27 UTC
ati-drivers-extra depends on ~media-video/ati-drivers-${PV}, which means ati-drivers-2.7.6-r1 doesnt apply to this. Therefore ati-drivers-2.7.6 wants to be emerged each time you do emerge -pUD world if you have ati-drivers-2.7.6-r1 emerged. dependancies of ati-drivers-extra-2.7.6 need to be updated to include ati-drivers-2.7.6-r1

Reproducible: Always
Steps to Reproduce:
Comment 1 Luca Barbato gentoo-dev 2004-04-11 11:17:05 UTC
seems that there is a problem with ~cat/pkg-version, the issue is fixed with a workaround, reassinging to dev-portage
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2004-04-12 16:07:19 UTC
Looks like it works to me... Reopen if you have something more specific

>>> portage.portdb.match("~media-video/ati-drivers-3.7.6")
['media-video/ati-drivers-3.7.6', 'media-video/ati-drivers-3.7.6-r1']

>>> portage.portdb.xmatch("bestmatch-visible", "~media-video/ati-drivers-3.2.8")
'media-video/ati-drivers-3.2.8-r1'

>>> portage.portdb.match(">=media-video/ati-drivers-2.7.6")
['media-video/ati-drivers-3.2.8', 'media-video/ati-drivers-3.7.6', 'media-video/ati-drivers-3.2.5', 'media-video/ati-drivers-3.2.0', 'media-video/ati-drivers-2.9.12', 'media-video/ati-drivers-3.7.6-r1', 'media-video/ati-drivers-3.2.5-r1', 'media-video/ati-drivers-3.2.4', 'media-video/ati-drivers-3.2.8-r1', 'media-video/ati-drivers-2.9.13-r1', 'media-video/ati-drivers-2.9.13']
Comment 3 Luca Barbato gentoo-dev 2004-04-14 14:34:38 UTC
*** Bug 47744 has been marked as a duplicate of this bug. ***