There is a new pull request by Piraty against master on the void-packages repository https://github.com/Piraty/void-packages xbps-src-zap https://github.com/void-linux/void-packages/pull/15437 xbps-src: (zap) correctly empty the masterdir Instead of relying on a potentially outdated list of files and dirs to remove, just remove+recreate the whole masterdir. This previously led to leftover .xbps* files, which broke subsequent operations. See: #14476 A patch file from https://github.com/void-linux/void-packages/pull/15437.patch is attached