Bug 255885 - devel/git: fails at: Installing contributed scripts
Summary: devel/git: fails at: Installing contributed scripts
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-14 18:42 UTC by Chris Hutchinson
Modified: 2021-05-14 20:06 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (garga)


Attachments
patch for devel/git that corrects install of contrib files (1.09 KB, patch)
2021-05-14 20:06 UTC, Chris Hutchinson
portmaster: maintainer-approval? (garga)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Hutchinson 2021-05-14 18:42:11 UTC
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
Comment 1 Chris Hutchinson 2021-05-14 18:45:50 UTC
For the sake of clarity. This on devel/git
DISTVERSION=	2.31.1
Comment 2 Chris Hutchinson 2021-05-14 19:45:06 UTC
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
Comment 3 Chris Hutchinson 2021-05-14 20:06:36 UTC
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