Subject: -current: creating bogus base.tgz etc
To: None <tech-toolchain@netbsd.org>
From: Simon J. Gerraty <sjg@crufty.net>
List: tech-toolchain
Date: 01/20/2003 10:00:30
I build -current (as of yesterday) to build a diskless env for my
ss20 - so I can leave 1.6 on the disk.

The build completed ok (UNPRIV), but when it came to building the
sets:


DESTDIR=/var/obj/NetBSD/current/sparc/destdir  MACHINE=sparc \
 MACHINE_ARCH=sparc  \
 MAKE=/NetBSD/tools/current/NetBSD-1.6_STABLE-i386/bin/nbmake \
 MTREE=/NetBSD/tools/current/NetBSD-1.6_STABLE-i386/bin/nbmtree \
 PAX=/NetBSD/tools/current/NetBSD-1.6_STABLE-i386/bin/nbpax \
 sh /g/NetBSD/current/src/distrib/sets/maketars \
 -d /var/obj/NetBSD/current/sparc/destdir  \
 -M /var/obj/NetBSD/current/sparc/destdir/METALOG \
 -N /g/NetBSD/current/src/etc  \
 -t /var/obj/NetBSD/current/sparc/release/sparc/binary/sets 
Parsing /var/obj/NetBSD/current/sparc/destdir/METALOG
nbmtree: ./var/obj: No such file or directory
nbmtree: failed at line 854 of the specification
Creating base.tgz
Creating comp.tgz
...

each of base.tgz etc were only 20 bytes.  METALOG entries start
with:

./var/obj/NetBSD/current/sparc/destdir type=dir mode=0755 \
	uname=root gname=wheel tags=base_pkg
./var/obj/NetBSD/current/sparc/destdir/sys type=link \
	mode=0755 link=usr/src/sys uname=root gname=wheel tags=base_pkg

should that be:

/var/obj/...

No, it complains about that.  Looks like $DESTDIR should be
represented as just '.' in METALOG? 
Still not there though...
..
binary/sets 
Parsing /var/obj/NetBSD/current/sparc/destdir/METALOG
nbmtree: invalid specification `/var/db/libc.tags'
nbmtree: failed at line 6865 of the specification
Creating base.tgz

There were actually a lot of entries that started with just '/var/'
Once I cleaned that up it looks ok.

--sjg