[Bug 282711] '... | install: mnt/obj//mnt/mnt/src/tmp/legacy/usr/lib: No such file or directory | ...'
Date: Tue, 12 Nov 2024 16:51:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282711
--- Comment #1 from tzxzan+cqw8r63qtfb5g@sharklasers.com ---
It happens with relative paths given for 'MAKEOBJDIRPREFIX':
...
#MAKEOBJDIRPREFIX=$@/ /usr/bin/make -C mnt/src/ buildworld
#MAKEOBJDIRPREFIX=$@/ /usr/bin/make -C mnt/src/ buildkernel
...
Works if changed to absolute paths:
...
MAKEOBJDIRPREFIX=$$(realpath ./)/$@/ /usr/bin/make -C mnt/src/
buildworld
MAKEOBJDIRPREFIX=$$(realpath ./)/$@/ /usr/bin/make -C mnt/src/
buildkernel
...
(These lines are from an in-house 'makefile' hence the '$$'s and '$@'s.)
It is about building 10.4 from source, did not check with more recent -- and
still supported -- versions.
--
You are receiving this mail because:
You are the assignee for the bug.