Subject: Unable to build tools using 2.0 sources
To: None <netbsd-help@netbsd.org>
From: None <ipt@scraemon.org>
List: netbsd-help
Date: 12/11/2004 18:51:34
I'm trying unsuccessfully to build the toolchain using NetBSD 2.0
sources.  I run make cleandir before doing anything else.  I run 
'./build.sh tools' and copy the error output to a file, tools.log.  
The error message is 

#    objdir  /usr/obj/tools.i386
===> MACHINE:          i386
===> MACHINE_ARCH:     i386
===> TOOLDIR path:     /usr/tools
===> DESTDIR path:     /usr/destdir
===> RELEASEDIR path:  /usr/release
===> Created /usr/tools/bin/nbmake
===> makewrapper:      /usr/tools/bin/nbmake-i386
===> Updated /usr/tools/bin/nbmake-i386
nbmake: don't know how to make obj-tools. Stop

My copy of /etc/mk.conf contains the following lines:
LOCALBASE?=/usr/local
PKGSRC_MESSAGE_RECIPIENTS?=ipt
TOOLDIR=/usr/tools
RELEASEDIR=/usr/release
DESTDIR=/usr/destdir
OBJMACHINE=yes
MKOBJDIRS=yes

Any suggestions on what is preventing the build?  This happens fairly
early in the build process.  I can attach the entire tools.log if it
would be useful.
-- 

Ian P. Thomas

Destiny is not a matter of chance, it is a matter of choice. It is not a thing 
to be waited for, it is a thing to be achieved.

	- William Jennings Bryan