Bug 173308 - [build] [patch] Support "make universe" with read-only src tree
Summary: [build] [patch] Support "make universe" with read-only src tree
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 8.3-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mark Linimon
Keywords: patch
Depends on:
Reported: 2012-11-02 22:50 UTC by Peter Jeremy
Modified: 2020-01-21 21:32 UTC (History)
1 user (show)

See Also:

file.diff (2.15 KB, patch)
2012-11-02 22:50 UTC, Peter Jeremy
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Jeremy 2012-11-02 22:50:00 UTC
	"make universe" creates separate logs for each target and
	architecture but these are all hard-wired to be in the tree
	being built.  This prevents the use of "make universe" with
	a read-only root (in my case, I wanted to use a ro NFS mount),

Fix: The following patch creates a new "LOGDIR" variable and creates
	all the "make universe" logfiles in that directory.  If not
	specified, it defaults to "${.CURDIR}" for consistency with the
	existing behaviour.
How-To-Repeat: 	Mount a source tree read-only and run "make universe".  It will
	report lots of failures like:
cannot create _.amd64.buildworld: Read-only file system
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:17 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2018-08-12 15:16:11 UTC
Is this PR still relevant?