Subject: Re: CVS commit: pkgsrc/mk/bulk
To: None <pkgsrc-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: pkgsrc-changes
Date: 05/21/2007 15:10:38
On Mon, May 21, 2007 at 12:29:54PM +0200, Krister Walfridsson wrote:
> But you are wrong that this is not necessary because that they are
> marked as preserve.  The bulk build start by removing old packages
> by doing a
>   rm -fr *
> in ${PKG_DBDIR} and ${DEPOTBASE} which of course remove the "preserve"
> markers, and makes bulk builds fail in interesting ways as the
> bootstrap stuff is re-installed/de-installed during the build
> (especially when the .mk files are de-installed after ~1000 packages
> has been built...)

It doesn't really remove the preserve marker, it kills all the
meta-data. *sigh* I don't want to ask who wrote this :-)

I said it earlier when I committed the changes for bootstrap to
consistently register the packages -- just get the file list from the
preserved packages and add etc/mk.conf.

One issue with the current code is that digest for example is not a
bootstrap dependency. The easiest solution would be to do the same what
I am doing, nuke everything and start from a binary bootstrap kit.

Joerg