Package: lintian
Version: 2.5.44
Severity: wishlist
In the spirit of license-problem-gfdl-invariants, lintian should check that
license blocks with short name GFDL-X.Y are actually GFDL-X.Y (in which case
they would be non-DFSG), or if they should instead have short name GFDL-NIV-X.Y
(the short name specified in DEP5[0] for GFDL with no invariant sections). In
particular, nothing with short name GFDL should be destined to main.
[0] https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#license-short-name
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages lintian depends on:
ii binutils 2.26-10
ii bzip2 1.0.6-8
ii diffstat 1.61-1
ii file 1:5.25-2
ii gettext 0.19.7-2
ii hardening-includes 2.8+nmu2
ii intltool-debian 0.35.0+20060710.4
ii libapt-pkg-perl 0.1.29+b5
ii libarchive-zip-perl 1.57-1
ii libclass-accessor-perl 0.34-1
ii libclone-perl 0.38-1+b1
ii libdata-alias-perl 1.20-1+b1
ii libdpkg-perl 1.18.7
ii libemail-valid-perl 1.198-1
ii libfile-basedir-perl 0.07-1
ii libipc-run-perl 0.94-1
ii liblist-moreutils-perl 0.413-1+b1
ii libparse-debianchangelog-perl 1.2.0-8
ii libperl5.22 [libdigest-sha-perl] 5.22.2-1
ii libtext-levenshtein-perl 0.13-1
ii libtimedate-perl 2.3000-2
ii liburi-perl 1.71-1
ii libyaml-libyaml-perl 0.41-6+b1
ii man-db 2.7.5-1
ii patchutils 0.3.4-1
ii perl 5.22.2-1
ii t1utils 1.39-2
ii xz-utils 5.1.1alpha+20120614-2.1
Versions of packages lintian recommends:
ii dpkg 1.18.7
ii libperlio-gzip-perl 0.19-1+b1
ii perl 5.22.2-1
ii perl-modules-5.22 [libautodie-perl] 5.22.2-1
Versions of packages lintian suggests:
pn binutils-multiarch <none>
ii dpkg-dev 1.18.7
ii libhtml-parser-perl 3.72-1
ii libtext-template-perl 1.46-1
-- no debconf information
--
|_)|_/ Ryan Kavanagh | Debian Developer
| \| \ https://ryanak.ca/ | GPG Key 4A11C97A
Acknowledgement sent
to Chris Lamb <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <[email protected]>.
(Wed, 25 Oct 2017 14:15:03 GMT) (full text, mbox, link).
Subject: Re: check if dep5 license texts are GFDL or GFDL-NIV
Date: Wed, 25 Oct 2017 15:13:18 +0100
Hi,
> lintian should check that license blocks with short name GFDL-X.Y
> are actually GFDL-X.Y (in which case they would be non-DFSG), or
> if they should instead have short name GFDL-NIV-X.Y
How can Lintian tell the difference? Could you provide an example? :)
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
Changed Bug title to 'lintian: Check if dep5 license texts are GFDL or GFDL-NIV' from 'check if dep5 license texts are GFDL or GFDL-NIV'.
Request was from Chris Lamb <[email protected]>
to [email protected].
(Mon, 29 Jan 2018 13:49:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Nicholas D Steeves <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <[email protected]>.
(Mon, 30 Sep 2019 02:57:03 GMT) (full text, mbox, link).
Hi Chris,
On Wed, Oct 25, 2017 at 03:13:18PM +0100, Chris Lamb wrote:
> Hi,
>
> > lintian should check that license blocks with short name GFDL-X.Y
> > are actually GFDL-X.Y (in which case they would be non-DFSG), or
> > if they should instead have short name GFDL-NIV-X.Y
>
> How can Lintian tell the difference? Could you provide an example? :)
>
I've encountered a related issue while packaging
emacs-ivy-doc-non-dfsg. It has "Section: non-free/editors" and the
org file source used to generate its documentation is "License:
GFDL-1.3+", with invariant front-cover and back-cover texts.
Lintian errors with:
E: emacs-ivy-doc-non-dfsg source: license-problem-gfdl-invariants
debian/copyright invariant part is: with no invariant sections,
with the front-cover texts being a gnu manual, and with the
back-cover texts as in (a) below…
I would like to propose the following solution for Ryan's issue, which
also solves the error I'm experiencing:
Keep the existing parsing. Definitely document that a lintian
override is not appropriate for the initial upload (such an override
feels like it should be an NEW AUTOREJECT). Then add the following cases:
If a stanza has License: GFDL (no qualifiers), or GFDL-x.y[+|-only]
and the declared section isn't non-free/foo, then error.
If a stanza has License: GFDL-x.y[+|-only], and invariants are found,
and the section is correctly declared as non-free/foo, then warn but
do not error. That warning is an extra hint to ftpmasters imho.
If a stanza has License: GFDL-NIV.* then warn.
I've probably left out a number of possible cases, but I'll leave
those to someone more capable. What I'm not sure about is what to do
on subsequent uploads... It would be nice to have the liberty to
override the warning and hide it if a maintainer is 100% certain that
upstream won't budge on their choice of license. On the other hand, I
see the benefit of a nagging lintian output to remind the maintainer
to contact upstream about their choice of license.
Regards,
Nicholas
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.