W dniu 4.06.2022 o 01:39, Rozhuk Ivan pisze:
Hi!


I found a way to fix error during install: exec(btxld) failed (No such file or 
directory)
in case obj is nullfs mounted.


Use option: -o nocache
mount_nullfs -o rw -o nocache -o noatime "${MAKEOBJDIRPREFIX_TMP}" 
"${MAKEOBJDIRPREFIX}"


This helps for me, hope it will be usfull for community.


PS: this works even without https://reviews.freebsd.org/D23411 patch.
I do not dig inside this and have no idea why this option undocumented.
Probably this some kernel/nullfs bug that must be investigated, or just
remove option and make it always enabled.

The build race has been fixed[1].

Sine then I am no more encountering problems while building to nullfs mounted OBJDIR, at least in CURRENT and 13-STABLE.

[1] https://cgit.freebsd.org/src/commit/sys/fs/nullfs?id=42881526d401e7a9c09241e392b7ffa18cfe11d6

--
Marek Zarychta

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to