Bug#806424: scan-copyrights: Failed to notice copyrights in lisp files

Wookey wookey at wookware.org
Fri Nov 27 10:52:47 UTC 2015


Package: libconfig-model-dpkg-perl
Version: 2.069
Severity: normal

I've been using scan-copyrights a lot recently for packaging. It's
great - thank you! However it doesn't always notice things.  Here is an example.

I ran scan-copyrights on ros-roslisp (this is a new package so won't
be in the archive for some days after this bugrep, but can be found at
http://anonscm.debian.org/cgit/debian-science/packages/ros/ros-roslisp
). It should go in the NEW queue today.

This correctly catalogued the copyrights in the python file, but none of the list files

e.g in rosbuild/scripts/genmg_listp.py it found:
# Copyright (c) 2009, Willow Garage, Inc.

but in s-xml-rpc/src/base64.lisp
;;;; Copyright (C) 2002, 2004 Sven Van Caekenberghe, Beta Nine BVBA.
and
;;;; You are granted the rights to distribute and use this software
;;;; as governed by the terms of the Lisp Lesser General Public License
;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.

are not spotted.

Now if I use licensecheck manually with a changed -c regex:
licensecheck -r -c=* --copyright *
It notices the copyrights in the list files:
s-xml-rpc/test/test-base64.lisp: UNKNOWN
  [Copyright: 2002, 2004 Sven Van Caekenberghe, Beta Nine BVBA]

But it still fails to grok the licence.

Can scan-copyrights call licencecheck in such a way that it looks look
in more (all?) files by default? Or perhaps this bugreport should be
directed to licensecheck to make the default more comprehensive. Really
I want a tool like this to look in everything it can (not just code
and docs: graphics and test files too). Missing things entirely is
much worse than false positives I can check and weed out. If it can't
reliably find nearly all the licence and copyright notices in the tree
then it doesn't really help much as I still have to look in every damn
file myself, by hand.

Thanks for anything you can do to make this more useful.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages libconfig-model-dpkg-perl depends on:
ii  devscripts                              2.15.8
ii  libapt-pkg-perl                         0.1.29+b3
ii  libarray-intspan-perl                   2.003-1
ii  libconfig-model-perl                    2.074-1
ii  libexporter-lite-perl                   0.06-1
ii  liblog-log4perl-perl                    1.44-1
ii  libmouse-perl                           2.4.5-1
ii  libparse-recdescent-perl                1.967013+dfsg-1
ii  libsoftware-license-perl                0.103010-4
ii  libtext-autoformat-perl                 1.730000-1
ii  libtext-levenshtein-damerau-perl        0.41-1
ii  liburi-perl                             1.69-1
ii  libwww-perl                             6.13-1
ii  lintian                                 2.5.38
ii  perl                                    5.20.2-6
ii  perl-modules [libmodule-corelist-perl]  5.20.2-6

Versions of packages libconfig-model-dpkg-perl recommends:
ii  libconfig-model-tkui-perl  1.350-1

libconfig-model-dpkg-perl suggests no packages.

-- no debconf information
Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20151127/f15cab66/attachment.sig>


More information about the pkg-perl-maintainers mailing list