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

Bug 75878

Summary: Manual masking does not work for revision pkgs
Product: Portage Development Reporter: George Kraev <cg0def>
Component: Core - ConfigurationAssignee: Portage team <dev-portage>
Status: VERIFIED WORKSFORME    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description George Kraev 2004-12-27 22:22:28 UTC
When you tr to mask a package that is a revision of another instead of being just having a version number (ex. media-libs/freetype-2.1.9-r1) the mask does not work. If you remove the revision number from /etc/portage/package.mask it mask both the version and it's revision. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2004-12-27 22:32:09 UTC
you neglected to provide `emerge info` like the bug report page told you to

that said, it works just fine over here with portage-2.0.51-r8:

root@vapier 1 ~ # tail -n 1 /etc/portage/package.mask
=media-libs/freetype-2.1.9-r1
root@vapier 1 ~ # emerge freetype -p

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     UD] media-libs/freetype-2.1.9 [2.1.9-r1] 

root@vapier 0 ~ # rm /etc/portage/package.mask 
root@vapier 0 ~ # emerge freetype -p

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-libs/freetype-2.1.9-r1  
Comment 2 George Kraev 2004-12-27 22:39:24 UTC
sorry for the bug it is not real. Seems like I had another rule in the unmask file which was canceling the one that I was trying to add.
Comment 3 SpanKY gentoo-dev 2004-12-27 22:42:25 UTC
the files can be tricky like that :)

glad you got it sorted