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

Bug 858596

Summary: sys-apps/baselayout in prefix breaks emerge of rsync and python
Product: Gentoo/Alt Reporter: hsk17
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal CC: base-system, sam, williamh
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=836114
https://bugs.gentoo.org/show_bug.cgi?id=913856
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: rsync build.log
emerge --info

Description hsk17 2022-07-17 15:20:16 UTC
Created attachment 791945 [details]
rsync build.log

sys-apps/baselayout-prefix installs a dummy sbin/openrc-run script
into a prefix installation.  after migration from baselayout-prefix to
baselayout, commit 2be24bf and bug 836114, there is no openrc-run at
all in a prefix file tree.  this breaks emerge of e.g. rsync or even
python:  these want to install an etc/init.d script (arguably useless
within prefix), and QA refuses to install a script with an invalid
shebang line.  probably breaks also emerge of any package using
newinitd in it's ebuild.  and needless to say, bootstrap-prefix.sh fails 
to finish.

what to do?  somehow conditionialize newinitd?
create a new package for prefix that provides the dummy openrc-run script?
Comment 1 hsk17 2022-07-17 15:21:31 UTC
Created attachment 791948 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-17 15:22:01 UTC
(I'll CC baselayout maintainers just in case it's useful.)
Comment 3 Fabian Groffen gentoo-dev 2022-07-17 15:29:39 UTC
right, need to bring back the wrappers again
Comment 4 Larry the Git Cow gentoo-dev 2022-07-17 15:50:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea3a7d8ebed102d8856e00cc1e7014994d0f503d

commit ea3a7d8ebed102d8856e00cc1e7014994d0f503d
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2022-07-17 15:49:34 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2022-07-17 15:50:13 +0000

    sys-apps/baselayout-2.8-r2: provide runscript for prefix-guest installs
    
    Closes: https://bugs.gentoo.org/858596
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 .../{baselayout-2.8-r1.ebuild => baselayout-2.8-r2.ebuild} | 14 ++++++++++++++
 sys-apps/baselayout/baselayout-9999.ebuild                 | 14 ++++++++++++++
 2 files changed, 28 insertions(+)