New comment by pullmoll on void-packages repository https://github.com/void-linux/void-packages/issues/21232#issuecomment-629484271 Comment: The easiest and safest way actually is to rebuild the entire chroot. This ensures that nothing is missed which could potentially go wrong with packages being built with different options in case the chroot is not yet ready. That is, after `./xbps-src bootstrap` is done and you have a bootstrapped chroot ready in your `masterdir`, remove all packages that were created (I think `rm -rf masterdir/binpkgs/*` or whererever you defined the masterdir with the `-m` option) and build `base-chroot` with your bootstrapped environment: `./xbps-src -N pkg base-chroot`. After this is done, you can then `./xbps-src binary-bootstrap` and everything should work as expected. Also only after this step you should try to cross build `base-chroot` for other architectures like: `./xbps-src -a i686 -N pkg base-chroot`.