Re: [releng/13.0] error during installworld

From: Yaroslav Shvets <yaroslav_at_shvets.name>
Date: Tue, 22 Jun 2021 08:51:16 UTC
Hello Marek.

On Tue, 22 Jun 2021, 11:04, you wrote:

> W dniu 22.06.2021 o 08:30, Yaroslav Shvets pisze:
>> Hello All.
>>
>> I have successfully updated os from the sources from releng/12.2 to
>> releng/13.0.
>> But when reinstalling the world from releng/13.0,
>> I get the error during installworld:
>>
>> installworld.log:
>> -- cut --
>> ===> stand/i386/mbr (install)
>> install   -o root -g wheel -m 444   mbr /boot/mbr
>> ===> stand/i386/pmbr (install)
>> install   -o root -g wheel -m 444   pmbr /boot/pmbr
>> ===> stand/i386/boot0 (install)
>> install   -o root -g wheel -m 444   boot0 /boot/boot0
>> ===> stand/i386/boot0sio (install)
>> install   -o root -g wheel -m 444   boot0 /boot/boot0sio
>> ===> stand/i386/boot2 (install)
>> btxld -v -E 0x2000 -f bin -b
>> /usr/obj/usr/src/amd64.amd64/stand/i386/btx/btx/btx -l boot2.ldr  -o
>> boot2.ld -P 1 boot2.bin
>> make[6]: exec(btxld) failed (No such file or directory)
>> *** Error code 1
>>
>> Stop.
>> make[6]: stopped in /usr/src/stand/i386/boot2
>> *** Error code 1
>>
>> Stop.
>> make[5]: stopped in /usr/src/stand/i386
>> *** Error code 1
>>
>> Stop.
>> make[4]: stopped in /usr/src/stand
>> *** Error code 1
>>
>> Stop.
>> make[3]: stopped in /usr/src
>> *** Error code 1
>>
>> Stop.
>> make[2]: stopped in /usr/src
>> *** Error code 1
>>
>> Stop.
>> make[1]: stopped in /usr/src
>> *** Error code 1
>>
>> Stop.
>> make: stopped in /usr/src
>> -- cut --
>>
>> /etc/src.conf is absent
>>
>> /etc/make.conf:
>> -- cut --
>> NO_GUI=         true
>> NO_X=           true
>> OPTIONS_UNSET=  GUI
>> OPTIONS_UNSET=  X11
>>
>> # with SASLv2:
>> SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
>> SENDMAIL_LDFLAGS=-L/usr/local/lib
>> SENDMAIL_LDADD=-lsasl2
>> -- cut --
>>
>> What to do now?
>>
>
> It became quite a common failure (race) lately for parallel builds with
> NO_CLEAN and nullfs mounted OBJ dir. In my case rebuilding world with
> only one job helps. You can also ignore this and install the world anyway.

Thank a lot for your answer!

Indeed, /usr/obj is mounted by nullfs.
I will try to rebuild the world in one thread.

But how can i ignore the error and continue the installation of the world?
Is there some kind of flag for the Makefile?

-- 
Yaroslav Shvets