New comment by furryfixer on void-packages repository https://github.com/void-linux/void-packages/issues/18282#issuecomment-578282816 Comment: `/bin/bash -x xbps-src binary-bootstrap` causes readlink to resolve incorrectly. `/bin/bash -x ./xbps-src binary-bootstrap` output is here: [https://pastebin.com/kJ0aVDEZ] I don't know where **mktemp** is called, neither **glibc-locales** or **ca-certificates** INSTALL scripts use it explicitly, but assume it must be called from within the chroot, since it expects /tmp to exist, and can not find it. mktemp works fine for me outside of chroot. xbps-src "zaps" and "cleans" the "masterdir/tmp" directory, but never creates it. For some reason, I need to create it now, and this resolves all errors..