Subject: Re: cleaning out pkg between each bulk build? (was: CVS commit:
To: Jeremy C. Reed <reed@reedmedia.net>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 03/31/2005 16:17:24
On Thu, 31 Mar 2005, Jeremy C. Reed wrote:

> > I noticed on a bulk build that my pkg/include was a plain text file
> > containing just:
> > double dcon();
> > which should have been installed to pkg/include/pgraf.h.
>
> And this broke hundreds of later builds and wasted a night of bulk package
> builds :(
>
> I also had a man/man2 which was a text file.

Do you have mtree invocation turned off somehow?  At "install" time, mtree
should run to ensure all the pkgsrc infrastructure directories exist.

> Should we also clean out all of ${LOCALBASE} before each package build?
>
> Maybe after saving list of leftover files?

We actually save the leftover files themselves, not just their names.  8-)

-- 
-- Todd Vierling <tv@duh.org> <tv@pobox.com>