Many python modules required py-setuptools_scm.
And setuptools_scm run 'git archive --prefix /usr/ports HEAD' on 'make stage'.
But it's too meaningless and careless, because they want its version,
not ports version.
SEE ALSO: https://github.com/pypa/setuptools_scm/issues/353
Sorry, I don't know how to fix, yet. I know some workaround:
- chmod 0000 /usr/local/libexec/git-core/git-archive
- pkg -y delete git
- mv /usr/ports/.git /usr/ports/.git.IGNORE and make install, then revert.
- etc, etc...
This is a duplicate of bug #258891.
Ah, OK, I see. #258891 is what I was looking for.
*** This bug has been marked as a duplicate of bug 258891 ***