Subject: Re: Switching form 1.5.2 to -current
To: emanuel stiebler <emu@ecubics.com>
From: David Burgess <burgess@neonramp.com>
List: port-macppc
Date: 10/02/2001 15:00:09
While there are steps that you can take to get to -current from any
'release' version, by far the simplest method is to grab one of the
-current snapshots from ftp.netbsd.org and recompile from there.

Dave

P.S.  On the website (I don't recall where, precisely) is a document
that lists what needs to be rebuilt, in what order, to successfully
build the -current toolchain so that you can successfully build the
-current system.  Try the URL below to see basically what you need
to do.

http://cvsweb.netbsd.org/bsdweb.cgi/basesrc/UPDATING?rev=1.38&content-type=text/x-cvsweb-markup

emanuel stiebler wrote:
> 
> Thilo Manske wrote:
> >
> > On Tue, Oct 02 2001 at 12:23:52 -0600, emanuel stiebler wrote:
> > > So compile a new "config" ? What I got there is:
> > >
> > > starmax1# pwd
> > > /usr/src/usr.sbin/config
> > > starmax1# make
> > > make: don't know how to make /usr/destdir/usr/lib/crt0.o. Stop
> > > starmax1#
> > >
> > > Any hints ?
> > Is it possible that you did a "make build" some time ago with DESTDIR set to
> > "/usr/destdir" and then deleted or unmounted that dir?
> 
> Nope. Absolutely fresh install of NetBSD-1.5.2 few hours ago.
> And all I've done is copy the -current into /usr/src.
> 
> > Remove the .depend file and then try again.
> 
> There is no .depend file :-(
> 
> cheers & thanks
> 
> P.S. few environment stuff:
> 
> starmax1# printenv
> HOME=/root
> SHELL=/bin/csh
> TERM=vt100
> LOGNAME=root
> USER=root
> PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/us
> r/local/sbin:/usr/local/bin
> PWD=/usr/src/sys/arch/macppc/conf
> BLOCKSIZE=1k
> BSDSRCDIR=/usr/src
> BSDOBJDIR=/usr/obj
> BUILD=1
> UPDATE=1
> DESTDIR=/usr/destdir
> RELEASEDIR=/usr/releasedir
> starmax1#
> starmax1# ll /usr
> total 33
> drwxr-xr-x   7 root  wheel   512 Sep  8  1956 X11R6
> drwxr-xr-x   2 root  wheel  5632 Sep  8  1956 bin
> drwxr-xr-x   2 root  wheel   512 Oct  2 12:40 destdir
> drwxr-xr-x   3 root  wheel  1024 Sep  8  1956 games
> drwxr-xr-x  38 root  wheel  2560 Sep  8  1956 include
> drwxr-xr-x   2 root  wheel  6656 Sep  8  1956 lib
> drwxr-xr-x   3 root  wheel   512 Aug 18 12:08 libdata
> drwxr-xr-x   7 root  wheel  1024 Sep  8  1956 libexec
> drwxr-xr-x   2 root  wheel   512 Aug 18 14:16 lkm
> drwxr-xr-x   8 root  wheel   512 Aug 18 12:08 local
> drwxr-xr-x   2 root  wheel   512 Aug 18 14:16 mdec
> drwxr-xr-x   2 root  wheel   512 Oct  2 12:41 obj
> drwxr-xr-x  13 root  wheel   512 Oct  1 23:20 pkg
> drwxr-xr-x   2 root  wheel   512 Oct  2 12:41 releasedir
> drwxr-xr-x   2 root  wheel  3584 Sep  8  1956 sbin
> drwxr-xr-x  26 root  wheel   512 Aug 18 12:08 share
> drwxr-xr-x  20 root  wheel   512 Oct  2 05:35 src
> starmax1#
> starmax1# df
> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
> /dev/sd0a       31951    22825     7528    75%    /
> /dev/sd0g     1871669   658397  1119688    37%    /usr
> kernfs              1        1        0   100%    /kern
> starmax1#