On 01.01.2021 21:19, Filippo Moretti wrote:
It worked thank youFilippo
     On Friday, January 1, 2021, 5:25:10 PM GMT+1, Milan Obuch 
<freebsd-curr...@dino.sk> wrote:
On Fri, 1 Jan 2021 16:11:52 +0000 (UTC), Filippo Moretti
<filippom...@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 <filippom...@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

This is not related to cache fast lookup, but it is dependency bug of ruby ports. My portmaster -ad session failed with the same issue. I noticed that rubby has been update
from 2.6 to 2.7 as part of this sesion.


# pkg which /usr/local/bin/asciidoctor
/usr/local/bin/asciidoctor was installed by package rubygem-asciidoctor-2.0.10

# ls -l /usr/local/bin/asciidoctor
-rwxr-xr-x  1 root  wheel  560 Jun  7  2020 /usr/local/bin/asciidoctor

# /usr/local/bin/asciidoctor
/usr/local/bin/asciidoctor: Command not found

# ls -l /usr/local/bin/asciidoctor
-rwxr-xr-x  1 root  wheel  560 Jun  7  2020 /usr/local/bin/asciidoctor

root@tegra210:/usr/ports # more  /usr/local/bin/asciidoctor
#!/usr/local/bin/ruby26
#
# This file was generated by RubyGems.
#
# The application 'asciidoctor' is installed as part of a gem, and
# this file is here to facilitate running it.
#
...

# ls -l /usr/local/bin/ruby26
ls: /usr/local/bin/ruby26: No such file or directory

# portmaster -d rubygem-asciidoctor-2.0.10
...
Installing ruby27-gems-3.0.8...
pkg-static: ruby27-gems-3.0.8 conflicts with ruby26-gems-3.0.8 (installs files into the same place). Problematic file: /usr/local/bin/gem
...

# pkg info | grep ruby26
ruby26-gems-3.0.8 Package management framework for the Ruby language

# pkg delete -f ruby26-gems
# portmaster -d rubygem-asciidoctor-2.0.10

# /usr/local/bin/asciidoctor
Usage: asciidoctor [OPTION]... FILE...



Michal

...
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to