NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/49535: Examples in BUILDING don't work as-is



The following reply was made to PR toolchain/49535; it has been noted by GNATS.

From: Andreas Gustafsson <gson%gson.org@localhost>
To: apb%cequrux.com@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: toolchain/49535: Examples in BUILDING don't work as-is
Date: Sun, 4 Jan 2015 17:21:12 +0200

 Alan Barrett wrote:
 >  No, let's rather add "-U" to the example.  We should not encourage
 >  builds as root.
 
 If we do that, we should also specify an explicit object directory in
 the example, because /usr/obj will not be writable by an unprivileged
 user.
 
 >  In this case, the src directory was /usr/src, and you expected the obj
 >  directory to be /usr/obj, but build.sh did not make that guess.  I have
 >  no idea why "make -m /usr/src/share/mk obj NOSUBDIR=" was unable to
 >  create the directory.  Let's try to figure that out first.
 
 This is what I get if I run it manually:
 
   # make -m /usr/src/share/mk obj NOSUBDIR=
   BSDOBJDIR /usr/obj does not exist, bailing...
   *** Error code 1
 
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index