[Bug 275030] buildworld fails if obj dir is NFS-mounted
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 275030] buildworld fails if obj dir is NFS-mounted [patch]"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Nov 2025 03:00:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275030
Dag-Erling Smørgrav <des@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|bugs@FreeBSD.org |des@FreeBSD.org
Status|New |In Progress
CC| |des@FreeBSD.org
Flags| |mfc-stable15?,
| |mfc-stable14?
--- Comment #41 from Dag-Erling Smørgrav <des@FreeBSD.org> ---
Our cp has had -N for a while now, but that doesn't really help. The cp
command used to copy bootstrap tools is the host cp. Replacing `cp -pf` with
`cp -Npf` will fix building with /usr/obj on NFS on recent FreeBSD, but break
building on older FreeBSD or non-FreeBSD hosts (except recent macOS) whose cp
command does not have a -N option.
A better solution is probably to replace `cp -pf` with `install -p`. We
already assume that the host has a working install command.
https://reviews.freebsd.org/D53751
--
You are receiving this mail because:
You are the assignee for the bug.