Subject: build error: "nbmake: don't know how to make obj-tools"
To: None <netbsd-users@NetBSD.org>
From: Jeremie Le Hen <jeremie@le-hen.org>
List: netbsd-users
Date: 09/26/2007 00:46:21
--2fHTh5uZTiUOsy+g
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

Please Cc: me when replying as I'm not subscribed.

I've tried to compile netbsd-4 with build.sh.  Unfortunately, the
process fails right after building makewrapper with:
% nbmake: don't know how to make obj-tools. Stop

Typescript is attached.
Any hint would be welcome.
Regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >

--2fHTh5uZTiUOsy+g
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="typescript.build.txt"

Script started on Tue Sep 25 19:41:12 2007
octobrebsd:src# ./build.sh tools
===> build.sh command: ./build.sh tools
===> build.sh started: Tue Sep 25 19:41:15 CEST 2007
===> NetBSD version:   4.0_RC1
===> MACHINE:          i386
===> MACHINE_ARCH:     i386
===> Build platform:   NetBSD 4.0_BETA2 i386
===> HOST_SH:          /bin/sh
===> No nonexistent/bin/nbmake, needs building.
===> Bootstrapping nbmake
checking for sh... /bin/sh
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for regex.h... yes
checking for poll.h... yes
checking for regfree in -lregex... no
checking for library containing regfree... none required
checking for setenv... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for vsnprintf... yes
configure: creating ./config.status
config.status: creating buildmake.sh
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/arch.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/buf.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/compat.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/cond.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/dir.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/for.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/hash.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/job.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/main.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/make.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/parse.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/str.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/suff.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/targ.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/trace.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/util.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/var.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstAppend.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstAtEnd.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstAtFront.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstClose.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstConcat.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstDatum.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstDeQueue.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstDestroy.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstDupl.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstEnQueue.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstFind.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstFindFrom.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstFirst.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstForEach.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstForEachFrom.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstInit.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstInsert.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstIsAtEnd.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstIsEmpty.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstLast.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstMember.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstNext.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstOpen.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstPrev.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstRemove.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstReplace.c
cc  -O -D_PATH_DEFSHELLDIR="/bin" -D_BASENAME_DEFSHELL="sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /usr/src/tools/make/../../usr.bin/make/lst.lib/lstSucc.c
cc  -O -o nbmake *.o  
#    objdir  /usr/obj/tools.i386
===> TOOLDIR path:     /usr/src/obj/tooldir.NetBSD-4.0_BETA2-i386
===> DESTDIR path:     /usr/src/obj/destdir.i386
===> RELEASEDIR path:  /usr/src/obj/releasedir
===> Created /usr/src/obj/tooldir.NetBSD-4.0_BETA2-i386/bin/nbmake
===> makewrapper:      /usr/src/obj/tooldir.NetBSD-4.0_BETA2-i386/bin/nbmake-i386
===> Updated /usr/src/obj/tooldir.NetBSD-4.0_BETA2-i386/bin/nbmake-i386
nbmake: don't know how to make obj-tools. Stop

nbmake: stopped in /usr/src

ERROR: Failed to make obj-tools
*** BUILD ABORTED ***
octobrebsd:src# exit

Script done on Tue Sep 25 19:43:08 2007

--2fHTh5uZTiUOsy+g--