Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651214 - sys-apps/portage: {PKG_,}INSTALL_MASK support for exclusions
Summary: sys-apps/portage: {PKG_,}INSTALL_MASK support for exclusions
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 651804
  Show dependency tree
 
Reported: 2018-03-23 01:08 UTC by Zac Medico
Modified: 2018-07-02 18:51 UTC (History)
1 user (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 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:

https://archives.gentoo.org/gentoo-portage-dev/message/d6f4ca15a5bcd693ff6f63af0e717f5c
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):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=8f9cff73321b3ee5957357448819b505932e0e5c

commit 8f9cff73321b3ee5957357448819b505932e0e5c
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2016-05-22 06:40:13 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
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.
    
    Bug: https://bugs.gentoo.org/651214

 pym/portage/util/install_mask.py | 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.