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

Bug 651214

Summary: sys-apps/portage: {PKG_,}INSTALL_MASK support for exclusions
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: Core - ConfigurationAssignee: Portage team <dev-portage>
Severity: normal CC: joakim.tjernlund
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: All   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 651804    

Description Zac Medico gentoo-dev 2018-03-23 01:08:31 UTC
There's a patch set available here, but it unnecessarily includes INSTALL_MASKEDed files in CONTENTS (for bug 364633) which should be factored out since it's buggy (asymmetric collision-protect behavior) and introduces significant complexity which is not needed for exclusion support:
Comment 2 Larry the Git Cow gentoo-dev 2018-03-28 06:52:46 UTC
The bug has been referenced in the following commit(s):

commit 8f9cff73321b3ee5957357448819b505932e0e5c
Author:     Michał Górny <>
AuthorDate: 2016-05-22 06:40:13 +0000
Commit:     Zac Medico <>
CommitDate: 2018-03-28 06:28:17 +0000

    {,PKG_}INSTALL_MASK: Support exclusions (bug 651214)
    Allow INSTALL_MASK patterns to start with '-' to indicate that
    a specific match is to be excluded from being masked. In this case,
    the last matching pattern determines whether the file is actually
    filtered out or kept.

 pym/portage/util/ | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)}
Comment 3 Zac Medico gentoo-dev 2018-07-02 18:51:19 UTC
Fixed in portage-2.3.40-r1.