Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47467 - ~cat/pkg-version dependency doesn't work with every option.
Summary: ~cat/pkg-version dependency doesn't work with every option.
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 47744 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-10 16:29 UTC by Simon Cooper
Modified: 2004-04-14 14:34 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 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. ***