Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482854 - openrc, netifrc and baselayout are pulled by @system on prefixed install where they have no place
Summary: openrc, netifrc and baselayout are pulled by @system on prefixed install wher...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
: 482832 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-28 23:38 UTC by François Bissey
Modified: 2013-08-29 03:00 UTC (History)
2 users (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 François Bissey 2013-08-28 23:38:29 UTC
After syncing the tree yesterday I saw baselayout-2.2 being pulled on my prefix on macos. This is spite of the existence of baselayout-prefix.
After some analysis it became clear it was pulled by openrc and netifrc (which have a circular dependency on each other, solvable by useflag but still nice).
After masking netifrc and openrc I get the following diagnostics from portage:

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by net-misc/netifrc-9999
=sys-apps/openrc-9999 **
# required by sys-apps/openrc-9999[netifrc]
# required by @system
# required by @world (argument)
=net-misc/netifrc-9999 **

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by net-misc/netifrc-9999
# /Users/frb15/Desktop/Gentoo/etc/portage/package.mask/prefix:
=sys-apps/openrc-9999
# required by sys-apps/openrc-9999[netifrc]
# required by @system
# required by @world (argument)
# /Users/frb15/Desktop/Gentoo/etc/portage/package.mask/prefix:
=net-misc/netifrc-9999

Those should not be part of the system on prefix or possibly could accept baselayout-prefix as a substitute for baselayout.

Reproducible: Always
Comment 1 Alex Xu (Hello71) 2013-08-28 23:45:56 UTC
See bug 373219 and my advice in bug 373219 comment 78.

Perhaps I should have added a note that package.mask will not work.
Comment 2 François Bissey 2013-08-28 23:55:21 UTC
I was not expecting it to work really. I just wanted to make sure it was pulled by @system. It looks like OS X prefix have a manual install of functions.sh or is it part of baselayout-prefix?
Comment 3 Jonathan Callen (RETIRED) gentoo-dev 2013-08-29 02:59:36 UTC
+  29 Aug 2013; Jonathan Callen <jcallen@gentoo.org> packages:
+  Remove openrc from packages, not used in prefix (bug 482854)
+
Comment 4 Jonathan Callen (RETIRED) gentoo-dev 2013-08-29 03:00:28 UTC
*** Bug 482832 has been marked as a duplicate of this bug. ***