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

From: Stefan Esser <se_at_freebsd.org>
Date: Mon, 15 Feb 2021 12:28:23 +0100
Am 15.02.21 um 11:47 schrieb Mateusz Guzik:
> Can you try this with reverting:
> 
> commit ee10666327b622c2f20a4ac17e7a5673b04e7c9a
> Author: Simon J. Gerraty <sjg_at_FreeBSD.org>
> 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
> _at__at_ -9,6 +9,8 _at__at_
> 
>   .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 <ohartmann_at_walstatt.org> 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


Received on Mon Feb 15 2021 - 10:28:26 UTC

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