openpgp-ffi tests don't run from tarball (fatal: not a git repository (or any of the parent directories): .git)
I'm attempting to build a package for Void Linux for sequoia. I'm using https://gitlab.com/sequoia-pgp/sequoia/-/archive/v0.10.0/sequoia-v0.10.0.tar.bz2 as the source tarball. Running make check results in this error when it runs the openpgp-ffi tests:
make -Copenpgp-ffi test
make[1]: Entering directory '/builddir/sequoia-v0.10.0/openpgp-ffi'
cd .. ; cargo build -p sequoia-openpgp-ffi
Finished dev [unoptimized + debuginfo] target(s) in 0.09s
nm -g --defined-only \
/builddir/sequoia-v0.10.0/target/debug/libsequoia_openpgp_ffi.so \
| cut -d' ' -f3 | sed s/^_// | sort -u | grep pgp_ \
| while read SYM ; \
do git grep -q "$SYM" include || echo $SYM ; \
done | tee /builddir/sequoia-v0.10.0/target/debug/.check-headers ; \
! test -s /builddir/sequoia-v0.10.0/target/debug/.check-headers
fatal: not a git repository (or any of the parent directories): .git
pgp_arbitrary_writer_new
fatal: not a git repository (or any of the parent directories): .git
⋮
pgp_writer_stack_write_all
fatal: not a git repository (or any of the parent directories): .git
pgp_writer_write
make[1]: *** [Makefile:59: check-headers] Error 1
make[1]: Leaving directory '/builddir/sequoia-v0.10.0/openpgp-ffi'
make: *** [Makefile:56: check] Error 2