Subject: Re: objdirs and readonly /usr/src
To: NetBSD Current <current-users@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: current-users
Date: 02/21/2004 14:17:35
On Sat, Feb 21, 2004 at 09:25:20 +0000, Dick Davies wrote:

> I mount /usr/src readonly over NFS to my current box.
> When I try to build tools, I get this error:
> 
>  cc  -O -o nbmake *.o
>  #    objdir  /usr/obj/tools
>  ln: obj: Read-only file system
> 
> Which I assume is because build.sh can't make symlinks in /usr/src.
> 
> Have I missed something?
> I'm starting to think rsync would be less hassle :)

Hmm, I build from readonly sources all the time.  What do you have in
your mk.conf?   Sounds like you have some *OBJ* var set in there.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen