New comment by furryfixer on void-packages repository https://github.com/void-linux/void-packages/issues/18282#issuecomment-578461755 Comment: Thank you. I confirm that the error only occurs when run as uid 0. This is still true even if I (unwisely) test a change of all permissions in ..void-packages to 777. In the past this did not occur, and I have run xbps-src as root mostly because of the convenience of automatically building some packages from within a custom Void install script. Likely explanations that come to my mind should not have been solved by the creation of a masterdir/tmp directory as is the case, so more insights are welcome. I accept the will of the maintainers if the decision is to just not allow running xbps-src as root.