Debian Bug report logs -
#779676
dep5-copyright-license-name-not-unique check is too strict or too severe.
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, plessy@debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#779676; Package lintian.
(Tue, 03 Mar 2015 22:15:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Charles Plessy <plessy@debian.org>:
New Bug report received and forwarded. Copy sent to plessy@debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>.
(Tue, 03 Mar 2015 22:15:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: lintian
Version: 2.5.30+deb8u3
Severity: normal
Dear Lintian maintainers,
thank you for your support of the machine-readable copyright format.
Regarding the tag dep5-copyright-license-name-not-unique, I think that it
is either too strict or too severe.
The specification does not require the use of stand-alone License paragraphs
when the same license short name is used in multiple Files paragraphs. Hence
it is only an error if two Files paragraphs use the same short name for a
License, but with a different description.
I think that the dep5-copyright-license-name-not-unique tag should either:
- reduce its severity, as just an advice for readability, or
- only be issued when the same short name is used with a different description.
Have a nice day,
--
Charles Plessy
Tsurumi, Kanagawa, Japan
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#779676; Package lintian.
(Fri, 06 Mar 2015 22:21:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Bastien ROUCARIES <roucaries.bastien@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>.
(Fri, 06 Mar 2015 22:21:05 GMT) (full text, mbox, link).
Message #10 received at submit@bugs.debian.org (full text, mbox, reply):
On Tue, Mar 3, 2015 at 11:13 PM, Charles Plessy <plessy@debian.org> wrote:
> Package: lintian
> Version: 2.5.30+deb8u3
> Severity: normal
>
> Dear Lintian maintainers,
>
> thank you for your support of the machine-readable copyright format.
>
> Regarding the tag dep5-copyright-license-name-not-unique, I think that it
> is either too strict or too severe.
>
> The specification does not require the use of stand-alone License paragraphs
> when the same license short name is used in multiple Files paragraphs. Hence
> it is only an error if two Files paragraphs use the same short name for a
> License, but with a different description.
>
> I think that the dep5-copyright-license-name-not-unique tag should either:
>
> - reduce its severity, as just an advice for readability, or
> - only be issued when the same short name is used with a different description.
Could you pin point the exact verse of the specification ?
Thanks
> Have a nice day,
>
> --
> Charles Plessy
> Tsurumi, Kanagawa, Japan
>
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#779676; Package lintian.
(Fri, 06 Mar 2015 22:21:08 GMT) (full text, mbox, link).
Acknowledgement sent
to Bastien ROUCARIES <roucaries.bastien@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>.
(Fri, 06 Mar 2015 22:21:08 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#779676; Package lintian.
(Fri, 06 Mar 2015 23:18:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Charles Plessy <plessy@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>.
(Fri, 06 Mar 2015 23:18:05 GMT) (full text, mbox, link).
Message #20 received at 779676@bugs.debian.org (full text, mbox, reply):
> On Tue, Mar 3, 2015 at 11:13 PM, Charles Plessy <plessy@debian.org> wrote:
> >
> > I think that the dep5-copyright-license-name-not-unique tag should either:
> >
> > - reduce its severity, as just an advice for readability, or
> > - only be issued when the same short name is used with a different description.
Le Fri, Mar 06, 2015 at 11:19:38PM +0100, Bastien ROUCARIES a écrit :
>
> Could you pin point the exact verse of the specification ?
Hi Bastien:
"Stand-alone License paragraphs can be used to provide the full license text
for a given license once, instead of repeating it in each Files paragraph that
refers to it."
https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#stand-alone-license-paragraph
Since it is "can" and not "must", Lintian is too severe.
Have a nice week-end,
Charles
--
Charles Plessy
Tsurumi, Kanagawa, Japan
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#779676; Package lintian.
(Mon, 20 Apr 2015 21:30:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Simon Josefsson <simon@josefsson.org>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>.
(Mon, 20 Apr 2015 21:30:05 GMT) (full text, mbox, link).
Message #25 received at 779676@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
I found this bugreport while tracking down this lintian complaint. I'm
not sure the warning is useful. Just consider the examples inside
DEP5 itself. As far as I understand, those wouldn't be compliant with
this check -- example 3 and 4 have multiple 'License: GPL-2+' statements
with different text.
For me lintian complained about the two GPL-3+ licensed block
in the 'libidn2-0' package:
https://sources.debian.net/src/libidn2-0/0.10-2/debian/copyright/
I think the approach I'm using in that package is useful: the comments
for the two blocks of GPL-3+ licensed files are different because the
copyrights are different and the origins of the files are different. I
never read DEP5 saying this isn't permitted. If I'm mistaken, maybe
this aspect of DEP5 could be clarified.
Maybe it helps to consider this question: What kind of problem was this
check intended to identify?
/Simon
[Message part 2 (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#779676; Package lintian.
(Sun, 07 Jun 2015 22:42:03 GMT) (full text, mbox, link).
Acknowledgement sent
to "Steve M. Robbins" <steve@sumost.ca>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>.
(Sun, 07 Jun 2015 22:42:03 GMT) (full text, mbox, link).
Message #30 received at 779676@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Wed, Mar 04, 2015 at 07:13:12AM +0900, Charles Plessy wrote:
> I think that the dep5-copyright-license-name-not-unique tag should either:
>
> - reduce its severity, as just an advice for readability, or
> - only be issued when the same short name is used with a different description.
Have to agree with Charles. I got the warning on the attached
copyright file that uses the suggested "GPL-2+" twice and *with the
same description*.
-Steve
[copyright (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Lintian Maintainers <lintian-maint@debian.org>:
Bug#779676; Package lintian.
(Tue, 21 Jul 2015 16:03:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Javi Merino <vicho@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Lintian Maintainers <lintian-maint@debian.org>.
(Tue, 21 Jul 2015 16:03:04 GMT) (full text, mbox, link).
Message #35 received at 779676@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Sun, 7 Jun 2015 17:30:02 -0500 "Steve M. Robbins" <steve@sumost.ca> wrote:
> On Wed, Mar 04, 2015 at 07:13:12AM +0900, Charles Plessy wrote:
>
> > I think that the dep5-copyright-license-name-not-unique tag should either:
> >
> > - reduce its severity, as just an advice for readability, or
> > - only be issued when the same short name is used with a different description.
>
> Have to agree with Charles. I got the warning on the attached
> copyright file that uses the suggested "GPL-2+" twice and *with the
> same description*.
I fully agree. This check fails for the examples in [0] so it should
be removed or fixed. The offending code is in
checks/source-copyright.pm, lines 391-405:
for (@short_licenses) {
$short_licenses_seen{$_} = $i;
if (not defined($full_license)) {
$required_standalone_licenses{$_} = $i;
} else {
if(defined($full_licenses_seen{$_})
and $_ ne 'public-domain') {
tag 'dep5-copyright-license-name-not-unique',
"license: $_, (paragraph at line $current_line)";
} else {
$full_licenses_seen{$_} = $current_line;
print("license, seen = $_\n");
}
}
}
This adds the license to $full_licenses_seen when there is an entry
with a License: and then fails if there is another entry with the same
License. That's perfectly valid, as the examples show.
[0] https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Cheers,
Javi
[signature.asc (application/pgp-signature, inline)]
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Jan 4 04:24:59 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.