Subject: Failing ./build.sh tools
To: None <netbsd-users@netbsd.org>
From: Kosta Kilim <kopno@sdf.lonestar.org>
List: netbsd-users
Date: 02/08/2005 13:02:12
Hi,

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:

http://www.netbsd.org/guide/en/chap-cvs.html


If I try: ./build.sh 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: ./build.sh tools and it also starts until this hick
up:

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
dep
*** Error code 1

Stop.
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

Stop.
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