This is on 13-RELEASE from install media dated 20210409 and ports tree cloned this morning. My only change from defaults options, is the omission of GITWEB: OPTIONS_FILE_SET+=CONTRIB OPTIONS_FILE_SET+=CURL OPTIONS_FILE_SET+=CVS OPTIONS_FILE_UNSET+=GITWEB OPTIONS_FILE_UNSET+=GUI OPTIONS_FILE_UNSET+=HTMLDOCS OPTIONS_FILE_SET+=ICONV OPTIONS_FILE_SET+=NLS OPTIONS_FILE_SET+=P4 OPTIONS_FILE_SET+=PCRE2 OPTIONS_FILE_SET+=PERL OPTIONS_FILE_SET+=SEND_EMAIL OPTIONS_FILE_SET+=SUBTREE OPTIONS_FILE_UNSET+=SVN The build fails at: ===> Installing contributed scripts /bin/mkdir -p /usr/ports/devel/git/work-default/stage/usr/local/share/git-core/contrib cp -f -R /usr/ports/devel/git/work-default/git-2.31.1/contrib/* /usr/ports/devel/git/work-default/stage/usr/local/share/git-core/contrib cp: /usr/ports/devel/git/work-default/git-2.31.1/contrib/credential/netrc/test.netrc.gpg: Function not implemented *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/git As a ports MAINTAINER. This makes it pretty much impossible to maintain ports. :-( Quick remediation would be GREATLY appreciated. :-) Thanks! --Chris
For the sake of clarity. This on devel/git DISTVERSION= 2.31.1
OK upon closer examination: /usr/ports/devel/git/work-default/git-2.31.1/contrib/credential/netrc/test.netrc.gpg is a ZERO length file. Which is why it fails. HTH --Chris
Created attachment 224947 [details] patch for devel/git that corrects install of contrib files OK the attached patch (diff) gets past the ZERO length problem, and permits a successful install. But DOESN'T explain why the file in question ( contrib/credential/netrc/test.netrc.gpg ) is an empty file to begin with. The patch attached allows for an install of devel/git Tested on 13-RELEASE Thanks! --Chris
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c3dd3472dd49bc570f01294d7f7ad73202a3c684 commit c3dd3472dd49bc570f01294d7f7ad73202a3c684 Author: Chris Hutchinson <portmaster@bsdforge.com> AuthorDate: 2021-06-22 17:38:15 +0000 Commit: Renato Botelho <garga@FreeBSD.org> CommitDate: 2021-06-22 17:42:25 +0000 devel/git: Fix contrib installation In some cases installation is aborted when try to copy test.netrc.gpg, which is an empty file. This file is not actually needed so the fix here is to stop trying to install it PR: 255885 Sponsored by: Rubicon Communications, LLC ("Netgate") devel/git/Makefile | 1 + devel/git/pkg-plist | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)