Bug#624305: config-edit fails when parsing DEP5 copyright with a comma in the License field
Niko Tyni
ntyni at debian.org
Wed Apr 27 09:46:39 UTC 2011
Package: libconfig-model-perl
Version: 1.241-1
Severity: normal
Quoting DEP-5:
For the most complex cases, the comma is used to disambiguate the
priority of ors and ands: and has the priority over or, unless preceded
by a comma. For instance:
A or B and C means A or (B and C). A or B, and C means (A or B), and C.
However, the model does not seem to support this:
# cat debian/copyright
Format: http://www.debian.org/doc/copyright-format/1.0
Files: *
Copyright:
License: GPL-2+ or Artistic-2.0, and BSD
This is for a file that has Perl code and classic BSD code in it.
# config-edit -application dpkg-copyright -ui none
Configuration item 'Files:* License short_name' has a wrong value:
value 'GPL-2+ or Artistic-2.0, and BSD' does not match grammar:
[...]
If the comma is removed it works fine.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libconfig-model-perl depends on:
ii libany-moose-perl 0.13-1 module to use either Moose or Mous
ii libapt-pkg-perl 0.1.24+b1 Perl interface to libapt-pkg
ii libcarp-assert-more-perl 1.12-2 Convenience wrappers for libcarp-a
ii libexception-class-perl 1.31-1 module that allows you to declare
ii libfile-homedir-perl 0.97-1 Perl module for finding user direc
ii libhash-merge-perl 0.12-1 Merges arbitrarily deep hashes int
ii liblog-log4perl-perl 1.29-1 A Perl port of the widely popular
ii libmouse-perl 0.91-1 lightweight object framework for P
ii libmousex-nativetraits-p 1.04-1 Extend your attribute interfaces f
ii libmousex-strictconstruc 0.02-1 Mouse extension for making object
ii libparse-recdescent-perl 1.965001+dfsg-1 Perl module to create and use recu
ii libpod-pom-perl 0.27-1 module providing a Pod Object Mode
ii libtext-autoformat-perl 1.669002-1 module for automatic text wrapping
ii libwww-perl 6.01-3 simple and consistent interface to
ii libyaml-perl 0.72-1 YAML Ain't Markup Language
ii perl 5.10.1-20 Larry Wall's Practical Extraction
Versions of packages libconfig-model-perl recommends:
ii bash-completion 1:1.3-1 programmable completion for the ba
ii fuse-utils 2.8.4-1.4 Filesystem in USErspace (utilities
ii libfuse-perl 0.09-3 Write filesystems in Perl using FU
Versions of packages libconfig-model-perl suggests:
pn libconfig-model-tkui-perl <none> (no description available)
ii libterm-readline-perl-perl 1.0303-1 Perl implementation of Readline li
-- no debconf information
More information about the pkg-perl-maintainers
mailing list