Subject: Re: failure: create set lists
To: Christoph Egger <Christoph_Egger@gmx.de>
From: Rafal Boni <rafal@pobox.com>
List: current-users
Date: 04/14/2004 11:25:20
In message <24554.1081671037@www27.gmx.net>, you write: 

-> > After a successfull ./build.sh distribution
-> > I did:
-> > 
-> > build.sh install=/
-> > 
-> > and it failed:
-> > 
-> > # create set lists
[...]
-> > nbmtree: ./usr/include/sparc64: No such file or directory
-> > nbmtree: failed at line 7234 of the specification
-> > maketars: mtree parse of /usr/objdir.sparc64/destdir.sparc64/METALOG
-> > failed
-> > 
-> > *** Failed target:  makesetfiles
-> 
-> METALOG, line 7234 is this:
-> 
-> ./usr/share/man/cat3/tdelete.0 type=file mode=0444
-> sha1=8ff525da4b648fe8fdc54bd612fd1e0275e8bbee

The makesetfiles target prepends the contents of ${etcdir}/mtree/NetBSD.dist
to the METALOG, IIRC, so look there (and if it doesn't have enough lines
then look at line 7234 - `wc -l ${etcdir}/mtree/NetBSD.dist` - 1 of the
METALOG instead.  I tripped over this a while back and I *think* it was
a matter of old junk in my destdir causing the build.sh to blow chunks.

(And I think ${etcdir} is the source-tree's etc, but you can double-check
 that by looking in the maketars script & Makefile in distrib/sets)

HTH,
--rafal

----
Rafal Boni                                                     rafal@pobox.com
  We are all worms.  But I do believe I am a glowworm.  -- Winston Churchill