From: ericonr <ericonr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Merged]: xbps-src: create $XBPS_MASTERDIR/tmp in chroot_prepare
Date: Thu, 11 Feb 2021 06:07:35 +0100 [thread overview]
Message-ID: <20210211050735._uPxijFkZqi5ZjQQ8DY_wIxmfmUwTAWYBZCcFJ1zdsQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-28584@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 868 bytes --]
There's a merged pull request on the void-packages repository
xbps-src: create $XBPS_MASTERDIR/tmp in chroot_prepare
https://github.com/void-linux/void-packages/pull/28584
Description:
Missing $XBPS_MASTERDIR/tmp caused ca-certificates and glibc-locales to
fail in the reconfigure step of binary-bootstrap, since a call to mktemp
(which I couldn't locate in source though) assumed /tmp in the chroot
would be present already.
This issue was reproducible reliably for me on NixOS by doing something
like:
rm -rf masterdir
./xbps-src binary-bootstrap
The workaround I found was:
mkdir -p masterdir/tmp # or alternatively ./xbps-src clean
# which also (re-)creates masterdir/tmp
./xbps-src binary-bootstrap
This workaround is now mirrored in chroot_prepare by ensuring that tmp
always exists.
prev parent reply other threads:[~2021-02-11 5:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-08 13:21 [PR PATCH] " sternenseemann
2021-02-10 0:44 ` ericonr
2021-02-10 7:40 ` sgn
2021-02-11 5:07 ` ericonr [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210211050735._uPxijFkZqi5ZjQQ8DY_wIxmfmUwTAWYBZCcFJ1zdsQ@z \
--to=ericonr@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).