Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2006 20:31:42 +0100
From:      =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@cs.tu-berlin.de>
To:        David Wolfskill <david@catwhisker.org>
Cc:        stable@freebsd.org
Subject:   Re: Source upgrade for 6-STABLE gets: "ERROR: Source upgrades from versions prior to 5.3 not supported."
Message-ID:  <43CFE91E.5080703@cs.tu-berlin.de>
In-Reply-To: <20060119174647.GG94023@bunrab.catwhisker.org>
References:  <20060119174647.GG94023@bunrab.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
David Wolfskill schrieb:
> This caught me a bit by surprise.  This was on my laptop:
> 
> localhost(6.0-S)[2] uname -a
> FreeBSD localhost 6.0-STABLE FreeBSD 6.0-STABLE #56: Wed Jan 18 07:47:29 PST 200
> 6     root@g1-18.catwhisker.org.:/common/S3/obj/usr/src/sys/LAPTOP_30W  i386
> localhost(6.0-S)[3] 
> 
> As you see, I had done this recently, and the process isn't exactly
> unfamiliar to me.
> 
> So I started the "make buildworld" and got:
> 
> localhost(6.0-S)[1] _bw^M
> root
> /dev/ad0s3a on / (ufs, local, soft-updates)
> devfs on /dev (devfs, local)
> /dev/ad0s3e on /usr (ufs, local, soft-updates)
> /dev/ad0s3f on /var (ufs, local, soft-updates)
> /dev/ad0s3g on /common (ufs, local, soft-updates)
> /dev/ad0s3h on /bkp (ufs, local, soft-updates)
> procfs on /proc (procfs, local)
> /dev/md0 on /tmp (ufs, local, soft-updates)
> FreeBSD localhost 6.0-STABLE FreeBSD 6.0-STABLE #56: Wed Jan 18 07:47:29 PST 200
> 6     root@g1-18.catwhisker.org.:/common/S3/obj/usr/src/sys/LAPTOP_30W  i386
> Thu Jan 19 08:00:52 PST 2006
> --------------------------------------------------------------
> 
>>>>Building an up-to-date make(1)
> 
> --------------------------------------------------------------
> make: don't know how to make /usr/include/sys/cdefs.h. Stop
> 
> --------------------------------------------------------------
> 
>>>>Rebuilding the temporary build tree
> 
> --------------------------------------------------------------
> rm -rf /usr/obj/usr/src/tmp
> mkdir -p /usr/obj/usr/src/tmp/legacy/usr/bin
> ...
> ln -sf /usr/src/sys /usr/obj/usr/src/tmp
> --------------------------------------------------------------
> 
>>>>stage 1.1: legacy release compatibility shims
> 
> --------------------------------------------------------------
> cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp  INSTALL="sh /usr/src/tools/i
> nstall.sh"  PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legac
> y/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin  W
> ORLDTMP=/usr/obj/usr/src/tmp  MAKEFLAGS="-m /usr/src/tools/build/mk  -j 6 -m /us
> r/src/share/mk" /usr/obj/usr/src/make.i386/make -f Makefile.inc1  DESTDIR=  BOOT
> STRAPPING=0  -DNO_HTML -DNO_INFO -DNO_LINT -DNO_MAN -DNO_NLS -DNO_PIC  -DNO_PROF
> ILE -DNO_SHARED -DNO_CPU_CFLAGS -DNO_WARNS legacy
> ERROR: Source upgrades from versions prior to 5.3 not supported.
> *** Error code 1
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> localhost(6.0-S)[2] uname -a^M
> FreeBSD localhost 6.0-STABLE FreeBSD 6.0-STABLE #56: Wed Jan 18 07:47:29 PST 200
> 6     root@g1-18.catwhisker.org.:/common/S3/obj/usr/src/sys/LAPTOP_30W  i386
> localhost(6.0-S)[3] exit
> 
> 
> I realize that "0" is likely to be considered "< 503000" (ref
> /usr/sr/cMakefile.inc1, line 765 of rev. 1.499.2.7).

Is BOOTSTRAPPING really "0"? Add the line
	@echo ${BOOTSTRAPPING}
below this line to make sure in case you didn't already.

Show also the output of
   grep 'define.*FreeBSD' /usr/include/osreldate.h

Björn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43CFE91E.5080703>