Closed issue by Johnnynator on void-packages repository https://github.com/void-linux/void-packages/issues/14476 Description: ### System * xuname: *output of ``xuname`` (part of xtools)* * package: *affected package(s) including the version* ### Expected behavior `xbps-src zap` should remove every file in the zapped masterdir that is managed by xbps-src. ### Actual behavior Currently the `.xbps-${CROSS_ARCH}-done` files won't get removed, and therefore trying to cross compile from this masterdir will fail. ### Steps to reproduce the behavior ```./xbps-src -m masterdir-test binary-bootstrap ./xbps-src -m masterdir-test extract kcoreaddons -a aarch64 ./xbps-src -m masterdir-test zap ./xbps-src -m masterdir-test binary-bootstrap ./xbps-src -m masterdir-test pkg kcoreaddons -a aarch64 <- will fail ```