Re: Problem compiling git from ports

2021-01-03 Thread Filippo Moretti
 Thank you Michal,   I upgraded ruby26-gems to 
ruby27-gems:I did early upgraded to ruby27 but ruby-gems was inadvertently 
omittedsincerelyFilippo

On Saturday, January 2, 2021, 10:23:13 PM GMT+1, Michal Meloun 
 wrote:  
 
 

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 
> wrote:
>  
>  On Fri, 1 Jan 2021 16:11:52 + (UTC), Filippo Moretti
>  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  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"
  
___
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"


Re: Problem compiling git from ports

2021-01-02 Thread Michal Meloun



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 
 wrote:
  
  On Fri, 1 Jan 2021 16:11:52 + (UTC), Filippo Moretti

 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  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"


Re: Problem compiling git from ports

2021-01-01 Thread Filippo Moretti
 
It worked thank youFilippo
On Friday, January 1, 2021, 5:25:10 PM GMT+1, Milan Obuch 
 wrote:  
 
 On Fri, 1 Jan 2021 16:11:52 + (UTC), Filippo Moretti
 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  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
___
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"
  
___
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"


Re: Problem compiling git from ports

2021-01-01 Thread Filippo Moretti
 
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 
 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

Thank youFilippo
On Friday, January 1, 2021, 3:52:33 PM GMT+1, Mateusz Guzik 
 wrote:  
 
 What filesystem is this?

Does it work if you sysctl vfs.cache_fast_lookup=0 ?

On 1/1/21, Filippo Moretti  wrote:
> I could not update git from 2.29 in my system
> [root@STING /usr/ports/devel/git]# uname -a
> FreeBSD STING 13.0-CURRENT FreeBSD 13.0-CURRENT #14
> main-c255423-gee938b20335: Wed Dec 30 10:41:00 CET 2020
> root@STING:/usr/obj/usr/src/amd64.amd64/sys/STING  amd64
>
>
>
>
> This is the error which can be duplicatedsincerelyFilippo
>
>
>
> [root@STING /usr/ports/devel/git]# gmake[3]: 'GIT-VERSION-FILE' is up to
> date.
> gmake[3]: Leaving directory '/usr/ports/devel/git/work-default/git-2.30.0'
> sed -e '1s|#!.*/sh|#!/bin/sh|' git-subtree.sh >git-subtree
> chmod +x git-subtree
> install -d -m 755
> /usr/ports/devel/git/work-default/stage/usr/local/libexec/git-core
> install -m 755 git-subtree
> /usr/ports/devel/git/work-default/stage/usr/local/libexec/git-core
> asciidoctor -b docbook -d manpage  \
>        -agit_version=2.30.0 -I../../Documentation -rasciidoctor-extensions
> -alitdd='' git-subtree.txt
> gmake[2]: asciidoctor: No such file or directory
> gmake[2]: *** [Makefile:86: git-subtree.xml] Error 127
> gmake[2]: Leaving directory
> '/usr/ports/devel/git/work-default/git-2.30.0/contrib/subtree'
> *** Error code 2
>
> Stop.
> make[1]: stopped in /usr/ports/devel/git
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/devel/git
> [root@STING /usr/ports/devel/git]#
>
> ___
> 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"
>


-- 
Mateusz Guzik 
___
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"

___
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"


Re: Problem compiling git from ports

2021-01-01 Thread Milan Obuch
On Fri, 1 Jan 2021 16:11:52 + (UTC), Filippo Moretti
 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  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
___
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"


Problem compiling git from ports

2021-01-01 Thread Filippo Moretti
I could not update git from 2.29 in my system
[root@STING /usr/ports/devel/git]# uname -a
FreeBSD STING 13.0-CURRENT FreeBSD 13.0-CURRENT #14 main-c255423-gee938b20335: 
Wed Dec 30 10:41:00 CET 2020 
root@STING:/usr/obj/usr/src/amd64.amd64/sys/STING  amd64




This is the error which can be duplicatedsincerelyFilippo



[root@STING /usr/ports/devel/git]# gmake[3]: 'GIT-VERSION-FILE' is up to date.
gmake[3]: Leaving directory '/usr/ports/devel/git/work-default/git-2.30.0'
sed -e '1s|#!.*/sh|#!/bin/sh|' git-subtree.sh >git-subtree
chmod +x git-subtree
install -d -m 755 
/usr/ports/devel/git/work-default/stage/usr/local/libexec/git-core
install -m 755 git-subtree 
/usr/ports/devel/git/work-default/stage/usr/local/libexec/git-core
asciidoctor -b docbook -d manpage  \
    -agit_version=2.30.0 -I../../Documentation -rasciidoctor-extensions 
-alitdd='' git-subtree.txt
gmake[2]: asciidoctor: No such file or directory
gmake[2]: *** [Makefile:86: git-subtree.xml] Error 127
gmake[2]: Leaving directory 
'/usr/ports/devel/git/work-default/git-2.30.0/contrib/subtree'
*** Error code 2

Stop.
make[1]: stopped in /usr/ports/devel/git
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/git
[root@STING /usr/ports/devel/git]# 

___
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"


Re: Problem compiling git from ports

2021-01-01 Thread Mateusz Guzik
What filesystem is this?

Does it work if you sysctl vfs.cache_fast_lookup=0 ?

On 1/1/21, Filippo Moretti  wrote:
> I could not update git from 2.29 in my system
> [root@STING /usr/ports/devel/git]# uname -a
> FreeBSD STING 13.0-CURRENT FreeBSD 13.0-CURRENT #14
> main-c255423-gee938b20335: Wed Dec 30 10:41:00 CET 2020
> root@STING:/usr/obj/usr/src/amd64.amd64/sys/STING  amd64
>
>
>
>
> This is the error which can be duplicatedsincerelyFilippo
>
>
>
> [root@STING /usr/ports/devel/git]# gmake[3]: 'GIT-VERSION-FILE' is up to
> date.
> gmake[3]: Leaving directory '/usr/ports/devel/git/work-default/git-2.30.0'
> sed -e '1s|#!.*/sh|#!/bin/sh|' git-subtree.sh >git-subtree
> chmod +x git-subtree
> install -d -m 755
> /usr/ports/devel/git/work-default/stage/usr/local/libexec/git-core
> install -m 755 git-subtree
> /usr/ports/devel/git/work-default/stage/usr/local/libexec/git-core
> asciidoctor -b docbook -d manpage  \
> -agit_version=2.30.0 -I../../Documentation -rasciidoctor-extensions
> -alitdd='' git-subtree.txt
> gmake[2]: asciidoctor: No such file or directory
> gmake[2]: *** [Makefile:86: git-subtree.xml] Error 127
> gmake[2]: Leaving directory
> '/usr/ports/devel/git/work-default/git-2.30.0/contrib/subtree'
> *** Error code 2
>
> Stop.
> make[1]: stopped in /usr/ports/devel/git
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/devel/git
> [root@STING /usr/ports/devel/git]#
>
> ___
> 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"
>


-- 
Mateusz Guzik 
___
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"