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

Bug#641879: unused-license-paragraph-in-dep5-copyright generated for used license paragraphs



* Matt Kraai <kraai@ftbfs.org>, 2011-09-16, 20:48:
When I run "lintian -I" on the .changes for theunarchiver, it shows the following tags:

I: theunarchiver source: unused-license-paragraph-in-dep5-copyright paragraph 6 gpl-2+
I: theunarchiver source: unused-license-paragraph-in-dep5-copyright paragraph 8 mpl-1.1

However, these paragraphs are used as follows:

Files: UniversalDetector/universalchardet/*
Copyright: 1998, Netscape Communications Corporation
License: MPL-1.1 or GPL-2+ or LGPL-2.1+

This matches one of the examples in DEP5, which says:

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

I believe that Lintian is correct here. Stand-alone License paragraph matching each license short name listed in the first line of License is required only if remaining lines of the field are left blank. But this is not the case here:

Files: UniversalDetector/universalchardet/*
Copyright: 1998, Netscape Communications Corporation
License: MPL-1.1 or GPL-2+ or LGPL-2.1+
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License");
[snip - many more lines]

So in my understanding, MPL-1.1 and GPL-2+ license paragraphs are indeed unused here.

--
Jakub Wilk



Reply to: