Subject: Re: Upgrading from 1.5.2 to -current?
To: Todd Vierling <tv@wasabisystems.com>
From: Brad Knowles <brad.knowles@skynet.be>
List: port-sparc
Date: 04/18/2002 14:22:53
At 9:37 PM -0400 2002/04/17, Todd Vierling wrote:

>  I think you're missing the src/share/mk directory.  Are you updating by cvs,
>  and if so, did your original "cvs checkout" die midstream?  Or did you
>  forget to get "share.tar.gz" from the tar_files before updating to the
>  latest sources?

	I am updating by CVS, but I'm fairly sure that I had properly 
gotten the 1.5.2.-REL share.tar.gz along with all the other standard 
tarballs during the installation process (omitting only the X-related 
tarballs, since this machine will never have enough CPU or memory to 
run X, nor do I have anything on which I would want to run X).

>  If so, it's possible that you never got "share", and a "cvs update" will not
>  resurrect it (because of a rather Magical way in which the CVS tree is
>  assembled).  You can either do a "cvs checkout" from scratch, or fetch
>  ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/share.tar.gz and
>  extract that into your source directory.

	I thought that I had been doing a "cvs checkout" from scratch 
(according to the instructions in section 18.2 of the NetBSD Guide, 
leaving out the "-rnetbsd-1-5" in order to grab the latest source), 
the last couple of times I updated.  Is that not correct?

	Assuming I did somehow manage to miss getting it, I'll try 
downloading the share.tar.gz file and extracting that in /usr/src, 
and try everything over again.

>  This is actually a different symptom of the same problem; here, it is not
>  seeing the USE_NEW_TOOLCHAIN setting that's supposed to be set
>  automagically.
>
>  You don't need to set any of USE_NEW_TOOLCHAIN, MKTOOLS, or USETOOLS in
>  /etc/mk.conf.  All of these default to "yes" for sparc.

	Based on your explanantion, something is pretty clearly munged 
here.  I'll try grabbing the latest "share" tarball and extracting 
that into /usr/src, and then try grabbing the latest source, and then 
try the build.sh script again.

	Thanks!

-- 
Brad Knowles, <brad.knowles@skynet.be>

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
     -Benjamin Franklin, Historical Review of Pennsylvania.