Bug#950678: licensecheck: misdetect BSD license (quote issue ?)

Dominique Dumont dod at debian.org
Tue Feb 4 17:16:47 GMT 2020


Package: licensecheck
Version: 3.0.42-1
Severity: normal

Dear Maintainer,

The file stdint-msvc2008.h [1] from libuv1 package is reported by
licensecheck as:

$ licensecheck --copyright include/uv/stdint-msvc2008.h
include/uv/stdint-msvc2008.h: BSD 2-clause "Simplified" License BSD (unspecified)
  [Copyright: 2006-2008 Alexander Chemeris]

Unfortunately, the header of this file [1] is a BSD-3-Clause license.

I guess that licensecheck is tripped by the quotes around "AS IS"
which are actually a mashup of back-quotes and quotes: ``AS IS''

I've looked at regexp-pattern-license code, and it looks like OPenSSL
can cope with backquote and quotes. BUt I don't know how to apply this
to BSD regexp.

Could you fix this issue ?

All the best

Dod

[1] https://salsa.debian.org/debian/libuv1/blob/d5260384c589f80f84af4afcd930fd33e735bc86/include/uv/stdint-msvc2008.h

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-3-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages licensecheck depends on:
ii  libarray-intspan-perl                  2.003-1
ii  libgetopt-long-descriptive-perl        0.104-1
ii  liblist-someutils-perl                 0.58-1
ii  liblog-any-adapter-screen-perl         0.140-1
ii  liblog-any-perl                        1.708-1
ii  libmoo-perl                            2.003006-1
ii  libnamespace-clean-perl                0.27-1
ii  libpath-iterator-rule-perl             1.014-1
ii  libpath-tiny-perl                      0.108-1
ii  libpod-constants-perl                  0.19-1
ii  libre-engine-re2-perl                  0.13-4+b1
ii  libregexp-pattern-license-perl         3.1.101-1
ii  libregexp-pattern-perl                 0.2.11-1
ii  libscalar-list-utils-perl              1:1.53-1
ii  libsort-key-perl                       1.33-2+b2
ii  libstrictures-perl                     2.000006-1
ii  libstring-copyright-perl               0.003006-1
ii  libstring-escape-perl                  2010.002-2
ii  libtry-tiny-perl                       0.30-1
ii  perl                                   5.30.0-9
ii  perl-base [libscalar-list-utils-perl]  5.30.0-9

licensecheck recommends no packages.

Versions of packages licensecheck suggests:
ii  bash-completion  1:2.10-1

-- no debconf information



More information about the pkg-perl-maintainers mailing list