New comment by jaminW55 on void-packages repository https://github.com/void-linux/void-packages/issues/49599#issuecomment-2028467197 Comment: > > I have not managed to successfully build it on Musl. > > Nobody did. It's not supported. Read here - [ptitSeb/box64#998 (comment)](https://github.com/ptitSeb/box64/issues/998#issuecomment-1742037374) I found the answer. So can you next time ;-) ! > > **fixed template (not tested)** You will need specific builds for, e.g., rpi4, or rk3588. Generic aarch64 won't work for those. See all the supported platforms [here](https://github.com/ptitSeb/box64/blob/main/docs/COMPILE.md). > > ```shell > # Template file for 'box64' > pkgname=box64 > version=0.2.6 > revision=1 > build_style=cmake > configure_args="-DNOGIT=1 -DNO_LIB_INSTALL=1" > hostmakedepends="perl python3" > short_desc="Linux Userspace x86_64 Emulator with a twist" > maintainer="jaminW55 " > license="MIT" > homepage="https://box86.org" > changelog="https://raw.githubusercontent.com/ptitSeb/box64/main/docs/CHANGELOG.md" > distfiles="https://github.com/ptitSeb/box64/archive/v${version}.tar.gz" > checksum=ef002041aeefec49efb9a2cb276ab4a99d048df0be06416b93b22e507e263f61 > conf_files="/etc/box64.box64rc" > nopie=yes > > case "$XBPS_TARGET_MACHINE" in > aarch64) configure_args+=" -DARM_DYNAREC=ON" ;; > riscv64) configure_args+=" -DRV64=1" ;; > x86_64) configure_args+=" -DLD80BITS=1 -DNOALIGN=1" ;; > *) broken="platform not supported" ;; > esac > > do_install() { > vbin build/box64 > vdoc docs/USAGE.md > vdoc docs/X64WINE.md > vconf system/box64.box64rc > vlicense LICENSE > pod2man --center "Manual" --release "box64 ${version}" \ > docs/box64.pod > box64.1 > vman box64.1 > } > ``` > > **fix-pod.patch** > > ```diff > diff --git a/docs/box64.pod b/docs/box64.pod > index 3da39c71a..489f158a4 100644 > --- a/docs/box64.pod > +++ b/docs/box64.pod > @@ -481,4 +481,6 @@ script. yyyy needs to be a full path to a valid x86_64 version of bash WOW. I've not seen some of these options in other packages. I'll add to my glibC Chroot environment and give it some test runs before making any needed additions. Thanks for the info as well!