Subject: Re: i386-current not building distribution
To: Havard Eidnes <he@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: current-users
Date: 01/05/2006 21:12:59
On Thu, 05 Jan 2006, Havard Eidnes wrote:
> > The first few lines of ${DESTDIR}/METALOG should look like this:
> >
> > . type=dir uname=root gname=wheel mode=0755
> > ./altroot type=dir uname=root gname=wheel mode=0755
> > ./bin type=dir uname=root gname=wheel mode=0755
> > ./dev type=dir uname=root gname=wheel mode=0755
> 
> The first few lines in my case looked like this:
> 
> . type=dir mode=0755 uname=root gname=wheel tags=base_pkg
> ./usr/include/a.out.h type=file mode=0444 uname=root gname=wheel time=1071057985.0 sha1=6997b8be65088f147abd7407f2bd026449c19514

That's what you would get with the old etc/Makefile.

> I do have revision 1.317 of src/etc/Makefile, so that's not it.

Then the first part of your METALOG was written when you had an old
etc/Makefile, and some later part was written with a new etc/Makefile.
I neglected to allow for this when I changed the way the metalog
is sanitised (when I moved the metalog sanitising stage from
distrib/sets/maketars to distrib/sets/Makefile).

> I think this has to do with what happens when you repeatedly do
> UPDATE builds as non-root.  Sorry, I've not looked closer at the
> underlying reason for the file being messed up.

I'll fix it soon.  For now, you can probably work around it by manually
inserting a copy of etc/mtree/NetBSD.dist at the start of the metalog,
or run your perl script.

--apb (Alan Barrett)