Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 327177 - Portage should prefer masked version over non-existing one with || ( ) deps
Summary: Portage should prefer masked version over non-existing one with || ( ) deps
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High QA with 1 vote (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 381821 382551 682044 (view as bug list)
Depends on: 164457
Blocks: 155723 autounmask
  Show dependency tree
 
Reported: 2010-07-06 17:34 UTC by Samuli Suominen
Modified: 2019-04-29 07:59 UTC (History)
6 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 Samuli Suominen gentoo-dev 2010-07-06 17:34:24 UTC
$ sudo emerge -av zope-fixers

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "=dev-lang/python-3.2*".
(dependency required by "net-zope/zope-fixers-1.0" [ebuild])
(dependency required by "zope-fixers" [argument])
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-07-06 18:00:16 UTC
Dependencies contain:
|| ( =dev-lang/python-3.2* =dev-lang/python-3.1* )

Portage prints first dependency atom.
Comment 2 Samuli Suominen gentoo-dev 2010-07-06 18:27:56 UTC
Portage should prefer masked version over non-existing one with || ( ) deps then.
Comment 3 Samuli Suominen gentoo-dev 2010-07-06 18:29:37 UTC
To clarify:

- =dev-lang/python-3* in /etc/portage/package.mask
- dev-lang/python-3.1.2-r3 is in portage
- =dev-lang/python-3.2* is not in portage
Comment 4 Zac Medico gentoo-dev 2010-07-06 20:13:32 UTC
I guess we could consider this to be a variation of bug 164457, but with the stipulation that existing packages need to be distinguished from those that don't exist.
Comment 5 Mike Gilbert gentoo-dev 2011-09-06 17:36:09 UTC
*** Bug 381821 has been marked as a duplicate of this bug. ***
Comment 6 Mike Gilbert gentoo-dev 2011-09-11 01:58:29 UTC
*** Bug 382551 has been marked as a duplicate of this bug. ***
Comment 7 Zac Medico gentoo-dev 2019-03-30 18:07:39 UTC
*** Bug 682044 has been marked as a duplicate of this bug. ***
Comment 8 Zac Medico gentoo-dev 2019-04-28 10:08:35 UTC
The depgraph _select_atoms_highest_available method temporarily disables autounmask during atom selection. We want it to loop through the autounmask levels until it selects a satisfiable combination of atoms.
Comment 9 Zac Medico gentoo-dev 2019-04-29 07:59:45 UTC
I have a working autounmask patch here, but it needs to be fixed to revert unnecessary autounmask changes when appropriate:

https://github.com/gentoo/portage/pull/422