Bug#780138: dch: dies if debian/control contains comment starting with ##

James McCoy jamessan at debian.org
Mon Mar 9 17:32:59 UTC 2015


Control: reassign -1 libparse-debcontrol-perl 2.005-4
Control: retitle -1 stripComments mishandles ## comment lines
Control: affects -1 devscripts

On Mon, Mar 09, 2015 at 04:45:23PM +0000, James Cowgill wrote:
> Running 'dch -i' within the qemu package gives:
> > Parse error: invalid key/value stansa at line 45 of data ("# --with-gtkabi=2.0").
> 
> Line 45 contains this (ie a double #):
> > ## --with-gtkabi=2.0
> 
> Debian Policy 5.1 says:
> > Lines starting with # without any preceding whitespace are comments
> > lines that are only permitted in source package control files
> > (debian/control). These comment lines are ignored, even between two
> > continuation lines. They do not end logical lines.
> 
> After reading that, I think lines starting with ## should still be
> treated as comments, but dch doesn't treat them as such.

I would agree, but this is actually a bug in libparse-debcontrol-perl.
Reassigning.

Cheers,
James



More information about the devscripts-devel mailing list