New comment by sgn on void-packages repository https://github.com/void-linux/void-packages/issues/29603#issuecomment-803257432 Comment: On 2021-03-19 22:41:49-0700, Wayne Van Son ***@***.***> wrote: > I don't quite understand. When I use any other arch excluding aarch64*, I don't get this problem. What's the other arches? x86_64-musl and i686, I guess. They can run natively in x86_64 ;) > > I'm using contributing a package template that doesn't cross compile > (uses `haskell-stack`). I feel there shouldn't be any fluffing > around to get something like this to work, as I've followed the > instructions in the `README.md` for native compilation on > a different arch. Just mark it's as nocross. > > `qemu-aarch64-static` is available in my `"$PATH"`. > I copied to both masterdirs and the output is still the same. cp /usr/bin/qemu-aarch64-static $MASTERDIR/usr/bin/qemu-aarch64-static > > > enable binfmts support outside of chroot > > ... and reconfigure your $MASTERDIR > > How could I go about this? I'm unsure of what the commands required. xbps-install bintfmt-support update-binfmts -- Danh