Subject: Re: build.sh current checkflist error
To: NetBSD-current Discussion List <current-users@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: current-users
Date: 09/18/2003 13:57:58
[ On Thursday, September 18, 2003 at 00:12:18 (-0700), Bruce J.A. Nourish wrote: ]
> Subject: Re: build.sh current checkflist error
>
> On Thu, Sep 18, 2003 at 08:42:32AM +0200, cube@cubidou.net wrote:
> > On Wed, Sep 17, 2003 at 11:34:15PM -0700, Bruce J.A. Nourish wrote:
> > > Perhaps we could make this a FAQ somewhere?
> > 
> > I believe this is a very unfortunate advice to give. -current is not
> > meant to always build without an error, and people following -current
> > should know that.
> 
> It's not supposed to bail over trivial errors either. Granted, 
> sometimes an flist error is symptomatic of a real problem; most 
> of the time it isn't. I know I'm not the first or by any means the
> most senior NetBSD developer to give this advice.

Well then the more correct advice is to still run checkflist, but then
ignore the error.  I.e. don't comment it out but rather prefix it with a
hyphen to tell make not to bail if an error is reported.

(Of course this whole idea of packing lists that have to be maintained
separately from the makefiles which actually make the decisions about
what gets installed is the real underlying problem and it can now be
fixed by using the METALOG -- i.e. include the necessary packaging
information right in the METALOG such that the sets lists and the whole
mess of syspkgs can slip away as a bad memory.)

-- 
						Greg A. Woods

+1 416 218-0098                  VE3TCP            RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>