[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#760642: lintian: False positive for space-in-std-shortname-in-dep5-copyright with alternative licenses (as common with Perl modules)

Package: lintian
Version: 2.5.26
Severity: normal

Dear Lintian Hackers,

the new space-in-std-shortname-in-dep5-copyright tag causes a lot of
false positive, mostly with packaged Perl modules, as most of them are
licensed under the same terms as Perl itself, i.e. under the Artistic
License as well as the GPLv1 or newer.

Usually this is declared as follows in debian/copyright:

Files: *
Copyright: 2013, Axel Beckert <abe@deuxchevaux.org>
License: GPL-1+ or Artistic

License: Artistic
 This program is free software; you can redistribute it and/or modify
 it under the terms of the Artistic License, which comes with Perl.
 On Debian systems, the complete text of the Artistic License can be
 found in `/usr/share/common-licenses/Artistic'.

License: GPL-1+
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 1, or (at your option)
 any later version.
 On Debian systems, the complete text of version 1 of the GNU General
 Public License can be found in `/usr/share/common-licenses/GPL-1'.

(Example taken from librun-parts-perl.)

Lintian claims for the above cited debian/copyright excerpt:

N:    The license header contains a short name with a space, which does not
N:    conform to the specification.
N:    Refer to
N:    http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ for
N:    details.

If I check
http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ for
details, it tell's me:

1) "First line: an abbreviated name for the license, or expression
   giving alternatives"

2) Example 1. tri-licensed files

   Files: src/js/editline/*
   Copyright: 1993, John Doe
              1993, Joe Average
   License: MPL-1.1 or GPL-2 or LGPL-2.1

   License: MPL-1.1

   License: GPL-2

   License: LGPL-2.1

So IMHO, lintian is clearly wrong here (and hence likely also for most
of the over 2900 Perl modules packaged in Debian).

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (110, 'experimental'), (109, 'buildd-unstable')
Architecture: amd64 (x86_64)

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

Versions of packages lintian depends on:
ii  binutils             
ii  bzip2                          1.0.6-7
ii  diffstat                       1.58-1
ii  file                           1:5.19-1
ii  gettext                        0.19.2-2
ii  hardening-includes             2.5+nmu1
ii  intltool-debian                0.35.0+20060710.1
ii  libapt-pkg-perl                0.1.29+b2
ii  libarchive-zip-perl            1.38-1
ii  libclass-accessor-perl         0.34-1
ii  libclone-perl                  0.37-1+b1
ii  libdpkg-perl                   1.17.13
ii  libemail-valid-perl            1.194-1
ii  libfile-basedir-perl           0.03-1
ii  libipc-run-perl                0.92-1
ii  liblist-moreutils-perl         0.33-2+b1
ii  libparse-debianchangelog-perl  1.2.0-1
ii  libtext-levenshtein-perl       0.09-1
ii  libtimedate-perl               2.3000-2
ii  liburi-perl                    1.64-1
ii  man-db               
ii  patchutils                     0.3.3-1
ii  perl [libdigest-sha-perl]      5.20.0-6
ii  t1utils                        1.37-2.1

Versions of packages lintian recommends:
ii  libautodie-perl                 2.25-1
ii  libperlio-gzip-perl             0.18-3+b1
ii  perl                            5.20.0-6
ii  perl-modules [libautodie-perl]  5.20.0-6

Versions of packages lintian suggests:
pn  binutils-multiarch     <none>
ii  dpkg-dev               1.17.13
ii  libhtml-parser-perl    3.71-1+b2
ii  libtext-template-perl  1.46-1
ii  libyaml-perl           1.09-1
ii  xz-utils               5.1.1alpha+20120614-2

-- no debconf information

Reply to: