Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 2021 20:41:40 +0300
From:      Yuri Pankov <yuripv@yuripv.dev>
To:        "Simon J. Gerraty" <sjg@juniper.net>, "O. Hartmann" <ohartmann@walstatt.org>
Cc:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: ee10666327b6 - main - Links for bmake and bmake.1
Message-ID:  <52e7ab03-96a0-a569-800d-6430370be582@yuripv.dev>
In-Reply-To: <23679.1613408983@kaos.jnpr.net>
References:  <202102150122.11F1Mwq8070473@gitrepo.freebsd.org> <20210215120126.5c5c4779@freyja> <23679.1613408983@kaos.jnpr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Simon J. Gerraty wrote:
> O. Hartmann <ohartmann@walstatt.org> wrote:
>>>  .if exists(${.CURDIR}/tests)
>>>  PROG= make
>>> +LINKS= make bmake
>>> +MLINKS= ${MAN} b${MAN}
>>>  .endif
>>>
>>
>> This commit seems to break updating and installation of jail's base system
>> based on 14-CURRENT.
>>
>> # poudriere jail -l
>> headamd64 14.0-CURRENT 1400004     amd64 src=/pool/sources/CURRENT/src/ \
>> 2021-02-12 15:07:33 /pool/poudriere/jails/headamd64
>>
>> #poudriere jail -j _somejailname_ -u -b
>>
>> [...]
>> --- realinstall_subdir_usr.bin ---
>> rm -f /pool/poudriere/jails/headamd64/usr/share/man/man1/bmake.1
>> /pool/poudriere/jails/headamd64/usr/share/man/man1/bmake.1.gz;  install -N
>> /pool/poudriere/jails/headamd64/usr/src/etc -l h -o root -g wheel -m 444
>> /pool/poudriere/jails/headamd64/usr/share/man/man1/make.1.gz
>> /pool/poudriere/jails/headamd64/usr/share/man/man1/bmake.1.gz --- _installlinks
> 
> Is this process using something other than *.mk from share/mk ?
> It seems a bug to react to ${[M]LINKS} but not have the implementation.
> 
> I'm not familiar with  the above - any pointers?

That should be the following instead:

LINKS= ${BINDIR}/make ${BINDIR}/bmake

>> --- install -N /pool/poudriere/jails/headamd64/usr/src/etc -l h -o root -g
>> wheel -m 555  /pool/poudriere/jails/headamd64make
>> /pool/poudriere/jails/headamd64bmake install: link
>> /pool/poudriere/jails/headamd64make -> /pool/poudriere/jails/headamd64bmake: No
>> such file or directory *** [_installlinks] Error code 71
>>
>> make[5]: stopped in /pool/poudriere/jails/headamd64/usr/src/usr.bin/bmake
>> 1 error
>>
>> make[5]: stopped in /pool/poudriere/jails/headamd64/usr/src/usr.bin/bmake
>> --- realinstall_subdir_share ---




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52e7ab03-96a0-a569-800d-6430370be582>