Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2024 16:51:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 282711] '... | install: mnt/obj//mnt/mnt/src/tmp/legacy/usr/lib: No such file or directory | ...'
Message-ID:  <bug-282711-227-8X4gq5E9xo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-282711-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-282711-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282711

--- Comment #1 from tzxzan+cqw8r63qtfb5g@sharklasers.com ---
It happens with relative paths given for 'MAKEOBJDIRPREFIX':

...
        #MAKEOBJDIRPREFIX=3D$@/ /usr/bin/make -C mnt/src/ buildworld
        #MAKEOBJDIRPREFIX=3D$@/ /usr/bin/make -C mnt/src/ buildkernel
...

Works if changed to absolute paths:

...
        MAKEOBJDIRPREFIX=3D$$(realpath ./)/$@/ /usr/bin/make -C mnt/src/
buildworld
        MAKEOBJDIRPREFIX=3D$$(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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282711-227-8X4gq5E9xo>