Subject: build.sh failure?
To: None <tech-userlevel@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 04/26/2002 13:25:54
I've got an i386 box on which I've installed the 04-10 snapshot.  I
then took a full -current source tree (checked out last night) and
dropped it in /usr/src.

Then, after reading BUILDING, I typed "build.sh -r" to a root shell.
It mumbled something about boostrapping nbmake, printed some
configure-style output, then a bunch of compilation lines that looked
appropriate to building make.

But then, along about when I'd expect it to be done, it fell over:

cc  -O -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

Why is it trying to use /usr/obj without either my telling it to or its
creating it?  Did I miss some option somewhere, or am I supposed to
have to create /usr/obj to do a full build, or is something broken?

And in particular, what is the correct fix?  I'll try creating /usr/obj
and see if that's enough to keep it happy, but I'm not at all sure
that's TRT....

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B