Re: jails: /pool/jails/fulljailmake -> /pool/jails/fulljailbmake: No such file or directory

2021-02-15 Thread Simon J. Gerraty via freebsd-current
O. Hartmann  wrote:
> > If reverting this does not help, can you try with:
> > sysctl vfs.cache_fast_lookup=0
> 
> reverting the mentioned commit helped and made things working as expected 
> again.
> 
> Thank you very much.

Sorry looks like bsd.links.mk expects full paths.
Can you confirm the below works for you:

diff --git a/usr.bin/bmake/Makefile.inc b/usr.bin/bmake/Makefile.inc
index 8c4cb659e1d..9960f0ceeb2 100644
--- a/usr.bin/bmake/Makefile.inc
+++ b/usr.bin/bmake/Makefile.inc
@@ -9,7 +9,7 @@
 
 .if exists(${.CURDIR}/tests)
 PROG= make
-LINKS= make bmake
+LINKS= ${BINDIR}/make ${BINDIR}/bmake
 MLINKS= ${MAN} b${MAN}
 .endif
 
___
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: jails: /pool/jails/fulljailmake -> /pool/jails/fulljailbmake: No such file or directory

2021-02-15 Thread O. Hartmann
On Mon, 15 Feb 2021 11:47:07 +0100
Mateusz Guzik  wrote:

> Can you try this with reverting:
>
> commit ee10666327b622c2f20a4ac17e7a5673b04e7c9a
> Author: Simon J. Gerraty 
> Date:   Sun Feb 14 17:20:10 2021 -0800
>
> Links for bmake and bmake.1
>
> Some folk forget that make is bmake, and want the links...
>
> MFC after: 1 week
>
> diff --git a/usr.bin/bmake/Makefile.inc b/usr.bin/bmake/Makefile.inc
> index 96431c19d2af..8c4cb659e1d8 100644
> --- a/usr.bin/bmake/Makefile.inc
> +++ b/usr.bin/bmake/Makefile.inc
> @@ -9,6 +9,8 @@
>
>  .if exists(${.CURDIR}/tests)
>  PROG= make
> +LINKS= make bmake
> +MLINKS= ${MAN} b${MAN}
>  .endif
>
>  .if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no"
>
> If reverting this does not help, can you try with:
> sysctl vfs.cache_fast_lookup=0

reverting the mentioned commit helped and made things working as expected again.

Thank you very much.

oh

>
> On 2/15/21, O. Hartmann  wrote:
> > The base host is running FreeBSD 14.0-CURRENT #6 main-n244784-8563de2f279:
> > Fri
> > Feb 12 12:48:34 CET 2021 amd64, the source tree is at "commit
> > 5dce03847fdc7bc6eb959282c0ae2117b1991746".
> >
> >
> > Updating jails via "ezjail-admin update -i", or for poudriere based CURRENT
> > (14-CURRENT) jails via "poudriere jail -j jail -u -b", installation of
> > world
> > fails due to an error, shown below:
> >
> > [...]
> >
> > ===> usr.bin/bmake (install)
> > install  -s -o root -g wheel -m 555   make
> > /pool/jails/fulljail/usr/bin/make
> > install  -o root -g wheel -m 444 make.1.gz
> > /pool/jails/fulljail/usr/share/man/man1/ rm -f
> > /pool/jails/fulljail/usr/share/man/man1/bmake.1
> > /pool/jails/fulljail/usr/share/man/man1/bmake.1.gz;  install -l h -o root
> > -g
> > wheel -m 444  /pool/jails/fulljail/usr/share/man/man1/make.1.gz
> > /pool/jails/fulljail/usr/share/man/man1/bmake.1.gz install -l h -o root -g
> > wheel -m 555  /pool/jails/fulljailmake /pool/jails/fulljailbmake install:
> > link
> > /pool/jails/fulljailmake -> /pool/jails/fulljailbmake: No such file or
> > directory *** Error code 71
> >
> > Stop.
> > make[5]: stopped in /usr/src/usr.bin/bmake
> > *** Error code 1
> > ___
> > 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: jails: /pool/jails/fulljailmake -> /pool/jails/fulljailbmake: No such file or directory

2021-02-15 Thread Stefan Esser

Am 15.02.21 um 11:47 schrieb Mateusz Guzik:

Can you try this with reverting:

commit ee10666327b622c2f20a4ac17e7a5673b04e7c9a
Author: Simon J. Gerraty 
Date:   Sun Feb 14 17:20:10 2021 -0800

 Links for bmake and bmake.1

 Some folk forget that make is bmake, and want the links...

 MFC after: 1 week

diff --git a/usr.bin/bmake/Makefile.inc b/usr.bin/bmake/Makefile.inc
index 96431c19d2af..8c4cb659e1d8 100644
--- a/usr.bin/bmake/Makefile.inc
+++ b/usr.bin/bmake/Makefile.inc
@@ -9,6 +9,8 @@

  .if exists(${.CURDIR}/tests)
  PROG= make
+LINKS= make bmake
+MLINKS= ${MAN} b${MAN}
  .endif

  .if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no"

If reverting this does not help, can you try with:
sysctl vfs.cache_fast_lookup=0

On 2/15/21, O. Hartmann  wrote:

The base host is running FreeBSD 14.0-CURRENT #6 main-n244784-8563de2f279:
Fri
Feb 12 12:48:34 CET 2021 amd64, the source tree is at "commit
5dce03847fdc7bc6eb959282c0ae2117b1991746".


Updating jails via "ezjail-admin update -i", or for poudriere based CURRENT
(14-CURRENT) jails via "poudriere jail -j jail -u -b", installation of
world
fails due to an error, shown below:

[...]

===> usr.bin/bmake (install)
install  -s -o root -g wheel -m 555   make
/pool/jails/fulljail/usr/bin/make
install  -o root -g wheel -m 444 make.1.gz
/pool/jails/fulljail/usr/share/man/man1/ rm -f
/pool/jails/fulljail/usr/share/man/man1/bmake.1
/pool/jails/fulljail/usr/share/man/man1/bmake.1.gz;  install -l h -o root
-g
wheel -m 444  /pool/jails/fulljail/usr/share/man/man1/make.1.gz
/pool/jails/fulljail/usr/share/man/man1/bmake.1.gz install -l h -o root -g
wheel -m 555  /pool/jails/fulljailmake /pool/jails/fulljailbmake install:
link
/pool/jails/fulljailmake -> /pool/jails/fulljailbmake: No such file or
directory *** Error code 71


I've got the same problem in a simple buildworld/installworld:

===> usr.bin/bmake/tests/variables/t0 (install)
install  -o root  -g wheel -m 555  legacy_test 
//usr/tests/usr.bin/bmake/variables/t0/legacy_test

installing DIRS testsFILESDIR
install  -d -m 0755 -o root  -g wheel 
//usr/tests/usr.bin/bmake/variables/t0
install  -o root  -g wheel -m 444 
/usr/git/src/usr.bin/bmake/tests/variables/t0/Makefile.test 
//usr/tests/usr.bin/bmake/variables/t0/Makefile.test
install  -o root  -g wheel -m 444 
/usr/git/src/usr.bin/bmake/tests/variables/t0/expected.status.1 
//usr/tests/usr.bin/bmake/variables/t0/expected.status.1
install  -o root  -g wheel -m 444 
/usr/git/src/usr.bin/bmake/tests/variables/t0/expected.stderr.1 
//usr/tests/usr.bin/bmake/variables/t0/expected.stderr.1
install  -o root  -g wheel -m 444 
/usr/git/src/usr.bin/bmake/tests/variables/t0/expected.stdout.1 
//usr/tests/usr.bin/bmake/variables/t0/expected.stdout.1
install  -o root  -g wheel -m 444  Kyuafile 
//usr/tests/usr.bin/bmake/variables/t0/Kyuafile

install -l h -o root -g wheel -m 555  /make /bmake
install: link /make -> /bmake: No such file or directory

It seems that "/" is used as a path prefix instead of "/usr/bin/".

Removal of the LINKS line solves the issue for me, but with a sane
path prefix the link could be installed.

Regards, STefan



OpenPGP_signature
Description: OpenPGP digital signature


Re: jails: /pool/jails/fulljailmake -> /pool/jails/fulljailbmake: No such file or directory

2021-02-15 Thread Mateusz Guzik
Can you try this with reverting:

commit ee10666327b622c2f20a4ac17e7a5673b04e7c9a
Author: Simon J. Gerraty 
Date:   Sun Feb 14 17:20:10 2021 -0800

Links for bmake and bmake.1

Some folk forget that make is bmake, and want the links...

MFC after: 1 week

diff --git a/usr.bin/bmake/Makefile.inc b/usr.bin/bmake/Makefile.inc
index 96431c19d2af..8c4cb659e1d8 100644
--- a/usr.bin/bmake/Makefile.inc
+++ b/usr.bin/bmake/Makefile.inc
@@ -9,6 +9,8 @@

 .if exists(${.CURDIR}/tests)
 PROG= make
+LINKS= make bmake
+MLINKS= ${MAN} b${MAN}
 .endif

 .if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no"

If reverting this does not help, can you try with:
sysctl vfs.cache_fast_lookup=0

On 2/15/21, O. Hartmann  wrote:
> The base host is running FreeBSD 14.0-CURRENT #6 main-n244784-8563de2f279:
> Fri
> Feb 12 12:48:34 CET 2021 amd64, the source tree is at "commit
> 5dce03847fdc7bc6eb959282c0ae2117b1991746".
>
>
> Updating jails via "ezjail-admin update -i", or for poudriere based CURRENT
> (14-CURRENT) jails via "poudriere jail -j jail -u -b", installation of
> world
> fails due to an error, shown below:
>
> [...]
>
> ===> usr.bin/bmake (install)
> install  -s -o root -g wheel -m 555   make
> /pool/jails/fulljail/usr/bin/make
> install  -o root -g wheel -m 444 make.1.gz
> /pool/jails/fulljail/usr/share/man/man1/ rm -f
> /pool/jails/fulljail/usr/share/man/man1/bmake.1
> /pool/jails/fulljail/usr/share/man/man1/bmake.1.gz;  install -l h -o root
> -g
> wheel -m 444  /pool/jails/fulljail/usr/share/man/man1/make.1.gz
> /pool/jails/fulljail/usr/share/man/man1/bmake.1.gz install -l h -o root -g
> wheel -m 555  /pool/jails/fulljailmake /pool/jails/fulljailbmake install:
> link
> /pool/jails/fulljailmake -> /pool/jails/fulljailbmake: No such file or
> directory *** Error code 71
>
> Stop.
> make[5]: stopped in /usr/src/usr.bin/bmake
> *** Error code 1
> ___
> 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"


jails: /pool/jails/fulljailmake -> /pool/jails/fulljailbmake: No such file or directory

2021-02-15 Thread O. Hartmann
The base host is running FreeBSD 14.0-CURRENT #6 main-n244784-8563de2f279: Fri
Feb 12 12:48:34 CET 2021 amd64, the source tree is at "commit
5dce03847fdc7bc6eb959282c0ae2117b1991746".


Updating jails via "ezjail-admin update -i", or for poudriere based CURRENT
(14-CURRENT) jails via "poudriere jail -j jail -u -b", installation of world
fails due to an error, shown below:

[...]

===> usr.bin/bmake (install)
install  -s -o root -g wheel -m 555   make /pool/jails/fulljail/usr/bin/make
install  -o root -g wheel -m 444 make.1.gz
/pool/jails/fulljail/usr/share/man/man1/ rm -f
/pool/jails/fulljail/usr/share/man/man1/bmake.1
/pool/jails/fulljail/usr/share/man/man1/bmake.1.gz;  install -l h -o root -g
wheel -m 444  /pool/jails/fulljail/usr/share/man/man1/make.1.gz
/pool/jails/fulljail/usr/share/man/man1/bmake.1.gz install -l h -o root -g
wheel -m 555  /pool/jails/fulljailmake /pool/jails/fulljailbmake install: link
/pool/jails/fulljailmake -> /pool/jails/fulljailbmake: No such file or
directory *** Error code 71

Stop.
make[5]: stopped in /usr/src/usr.bin/bmake
*** Error code 1
___
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"