Subject: Re: how to build?
To: None <netbsd-help@netbsd.org>
From: K. Richard Pixley <rpixley@nominum.com>
List: netbsd-help
Date: 08/14/2003 12:32:08
If I "make cleandir -k" and just hope for the best, the next step fails too.

--rich

cc  -O -D_PATH_BSHELL="/bin/sh" -D_PATH_DEFSHELLDIR="/bin" 
-DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 
-DHAVE_VSNPRINTF=1  -DMAKE_BOOTSTRAP 
-I/usr/src/tools/make/../../usr.bin/make -c 
/usr/src/tools/make/../../usr.bin/make/lst.lib/lstSucc.c
cc  -O -o nbmake *.o
BSDOBJDIR /usr/obj does not exist, bailing...
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools

ERROR: Failed to make obj in tools
*** BUILD ABORTED ***

real    0m9.112s
user    0m1.189s
sys     0m8.206s


K. Richard Pixley wrote:
> cleandir ===> usr.bin/vgrind
> make: Unclosed variable specification for CC
> Segmentation fault - core dumped
> *** Error code 139
> 
> Stop.
> make: stopped in /usr/src/usr.bin
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/src
> 
> real    1m14.878s
> user    0m14.649s
> sys     1m8.287s
> 
> 
> K. Richard Pixley wrote:
> 
>> On a freshly updated tree, "make cleandir" fails.
>>
>> --rich
>>
>> Aaron Malone wrote:
>>
>>> On Thursday 14 August 2003 14:09, K. Richard Pixley wrote:
>>>
>>>> Is there any documentation on the build process that matches either
>>>> what's currently available or what's intended?
>>>
>>>
>>>
>>>
>>> I built a -current system the other day, using the instructions here:
>>> http://www.netbsd.org/Documentation/current/#updating
>>> BUT, I also did a couple of 'make cleandir's beforehand, having had 
>>> leftover files break the build before.