I build on FreeBSD 13.2 from a tarball, not a git repository. Either the build is broken from tarballs, or perhaps some shell command fails and causes this.