Bug#718692: debian/control comment detection breaks on leading '##'

Andreas Metzler ametzler at debian.org
Sun Aug 4 12:11:53 UTC 2013


Package: libparse-debcontrol-perl
Version: 2.005-4
Severity: normal

Hello,

dch fails on gnutls28:
--------------------------
SID)ametzler at argenau:/tmp/GNUTLS/gnutls-3.2.3$ env DEBEMAIL=ametzler at debian.org  dch -D UNRELEASED -i NOT RELEASED YET
libdistro-info-perl is not installed, Debian release names are not known.
libdistro-info-perl is not installed, Ubuntu release names are not known.
Parse error: invalid key/value stansa at line 214 of data ("# GnuTLS is a portable library which implements the Transport Layer").
--------------------------

It seems to stumble over this part of debian/control:
--------------------------
##Package: libgnutls-openssl27
##Priority: standard
##Architecture: any
##Depends: libgnutls28 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
##Pre-Depends: ${misc:Pre-Depends}
##Multi-Arch: same
##Description: GNU TLS library - OpenSSL wrapper
## GnuTLS is a portable library which implements the Transport Layer
## Security (TLS 1.0, 1.1, 1.2) and Secure Sockets Layer (SSL) 3.0 and Datagram
## Transport Layer Security (DTLS 1.0, 1.2) protocols.
--------------------------
Especially it does not like the double "#", s/^##/#/ lets dch succeed.

I am reporting this against libparse-debcontrol-perl instead of
devscripts, since grep finds the error message "invalid key/value stansa"
in files from the former package /usr/share/perl5/Parse/DebControl.pm
/usr/share/perl5/Parse/DebControl/Patch.pm. 
Please reassign if this is incorrect.

cu Andreas



More information about the pkg-perl-maintainers mailing list