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

Bug 340675

Summary: Allow package.mask repository atoms to work with wildcards
Product: Gentoo Linux Reporter: Alessandro Guido <ag>
Component: [OLD] UnspecifiedAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 185377    
Bug Blocks: 240187    

Description Alessandro Guido 2010-10-12 12:18:08 UTC
Use case:
On my system I use overlay A to have GNOME 2.32 ebuilds and overlay B to have media-sound/gpodder.
The problem comes when overlay B contains some GNOME 2.32 ebuilds too.

I think it could be useful to be able to do something like this in package.mask:

gnome-base/nautilus@B
gnome-base/gdm@B
...

or even better:

package.mask: */*@B 

package.unmask: media-sound/gpodder@B


Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2010-10-12 12:59:28 UTC

*** This bug has been marked as a duplicate of bug 185377 ***
Comment 2 Zac Medico gentoo-dev 2010-10-12 13:01:40 UTC
(In reply to comment #0)
> I think it could be useful to be able to do something like this in
> package.mask:
> 
> gnome-base/nautilus@B
> gnome-base/gdm@B
> ...
> 
> or even better:
> 
> package.mask: */*@B 
> 
> package.unmask: media-sound/gpodder@B

You can do all that with >=portage-2.2_rc90, but it's :: rather than @.
Comment 3 Alessandro Guido 2010-10-12 13:56:17 UTC
(In reply to comment #2)
> You can do all that with >=portage-2.2_rc90, but it's :: rather than @.

Ah, I see, thanks! Sorry for the noise.

However the "*/*" wildcard seems to not work:
--- Invalid atom in /etc/portage/package.mask: */*::keruspe

Comment 4 Zac Medico gentoo-dev 2010-10-12 14:03:06 UTC
(In reply to comment #3)
> However the "*/*" wildcard seems to not work:
> --- Invalid atom in /etc/portage/package.mask: */*::keruspe

Hmm, this seems like a bug. I'll reopen this bug for this issue, and change the description.
Comment 6 Zac Medico gentoo-dev 2010-10-13 17:29:33 UTC
This is fixed in 2.2_rc95.