Bug#815756: cme: Unable to generate copyright file for supercollider-sc3-plugins

Dominique Dumont dod at debian.org
Wed Feb 24 16:03:58 UTC 2016


Hello Petter

Looks like you found an interesting bug...

I think this bug is triggered by licensecheck output:

$ licensecheck source/PitchDetection/Tartini.cpp
source/PitchDetection/Tartini.cpp: GPL (v2 or later) GPL (v2 or later)

The GPL license is duplicated. This is not handled correctly by the copyright 
scanner which leads to this copyright entry:

$ scan-copyrights 2>/dev/null | grep -A 2 'Files: source/PitchDetection/Tartini.cpp'
Files: source/PitchDetection/Tartini.cpp
Copyright: 2002, James McCartney.
License: GPL-2+ GPL-2 or later

The syntax of the License entry is wrong, so it's ditched by cme which complains 
later about a missing mandatory value.

You can work around this issue by adding a line in 'debian/fix.scanned.copyright' file
as explained at the end of [1] (this page is not finished yet, feedback is welcome)

This bug needs to be fixed at several levels:
- licensecheck
- in the cleanup done by copyright scanner
- in the way bad copyright entries are handled when storing them (i.e. I need to improve
 error handling)

All the best

[1] https://github.com/dod38fr/config-model/wiki/Updating-debian-copyright-file-with-cme

-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20160224/05bb5daa/attachment.sig>


More information about the pkg-perl-maintainers mailing list