Re: Problem compiling git from ports

From: Milan Obuch <freebsd-current_at_dino.sk>
Date: Fri, 1 Jan 2021 17:24:41 +0100
On Fri, 1 Jan 2021 16:11:52 +0000 (UTC), Filippo Moretti
<filippomore_at_yahoo.com> wrote:

>  
> I run again portmaster and I have the same error as previously
> reportedFilippo On Friday, January 1, 2021, 4:05:18 PM GMT+1, Filippo
> Moretti <filippomore_at_yahoo.com> wrote: 
>   Ufs 
> It exits with a different error:
> ===> 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.30.0/contrib/*
> /usr/ports/devel/git/work-default/stage/usr/local/share/git-core/contrib
> ln:
> /usr/ports/devel/git/work-default/stage/usr/local/etc/bash_completion.d//git-completion.bash:
> File exists *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/ports/devel/git
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/devel/git
> 

I remember seeing this too. I worked around that using options:

cat /var/db/ports/devel_git/options 
# This file is auto-generated by 'make config'.
# Options for git-2.29.2
_OPTIONS_READ=git-2.29.2
_FILE_COMPLETE_OPTIONS_LIST=CONTRIB CURL CVS GITWEB GUI HTMLDOCS ICONV NLS P4 PERL SEND_EMAIL SUBTREE SVN PCRE PCRE2 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_UNSET+=NLS
OPTIONS_FILE_SET+=P4
OPTIONS_FILE_SET+=PERL
OPTIONS_FILE_SET+=SEND_EMAIL
OPTIONS_FILE_UNSET+=SUBTREE
OPTIONS_FILE_UNSET+=SVN
OPTIONS_FILE_SET+=PCRE
OPTIONS_FILE_UNSET+=PCRE2

Regards,
Milan
Received on Fri Jan 01 2021 - 15:24:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC