New comment by Duncaen on void-packages repository https://github.com/void-linux/void-packages/issues/39315#issuecomment-1249461270 Comment: `common/environment/build-style/go.sh` sets `CGO_ENABLED=1`, you would have to use `export CGO_ENABLED=0` in `pre-build()`.