Subject: Re: Failing ./build.sh tools
To: None <netbsd-users@netbsd.org>
From: Kosta Kilim <kopno@sdf.lonestar.org>
List: netbsd-users
Date: 02/08/2005 19:22:42
On Tue, Feb 08, 2005 at 10:31:49AM -0600, Francisco Valladolid wrote:
> Hi Folks.
> 
> I have NetBSD -current running in my actual server 
> (http://bsdguy.homeunix.org) without problems, this is not production 
> server,  then I suggest the follow link to maintain update all time.
>
> http://www.netbsd.org/Documentation/current/

Hi, 

from what I understand -current is bleeding edge, right ?

But what you're saying is: whatever release I use, I should use the
steps set out in the above document to keep my system up to date ?

> in the next message James Chacon describe the names branchs, with this 
> you can update you NetBSD OS to minor version that current.
> 
> http://mail-index.netbsd.org/netbsd-announce/2005/01/13/0000.html

Thank for this link. However I'm still a bit confused. I did update my
/usr/src/ using: cvs -q up -dPA -rnetbsd-2. So now I'm doing:

	cd /usr/src/
	./build.sh release kernel=NETBSD 
	(where NETBSD is my kernel file)

so then what, to install the whole new system:

	make installworld
(I see this doesn't install 'etc', how do I do that ?)

Then do I still have to move the kernel's 'netbsd' into / ? or is 
that done automagically ?

While I was writing all this the build managed to stumble over at:

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
cp: host-mkdep: No such file or directory

*** Failed target:  /usr/src/tooldir.NetBSD-2.0-i386/bin/nbhost-mkdep
cleandir ===> groff
rm -r -f .*_done build
rm -f a.out [Ee]rrs mklog core *.core     man.local-s mdoc.local-s
rm -f PREVIOUSTOOLDIR
echo /usr/src/tooldir.NetBSD-2.0-i386 > PREVIOUSTOOLDIR
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-mkdep
*** 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_=$dir/" $targ; ;; *) echo "$targ ===> $dir"; cd 
"/usr/src
/tools/$dir"; /usr/src/tooldir.NetBSD-2.0-i386/bin/nbmake "_THISDIR_=$dir/" $targ; ;; esac
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools

*** Failed target:  do-tools
*** Failed command: (cd /usr/src/tools && /usr/src/tooldir.NetBSD-2.0-i386/bin/nbmake dependall)
*** Error code 1

Stop.
nbmake: stopped in /usr/src

What do I do now ?

Thank you in advance