Tuesday, February 02, 2021

Re: Creating package debug... Fatal error: can't parse comment is too long

On Tue, Feb 02, 2021 at 11:45:24AM +0000, Stuart Henderson wrote:
> On 2021/02/02 10:05, Marc Espie wrote:
> > On Sun, Jan 24, 2021 at 09:50:50PM +0000, Stuart Henderson wrote:
> > > You are correct that it will require bumping every port that has
> > > debug packages. It might be better to only change the comment
> > > if it's too long (so that existing ones aren't changed).
> >
> > Actually, I'm not sure it's strictly required. In fact it's not.
> >
> > See, debug packages don't go through register-plist, so changes
> > are not really a problem with them.
>
> Oh, that's a bit of luck!

More of a design property actually :)

There's an explicit test in the packaging loop to avoid registering
debug-packages, for several reasons
- their packing-lists don't exist independently of normal packages
- I don't think you'd fancy twice that many files in the plist directory
- it allowed for rapid development while in-tree, as the generating code
has had to evolve several times.

No comments:

Post a Comment