Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2016 20:05:32 -0600
From:      Justin Hibbits <chmeeedalf@gmail.com>
To:        Ryan Stone <rysto32@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Buildworld error with read-only source tree
Message-ID:  <20161107200532.532eb0fa@zhabar.knownspace>
In-Reply-To: <CAFMmRNxT=Kf%2B%2BCjsFXWS%2B%2By2owUmO8t1tYup4%2B%2BO5kJiebwwnA@mail.gmail.com>
References:  <CAFMmRNxT=Kf%2B%2BCjsFXWS%2B%2By2owUmO8t1tYup4%2B%2BO5kJiebwwnA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 7 Nov 2016 20:53:46 -0500
Ryan Stone <rysto32@gmail.com> wrote:

> I just got the following error attempting to build r308430 with my
> source tree on a read-only NFS mount.  I can work around it for now,
> but shouldn't the source tree be untouched during a buildworld?
> 
> $ make -j4 buildworld buildkernel
> --- buildworld ---
> make[1]: "/repos/users/rstone/freebsd/Makefile.inc1" line 146:
> SYSTEM_COMPILER: Determined that CC=cc matches the source tree.  Not
> bootstrapping a cross-compiler.
> --- buildworld_prologue ---
> --------------------------------------------------------------
> >>> World build started on Tue Nov  8 01:50:50 EST 2016  
> --------------------------------------------------------------
> --- _worldtmp ---
> --------------------------------------------------------------
> >>> Rebuilding the temporary build tree  
> --------------------------------------------------------------
> rm -rf /repos/users/rstone/freebsd/tmp
> rm -rf /repos/users/rstone/freebsd/lib32
> mkdir -p /repos/users/rstone/freebsd/tmp/lib
> mkdir: /repos/users/rstone/freebsd/tmp: Read-only file system

Do you have a MAKEOBJDIRPREFIX set (locally, or through a script or
Makefile hack)? My build log doesn't show it touching the source tree,
it shows it only touching the object tree.

- Justin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161107200532.532eb0fa>