There is a new pull request by Johnnynator against master on the void-packages repository https://github.com/Johnnynator/void-packages cross https://github.com/void-linux/void-packages/pull/16086 xbps-src/shutils/cross.sh: error out if cross toolchain can't be compiled $rval was the return code of pkg_available and not of build.sh, since pkg_available returns 0. because of this install_cross_pkg() would always return 0 for success. Can be easily tested by running something like `./xbps-src -m masterdir-musl pkg dash -a aarch64` before and afterwards. A patch file from https://github.com/void-linux/void-packages/pull/16086.patch is attached