void-packages/common/xbps-src/shutils
sternenseemann 1384e928f7 xbps-src: create $XBPS_MASTERDIR/tmp in chroot_prepare
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.
2021-02-11 02:07:32 -03:00
..
build_dependencies.sh xbps-src: break out of following cyclic dependencies 2020-04-15 20:34:06 +02:00
bulk.sh shutils/bulk.sh: remove newlines from package list 2020-06-04 13:21:42 -05:00
chroot.sh xbps-src: create $XBPS_MASTERDIR/tmp in chroot_prepare 2021-02-11 02:07:32 -03:00
common.sh xbps-src: remove noarch 2021-01-20 13:09:59 +01:00
consistency_check.sh
cross.sh
pkgtarget.sh xbps-src: remove noarch 2021-01-20 13:09:59 +01:00
purge_distfiles.sh common/.../purge_distfiles.sh: fix template scan 2020-05-04 19:23:25 +02:00
show.sh shutils/show.sh: never show self deps for depends 2021-01-06 21:19:46 +01:00
update_check.sh update_check: update GNOME pattern for GNOME 40 2021-01-28 07:18:59 +07:00
update_hash_cache.sh