Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 858596 - sys-apps/baselayout in prefix breaks emerge of rsync and python
Summary: sys-apps/baselayout in prefix breaks emerge of rsync and python
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-17 15:20 UTC by hsk17
Modified: 2023-09-23 07:24 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
rsync build.log (build.log,26.14 KB, text/x-log)
2022-07-17 15:20 UTC, hsk17
Details
emerge --info (emerge--info,5.64 KB, text/plain)
2022-07-17 15:21 UTC, hsk17
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)