* On 2025-12-28 at 16:48 GMT, Benny Siegert wrote:
On Fri, 26 Dec 2025, Jonathan Perkin wrote:Do you have a mk.conf override at all?No, but I have figured it out. In the config file, I set env.DISTDIR to /usr/pkgsrc/distfiles, which is of course read-only. Now that I changed it to something else, it works totally fine.
Ah yes that would do it.
One thing I did see: fontconfig and dbus (IIUC) leave around files under /var in the sandboxes, which causes an error at the end of the build.
Yeh, this is definitely something that will need adding to. Please send me a list of any files you find that cause this and I'll get them added to post-build (or if that ends up untenable to manage then perhaps switch to having /var be a full tmpfs by default).
My custom illumos sandbox scripts have avoided a final "rm -rf chroot" by being careful with what is deleted and ensuring only a safe rmdir is required at the end, and I really want to have the same in bob if at all possible.
Thanks, -- Jonathan Perkin pkgsrc.smartos.org Open Source Complete Cloud www.tritondatacenter.com