Bug#705596: libconfig-model-dpkg-perl: does not parse correctly License fields with commas

Cédric Boutillier boutil at debian.org
Wed Apr 17 09:32:12 UTC 2013


Package: libconfig-model-dpkg-perl
Version: 2.034
Severity: normal


Hi,

The package ruby-test-unit contains a file licensed under (Ruby or
BSD-2-clause) and PSF

According to
http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
in Section: License, Subsection: Syntax, the following syntax should be
used:
A or B, and C means (A or B) and C.

The corresponding paragraph in my debian/copyright file reads:

Files: lib/test/unit/diff.rb
Copyright: Copyright 2001-2008 Python Software Foundation
           Copyright 2008-2012 Kouhei Sutou <kou at clear-code.com>
License: BSD-2-clause or Ruby, and PSF

However, when I run cme check dpkg-copyright, I get the following
message:

$ cme check dpkg-copyright
Warning: skipping value BSD-2-clause or Ruby, and PSF because of the following errors:
license Ruby, is not declared in main License section. Expected BSD-2-clause LGPL-2.1 PSF Ruby

Configuration item 'Files:"lib/test/unit/diff.rb" License short_name' has a wrong value:
        Undefined mandatory value.


I take also the opportunity to thank you for this nice tool!

Cheers,

Cédric


-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libconfig-model-dpkg-perl depends on:
ii  libany-moose-perl         0.21-1
ii  libanyevent-http-perl     2.15-1
ii  libanyevent-perl          7.040-1
ii  libapt-pkg-perl           0.1.27
ii  libconfig-model-perl      2.030-1
ii  libfile-homedir-perl      0.99-1
ii  liblog-log4perl-perl      1.29-1
ii  libmouse-perl             1.05-1
ii  libparse-recdescent-perl  1.967009+dfsg-1
ii  libsoftware-license-perl  0.103005-1
ii  libtext-autoformat-perl   1.669002-1
ii  libtext-diff-perl         1.41-1
ii  libyaml-perl              0.84-1
ii  lintian                   2.5.11
ii  perl                      5.14.2-21

Versions of packages libconfig-model-dpkg-perl recommends:
ii  libconfig-model-tkui-perl               1.339-1
ii  libmodule-corelist-perl                 2.85-1
ii  perl                                    5.14.2-21
ii  perl-modules [libmodule-corelist-perl]  5.14.2-21

libconfig-model-dpkg-perl suggests no packages.

-- no debconf information



More information about the pkg-perl-maintainers mailing list