Source upgrade for 6-STABLE gets: "ERROR: Source upgrades from versions prior to 5.3 not supported."

David Wolfskill david at catwhisker.org
Thu Jan 19 09:46:50 PST 2006


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 at 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 at 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 at 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).

Each of /usr/src/Makefile and /usr/src/Makefile were updated as of 07 Jan
2006.  But I certainly didn't see the problem when I did the "make
buildworld" and friends yesterday....

Would someone please loan me a clue?

Thanks,
david
-- 
David H. Wolfskill				david at catwhisker.org
It is courteous to reduce quoted text to just that needed to establish context.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


More information about the freebsd-stable mailing list