Bug#535958: libparse-debcontrol-perl: fails to parse control files with comments

Neil Williams neil at codehelp.co.uk
Mon Jul 6 11:17:09 UTC 2009


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

debian/control does now allow comments (lines starting with # with no
preceding whitespace) but when libparse-debcontrol-perl comes across
such a debian/control file, parse_file returns an empty variable.

Either parse_file should ignore the comments and preserve the rest of
the content or preserve both comments and content.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libparse-debcontrol-perl depends on:
ii  libcompress-zlib-perl         2.015-1    Perl module for creation and manip
ii  libio-stringy-perl            2.110-4    Perl modules for IO from scalars a
ii  libwww-perl                   5.828-1    WWW client/server library for Perl
ii  perl [libcompress-zlib-perl]  5.10.0-23  Larry Wall's Practical Extraction 

Versions of packages libparse-debcontrol-perl recommends:
ii  libpod-coverage-perl          0.20-1     checker for comprehensiveness of p
pn  libtest-pod-perl              <none>     (no description available)
ii  libtie-ixhash-perl            1.21-2     ordered associative arrays for Per

libparse-debcontrol-perl suggests no packages.

-- no debconf information





More information about the pkg-perl-maintainers mailing list