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

Bug 327177

Summary: Portage should prefer masked version over non-existing one with || ( ) deps
Product: Gentoo Linux Reporter: Samuli Suominen (RETIRED) <ssuominen>
Component: Current packagesAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: QA CC: chewi, esigra, franz.trischberger, gentoo, ian, jaak, pacho, sam
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=573500
https://bugs.gentoo.org/show_bug.cgi?id=164457
https://bugs.gentoo.org/show_bug.cgi?id=788634
https://bugs.gentoo.org/show_bug.cgi?id=872227
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 164457    
Bug Blocks: 155723, 376695    

Description Samuli Suominen (RETIRED) 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 (RETIRED) 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 (RETIRED) 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