New comment by TinfoilSubmarine on void-packages repository https://github.com/void-linux/void-packages/pull/32974#issuecomment-920896609 Comment: I am working on building on x86_64-musl currently. I am having some issues with part of the build though, I'll post the log here later. I already had to add an additional dependency (`gettext-devel`) for musl to build, and it also incorrectly detects the RID as `linux-x64` instead of `linux-musl-x64` unless `/etc/os-release` is present, so I added `runit-void` as well, which is a bit hack-y. I've already detailed the issue in https://github.com/dotnet/source-build/issues/2459. One thing that I need to understand is the architectures this should target. Currently if you pass `/p:Platform="${_foreign_architecture}"` to `build.sh` it downloads an Ubuntu (or Alpine) rootfs for the target architecture and runs under QEMU, which doesn't seem to be acceptable, especially since some of the tooling needed (`qemu-debootstrap` to name one) to facilitate this isn't available in void-packages currently. I've added `nocross=yes` to the template, but theoretically this should still be buildable as long as the target arch is the same as the host arch. Is this something we can do with e.g. a new build_helper like `build_helper=qemu`, or should this just be left as `nocross=yes`?