New comment by klarasm on void-packages repository https://github.com/void-linux/void-packages/pull/40414#issuecomment-1309188970 Comment: I added ``` if [ -z "$CROSS_BUILD" ]; then makedepends+=" $(vopt_if gssapi musl-devel)" fi ``` to the template of version 1 so it only includes `musl-devel` when building natively for musl. It builds both natively and crosscompiled with this, but the crosscompiled version just fails silently (tested on rpi1). I also retested the crosscompiled version 2 (this PR) which still works.