Subject: Re: Upgrading from 1.5.2 to -current?
To: NetBSD Port-SPARC Mailing List <port-sparc@netbsd.org>
From: Antonio Prioglio <a.prioglio@city.ac.uk>
List: port-sparc
Date: 04/18/2002 01:31:08
On Wed, 17 Apr 2002, Manuel Bouyer wrote:
> > 	I found the instructions that you had previously posted, and 
> > started with the first step:
> > 
> > % ./build.sh -t
> > ===> Bootstrapping nbmake
> > 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
> > 
> > 	[ ... deletia ... ]
> > 
> > cc  -O -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 
> > -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -DMAKE_BOOTSTRAP 
> > -I/u/src/tools/make/../../usr.bin/make -c 
> > /u/src/tools/make/../../usr.bin/make/lst.lib/lstSucc.c
> > cc  -O -o nbmake *.o
> > ===> DESTDIR path:
> > ===> TOOLDIR path: /u/tools
> > obj ===> tools
> > obj ===> tools/host-mkdep
> > making /u/src/tools/host-mkdep/obj
> > obj ===> tools/.WAIT
> > cd: can't cd to /u/src/tools/.WAIT
> > *** Error code 2
> 
> Just as if it was still using the old make.
> 
> I tried a build.sh on a sparc from today's sources, and it managed to compile
> the tools at last (I had to halt it), so I suspect there's a problem with your
> environnement.
I'm not clear from where du you derive the above suspicion ...

> Do you have a program called nbmake or nbmake-sparc somewhere in your PATH ?
> can you post the content of your environnement variables (result of
> 'env' command) ?

My env is 'plain vanilla' from dist 1.5.3rc1.
in mk.conf the only variables set are machine,machine-arch,tooldir.
nbmake, nbmake-sparc are build by build.sh -t.

-- 
Regards,
Antonio Prioglio [a.prioglio@cbtcentre.co.uk]
http://www.cbtcentre.co.uk
====================================================
Cognitive Behavioural Therapy Centre - London