Building the full APK locally on an x86_64 Linux host (rootful Docker, no
Docker Desktop) failed in the Xbox backend step and could not be rerun:
- The xodus-cli tests re-execute their own arm64 test binary, which needs an
aarch64 binfmt handler on the host. Without one the child runs through
/bin/sh ("Syntax error: & unexpected"). build-local.sh now checks for the
handler up front and prints the one-line fix.
- msixvc's streaming tests give each request 40 ms. Under qemu with the whole
suite in parallel they time out (28/30 pass in parallel, 30/30 serially),
so they run with one test thread when emulated. Native arm64 is unchanged.
- The backend container runs as root, so with rootful Docker its outputs in
the repo and the cache were root-owned and the next build_local.sh could not
remove them. The container now hands them back to the calling user on exit.
- README lists the missing requirements: Go, a host C compiler, both MinGW-w64
compilers (i686 with DWARF-2 exceptions; Homebrew's SJLJ build cannot link
Rust's i686-pc-windows-gnu) and the arm64 binfmt handler.
Verified with a full tools/build_local.sh run on SteamOS (x86_64): all three
backend test suites pass and the APK is release-signed.