Subject: Failing ./ tools
To: None <>
From: Kosta Kilim <>
List: netbsd-users
Date: 02/08/2005 13:02:12

installed NetBSD 2.0 on Sunday and I'm trying to familiarise myself
with it. So far I really like it. Ksh and postfix installed by
default. Very nice.

However I'm having some problems, I'm trying to build the whole source
tree, I mean, to update the whole system. 

I got the sources following these instructions:

If I try: ./ kernel=NETBSD where NETBSD is my kernel file,
this happens:

(it chugs along until)

===> MACHINE:          i386
===> MACHINE_ARCH:     i386
===> TOOLDIR path:     /usr/src/tooldir.NetBSD-2.0-i386
===> DESTDIR path:     /usr/src/destdir.i386
===> RELEASEDIR path:  /usr/src/releasedir
===> Created /usr/src/tooldir.NetBSD-2.0-i386/bin/nbmake
===> makewrapper:      /usr/src/tooldir.NetBSD-2.0-i386/bin/nbmake-i386
===> Updated /usr/src/tooldir.NetBSD-2.0-i386/bin/nbmake-i386
===> Building kernel without building new tools
#    objdir  /usr/obj/sys/arch/i386/compile
===> Building kernel:  NETBSD
===> Build directory:  /usr/src/sys/arch/i386/compile/obj/NETBSD
rm -f a.out [Ee]rrs mklog core *.core .gdbinit 

So then I tried: ./ tools and it also starts until this hick

dependall ===> host-mkdep
install ===> host-mkdep
mkdir -p /usr/src/tooldir.NetBSD-2.0-i386/bin
cp host-mkdep /usr/src/tooldir.NetBSD-2.0-i386/bin/nbhost-mkdep

*** Failed target:  /usr/src/tooldir.NetBSD-2.0-i386/bin/nbhost-mkdep
*** Failed command: cp host-mkdep /usr/src/tooldir.NetBSD-2.0-i386/bin/nbhost-mk
*** Error code 1

nbmake: stopped in /usr/src/tools/host-mkdep

*** Failed target:  install-host-mkdep
*** Failed command: targ=install;dir=host-mkdep; case "$dir" in /*) echo "$targ 
===> $dir"; cd "$dir"; /usr/src/tooldir.NetBSD-2.0-i386/bin/nbmake "_THISDIR_=$d
ir/" $targ; ;; *) echo "$targ ===> $dir"; cd "/usr/src/tools/$dir"; /usr/src/too
ldir.NetBSD-2.0-i386/bin/nbmake "_THISDIR_=$dir/" $targ; ;; esac
*** Error code 1

nbmake: stopped in /usr/src/tools

So what I'd like to know is: what am I doing wrong ?

The system is PII 266MHz, 64MB RAM, ste0 nic. 

Thank you