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

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to