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

Bug#995412: libstring-copyright-perl breaks licensecheck autopkgtest: lots of different outputs



Source: libstring-copyright-perl, licensecheck
Control: found -1 libstring-copyright-perl/0.003011-1
Control: found -1 licensecheck/3.2.11-1
Severity: serious
Tags: sid bookworm
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of libstring-copyright-perl the autopkgtest of
licensecheck fails in testing when that autopkgtest is run with the
binary packages of libstring-copyright-perl from unstable. It passes
when run with only packages from testing. In tabular form:

                         pass            fail
libstring-copyright-perl from testing    0.003011-1
licensecheck             from testing    3.2.11-1
all others             from testing    from testing

I copied some of the output at the bottom of this report. This is very
related to bug #994150 but the version of the licensecheck package is
different.

Currently this regression is blocking the migration of
libstring-copyright-perl to testing [1]. Due to the nature of this
issue, I filed this bug report against both packages. Can you please
investigate the situation and reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=libstring-copyright-perl

https://ci.debian.net/data/autopkgtest/testing/amd64/l/licensecheck/15629011/log.gz

    not ok 4 - Testing stdout # TODO not yet supported by
String::Copyright (Debian bug#519080)
    # Failed test (with amnesty) 'Testing stdout'
    # at t/devscripts.t line 33.
    # +-------------------------------+----+-------------------------------+
    # | GOT                           | OP | CHECK                         |
    # +-------------------------------+----+-------------------------------+
    # | t/devscripts/multi-line-copyr | =~ | (?^:Public domain GPL \(v3\)\ |
    # | ight.c\tPublic domain GNU Gen |    | t2008 Aaron Plattner, NVIDIA  |
    # | eral Public License, Version  |    | Corporation / 2005 Lars Knoll |
    # | 3\t2000 Keith Packard, member |    |  & Zack Rusin, Trolltech / 20 |
    # |  of The XFree86 Project, Inc. |    | 00 Keith Packard, member of T |
    # | \n                            |    | he XFree86 Project, Inc.?)    |
    # +-------------------------------+----+-------------------------------+
    ok 5 - No stderr # TODO not yet supported by String::Copyright
(Debian bug#519080)
    1..5
}
ok 4 - Duplicated copyright {
    ok 1 - Can run '/usr/bin/licensecheck -m --copyright
t/devscripts/../grant/Apache/one_helper.rb' # TODO not yet supported by
Regexp::Pattern::License
    ok 2 - Process terminated without a signal # TODO not yet supported
by Regexp::Pattern::License
    ok 3 - Check return from '/usr/bin/licensecheck -m --copyright
t/devscripts/../grant/Apache/one_helper.rb' is 0 # TODO not yet
supported by Regexp::Pattern::License
    not ok 4 - Testing stdout # TODO not yet supported by
Regexp::Pattern::License
    # Failed test (with amnesty) 'Testing stdout'
    # at t/devscripts.t line 42.
    # +-------------------------------+----+-------------------------------+
    # | GOT                           | OP | CHECK                         |
    # +-------------------------------+----+-------------------------------+
    # | t/devscripts/../grant/Apache/ | =~ | (?^:Apache License \(v2.0\)\t |
    # | one_helper.rb\tApache License |    | 2002-2015,? OpenNebula Projec |
    # |  2.0\t2002-2015 OpenNebula Pr |    | t \(OpenNebula.org\), C12G La |
    # | oject (OpenNebula.org), C12G  |    | bs)                           |
    # | Labs\n                        |    |                               |
    # +-------------------------------+----+-------------------------------+
    ok 5 - No stderr # TODO not yet supported by Regexp::Pattern::License
    1..5
}
ok 5 - Duplicated copyright {
    ok 1 - Can run '/usr/bin/licensecheck t/devscripts/dual.c'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck t/devscripts/dual.c'
is 0
    ok 4 - Testing stdout
    ok 5 - No stderr
    1..5
}
ok 6 - machine-readable output; short-form option {
    ok 1 - Can run '/usr/bin/licensecheck -m t/devscripts/beerware.cpp'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck -m
t/devscripts/beerware.cpp' is 0
    ok 4 - Testing stdout
    ok 5 - No stderr
    1..5
}
ok 7 - machine-readable output; long-form option {
    ok 1 - Can run '/usr/bin/licensecheck --machine t/devscripts/gpl-2'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck --machine
t/devscripts/gpl-2' is 0
    ok 4 - Testing stdout
    ok 5 - No stderr
    1..5
}
ok 8 - machine-readable output w/ copyright {
    ok 1 - Can run '/usr/bin/licensecheck -m --copyright t/devscripts/gpl-2'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck -m --copyright
t/devscripts/gpl-2' is 0
    ok 4 - Testing stdout
    ok 5 - No stderr
    1..5
}
ok 9 - Fortran comments {
    ok 1 - Can run '/usr/bin/licensecheck t/devscripts/bsd.f'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck t/devscripts/bsd.f' is 0
    ok 4 - Testing stdout
    ok 5 - No stderr
    1..5
}
ok 10 - comments; C++ inline style {
    ok 1 - Can run '/usr/bin/licensecheck t/devscripts/comments-detection.h'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck
t/devscripts/comments-detection.h' is 0
    ok 4 - Testing stdout
    ok 5 - No stderr
    1..5
}
ok 11 - comments; hash style {
    ok 1 - Can run '/usr/bin/licensecheck
t/devscripts/comments-detection.txt'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck
t/devscripts/comments-detection.txt' is 0
    ok 4 - Testing stdout
    ok 5 - No stderr
    1..5
}
ok 12 - false positives {
    ok 1 - Can run '/usr/bin/licensecheck -m --copyright
t/devscripts/false-positives'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck -m --copyright
t/devscripts/false-positives' is 0
    ok 4 - Testing stdout
    ok 5 - No stderr
    1..5
}
ok 13 - regexp killer {
    ok 1 - Can run '/usr/bin/licensecheck t/devscripts/regexp-killer.c'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck
t/devscripts/regexp-killer.c' is 0
    ok 4 - Testing stdout
    ok 5 - No stderr
    1..5
}
ok 14 - info at end {
    ok 1 - Can run '/usr/bin/licensecheck -m --shortname-scheme=debian
--copyright --lines 0 t/devscripts/info-at-eof.h'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck -m
--shortname-scheme=debian --copyright --lines 0
t/devscripts/info-at-eof.h' is 0
    ok 4 - Testing stdout
    ok 5 - No stderr
    1..5
}
ok
t/encoding.t .............
# Seeded srand with seed '20210930' from local date.
1..13
# locale encoding: UTF-8
ok 1 - Latin-1 in UTF-8 parsed as UTF-8 returns chars {
    ok 1 - Can run '/usr/bin/licensecheck -m --copyright --encoding utf8
t/encoding/copr-utf8.h'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck -m --copyright
--encoding utf8 t/encoding/copr-utf8.h' is 0
    ok 4 - Testing stdout
    ok 5 - No stderr
    1..5
}
not ok 2 - Latin-1 in UTF-8 parsed by default returns mojibake {
    ok 1 - Can run '/usr/bin/licensecheck -m --copyright
t/encoding/copr-utf8.h'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck -m --copyright
t/encoding/copr-utf8.h' is 0
    not ok 4 - Testing stdout
    # Failed test 'Testing stdout'
    # at t/encoding.t line 55.
    # +-------------------------------+----+-------------------------------+
    # | GOT                           | OP | CHECK                         |
    # +-------------------------------+----+-------------------------------+
    # | t/encoding/copr-utf8.h\tGNU G | eq | t/encoding/copr-utf8.h\tGNU G |
    # | eneral Public License v2.0 or |    | eneral Public License v2.0 or |
    # |  later\t2004-2015 Oliva 'f00' |    |  later\t2004-2015 Oliva 'f00' |
    # |  Oberto / 2001-2010 Paul 'bar |    |  Oberto / 2001-2010 Paul 'bar |
    # | ' Stevénsön\n               |    | ' Stev�\N{U+83}©ns�\N{U+83}� |
    # |                               |    | �n\n                          |
    # +-------------------------------+----+-------------------------------+
    ok 5 - No stderr
    1..5
}

# Failed test 'Latin-1 in UTF-8 parsed by default returns mojibake'
# at t/encoding.t line 57.
not ok 3 - Latin-1 in UTF-8 parsed by guessing returns chars {
    ok 1 - Can run '/usr/bin/licensecheck -m --copyright --encoding
Guess t/encoding/copr-utf8.h'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck -m --copyright
--encoding Guess t/encoding/copr-utf8.h' is 0
    not ok 4 - Testing stdout
    # Failed test 'Testing stdout'
    # at t/encoding.t line 60.
    # +-------------------------------+----+-------------------------------+
    # | GOT                           | OP | CHECK                         |
    # +-------------------------------+----+-------------------------------+
    # | t/encoding/copr-utf8.h\tGNU G | eq | t/encoding/copr-utf8.h\tGNU G |
    # | eneral Public License v2.0 or |    | eneral Public License v2.0 or |
    # |  later\t2004-2015 Oliva 'f00' |    |  later\t2004-2015 Oliva 'f00' |
    # |  Oberto / 2001-2010 Paul 'bar |    |  Oberto / 2001-2010 Paul 'bar |
    # | ' Stevénsön\n               |    | ' Stev�\N{U+83}©ns�\N{U+83}� |
    # |                               |    | �n\n                          |
    # +-------------------------------+----+-------------------------------+
    ok 5 - No stderr
    1..5
}

# Failed test 'Latin-1 in UTF-8 parsed by guessing returns chars'
# at t/encoding.t line 62.
ok 4 - Latin-1 in UTF-8 parsed as ISO 8859-1 returns mojibake {
    ok 1 - Can run '/usr/bin/licensecheck -m --copyright --encoding
iso-8859-1 t/encoding/copr-utf8.h'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck -m --copyright
--encoding iso-8859-1 t/encoding/copr-utf8.h' is 0
    ok 4 - Testing stdout
    ok 5 - No stderr
    1..5
}
ok 5 - Latin-1 in ISO 8859-1 parsed as ISO 8859-1 returns chars {
    ok 1 - Can run '/usr/bin/licensecheck -m --copyright --encoding
iso-8859-1 t/encoding/copr-iso8859.h'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck -m --copyright
--encoding iso-8859-1 t/encoding/copr-iso8859.h' is 0
    ok 4 - Testing stdout
    ok 5 - No stderr
    1..5
}
not ok 6 - Latin-1 in ISO 8859-1 parsed by default returns chars {
    ok 1 - Can run '/usr/bin/licensecheck -m --copyright
t/encoding/copr-iso8859.h'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck -m --copyright
t/encoding/copr-iso8859.h' is 0
    not ok 4 - Testing stdout
    # Failed test 'Testing stdout'
    # at t/encoding.t line 77.
    # +-------------------------------+----+-------------------------------+
    # | GOT                           | OP | CHECK                         |
    # +-------------------------------+----+-------------------------------+
    # | t/encoding/copr-iso8859.h\tGN | eq | t/encoding/copr-iso8859.h\tGN |
    # | U General Public License, Ver |    | U General Public License, Ver |
    # | sion 2 [obsolete FSF postal a |    | sion 2 [obsolete FSF postal a |
    # | ddress (Temple Place)]\t2011  |    | ddress (Temple Place)]\t2011  |
    # | Heinrich M\n                  |    | Heinrich Müller <henmull@src |
    # |                               |    | .gnome.org>\n                 |
    # +-------------------------------+----+-------------------------------+
    ok 5 - No stderr
    1..5
}

# Failed test 'Latin-1 in ISO 8859-1 parsed by default returns chars'
# at t/encoding.t line 79.
not ok 7 - Latin-1 in ISO 8859-1 parsed by guessing returns chars {
    ok 1 - Can run '/usr/bin/licensecheck -m --copyright --encoding
Guess t/encoding/copr-iso8859.h'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck -m --copyright
--encoding Guess t/encoding/copr-iso8859.h' is 0
    not ok 4 - Testing stdout
    # Failed test 'Testing stdout'
    # at t/encoding.t line 83.
    # +-------------------------------+----+-------------------------------+
    # | GOT                           | OP | CHECK                         |
    # +-------------------------------+----+-------------------------------+
    # | t/encoding/copr-iso8859.h\tGN | eq | t/encoding/copr-iso8859.h\tGN |
    # | U General Public License, Ver |    | U General Public License, Ver |
    # | sion 2 [obsolete FSF postal a |    | sion 2 [obsolete FSF postal a |
    # | ddress (Temple Place)]\t2011  |    | ddress (Temple Place)]\t2011  |
    # | Heinrich M\n                  |    | Heinrich Müller <henmull@src |
    # |                               |    | .gnome.org>\n                 |
    # +-------------------------------+----+-------------------------------+
    ok 5 - No stderr
    1..5
}

# Failed test 'Latin-1 in ISO 8859-1 parsed by guessing returns chars'
# at t/encoding.t line 85.
ok 8 - Latin-1 in ISO 8859-1 parsed as UTF-8 returns mojibake and warns {
    ok 1 - Can run '/usr/bin/licensecheck -m --copyright --encoding utf8
t/encoding/copr-iso8859.h'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck -m --copyright
--encoding utf8 t/encoding/copr-iso8859.h' is 0
    ok 4 - Testing stdout
    ok 5
    1..5
}
ok 9 - CJK in EUC-JP parsed as EUC-JP returns chars {
    ok 1 - Can run '/usr/bin/licensecheck -m --copyright --encoding
euc-jp t/encoding/README.gs550j'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck -m --copyright
--encoding euc-jp t/encoding/README.gs550j' is 0
    ok 4 - Testing stdout
    ok 5 - No stderr
    1..5
}
not ok 10 - CJK in EUC-JP parsed by default returns mojibake and warns {
    ok 1 - Can run '/usr/bin/licensecheck -m --copyright
t/encoding/README.gs550j'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck -m --copyright
t/encoding/README.gs550j' is 0
    not ok 4 - Testing stdout
    # Failed test 'Testing stdout'
    # at t/encoding.t line 100.
    # +-------------------------------+----+-------------------------------+
    # | GOT                           | OP | CHECK                         |
    # +-------------------------------+----+-------------------------------+
    # | t/encoding/README.gs550j\tUNK | eq | t/encoding/README.gs550j\tUNK |
    # | NOWN\t1999 Norihito Ohmori. / |    | NOWN\t1999 �\N{U+82}翹µ� |
    # |  1999 / 1996-1999 Daisuke SUZ |    | �¿�\N{U+8D} (ohmori@p.chiba- |
    # | UKI.\n                        |    | u.ac.jp) / 1999 Norihito Ohmo |
    # |                               |    | ri. / 1996-1999 Daisuke SUZUK |
    # |                               |    | I.\n                          |
    # +-------------------------------+----+-------------------------------+
    ok 5
    1..5
}

# Failed test 'CJK in EUC-JP parsed by default returns mojibake and warns'
# at t/encoding.t line 102.
not ok 11 - CJK in EUC-JP parsed by guessing returns mojibake {
    ok 1 - Can run '/usr/bin/licensecheck -m --copyright --encoding
Guess t/encoding/README.gs550j'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck -m --copyright
--encoding Guess t/encoding/README.gs550j' is 0
    not ok 4 - Testing stdout
    # Failed test 'Testing stdout'
    # at t/encoding.t line 105.
    # +-------------------------------+----+-------------------------------+
    # | GOT                           | OP | CHECK                         |
    # +-------------------------------+----+-------------------------------+
    # | t/encoding/README.gs550j\tUNK | eq | t/encoding/README.gs550j\tUNK |
    # | NOWN\t1999 Norihito Ohmori. / |    | NOWN\t1999 �\N{U+82}翹µ� |
    # |  1999 / 1996-1999 Daisuke SUZ |    | �¿�\N{U+8D} (ohmori@p.chiba- |
    # | UKI.\n                        |    | u.ac.jp) / 1999 Norihito Ohmo |
    # |                               |    | ri. / 1996-1999 Daisuke SUZUK |
    # |                               |    | I.\n                          |
    # +-------------------------------+----+-------------------------------+
    ok 5 - No stderr
    1..5
}

# Failed test 'CJK in EUC-JP parsed by guessing returns mojibake'
# at t/encoding.t line 107.
ok 12 - CJK in EUC-JP parsed as ISO 8859-1 returns mojibake {
    ok 1 - Can run '/usr/bin/licensecheck -m --copyright --encoding
iso-8859-1 t/encoding/README.gs550j'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck -m --copyright
--encoding iso-8859-1 t/encoding/README.gs550j' is 0
    ok 4 - Testing stdout
    ok 5 - No stderr
    1..5
}
ok 13 - CJK in EUC-JP parsed as UTF-8 returns mojibake and warns {
    ok 1 - Can run '/usr/bin/licensecheck -m --copyright --encoding utf8
t/encoding/README.gs550j'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck -m --copyright
--encoding utf8 t/encoding/README.gs550j' is 0
    ok 4 - Testing stdout
    ok 5
    1..5
}
# Looks like you failed 6 tests of 13.
Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/13 subtests
t/exception.t ............
# Seeded srand with seed '20210930' from local date.
1..45
ok 1 - detect licensing "GPL-2+ with Autoconf-2.0~AutoTroll exception"
for autotroll.m4
ok 2 - detect licensing "GPL-3+ with Autoconf-2.0~Archive exception" for
ax_pthread.m4
ok 3 - detect licensing "GPL-2+ with Autoconf-2.0~Archive exception" for
m4_ax_func_getopt_long.m4
ok 4 - detect licensing "GPL-2+ with Autoconf-2.0~g10 exception" for
mkerrcodes1.awk
ok 5 - detect licensing "GPL-2+ with Autoconf-data exception" for pkg.m4
ok 6 - detect licensing "(Apache-2.0 and/or GPL-2+ and/or MPL-2.0) with
Bison-1.24 exception" for grammar.cxx
not ok 7 - detect licensing "Apache-2.0 and/or GPL-2+ with Bison-1.24
exception and/or MPL-2.0" for grammar.cxx # TODO Fix later
# Failed test (with amnesty) 'detect licensing "Apache-2.0 and/or GPL-2+
with Bison-1.24 exception and/or MPL-2.0" for grammar.cxx'
# at t/exception.t line 32.
# +---------------------------------+----+---------------------------------+
# | GOT                             | OP | CHECK                           |
# +---------------------------------+----+---------------------------------+
# | (Apache-2.0 and/or GPL-2+ and/o | eq | Apache-2.0 and/or GPL-2+ with B |
# | r MPL-2.0) with Bison-1.24 exce |    | ison-1.24 exception and/or MPL- |
# | ption                           |    | 2.0                             |
# +---------------------------------+----+---------------------------------+
ok 8 - detect licensing "GPL-3+ with Bison-2.2 exception" for parse-date.c
ok 9 - detect licensing "(CDDL-1.0 and/or GPL-2) with Classpath-2.0
exception" for CDDL-GPL-2-CP
not ok 10 - detect licensing "CDDL-1.0 and/or GPL-2 with Classpath-2.0
exception" for CDDL-GPL-2-CP # TODO Fix later
# Failed test (with amnesty) 'detect licensing "CDDL-1.0 and/or GPL-2
with Classpath-2.0 exception" for CDDL-GPL-2-CP'
# at t/exception.t line 44.
# +---------------------------------+----+---------------------------------+
# | GOT                             | OP | CHECK                           |
# +---------------------------------+----+---------------------------------+
# | (CDDL-1.0 and/or GPL-2) with Cl | eq | CDDL-1.0 and/or GPL-2 with Clas |
# | asspath-2.0 exception           |    | spath-2.0 exception             |
# +---------------------------------+----+---------------------------------+
ok 11 - detect licensing "GPL-2 with Classpath-2.0 exception" for GPL-2-CP
ok 12 - detect licensing "GPL-2 with Classpath-2.0 exception" for LICENSE
ok 13 - detect licensing "(EPL and/or GPL-2+) with EPL-library
exception" for mdb_bot_sup.erl
ok 14 - detect licensing "(EPL and/or GPL-2+) with EPL-MPL-library
exception" for ts_proxy_http.erl
ok 15 - detect licensing "GPL-3+ with FAUST exception" for alsa-dsp.h
not ok 16 - detect licensing "AGPL-3 with PS-or-PDF-font exception" for
LICENSE # TODO not yet supported by Regexp::Pattern::License
# Failed test (with amnesty) 'detect licensing "AGPL-3 with
PS-or-PDF-font exception" for LICENSE'
# at t/exception.t line 77.
# +--------+----+--------------------------------------+
# | GOT    | OP | CHECK                                |
# +--------+----+--------------------------------------+
# | AGPL-3 | eq | AGPL-3 with PS-or-PDF-font exception |
# +--------+----+--------------------------------------+
ok 17 - detect licensing "GPL-2+ with mif exception" for unwind-cxx.h
ok 18 - detect licensing "GPL-2+ with GStreamer exception" for
ev-properties-main.c
ok 19 - detect licensing "GPL-2+ with GStreamer exception" for
hwp-properties-main.c
ok 20 - detect licensing "GPL-2+ with GStreamer exception" for
totem-object.c
ok 21 - detect licensing "LGPL-2+ with Libtool exception" for lt__dirent.h
ok 22 - detect licensing "GPL-2 with 389 exception" for buildnum.pl
ok 23 - detect licensing "LGPL-2 with OCaml-LGPL-linking exception" for
LICENSE.txt
ok 24 - detect licensing "GPL-2 with OpenSSL~s3 exception" for LICENSE
ok 25 - detect licensing "LGPL-2.1+ with OpenSSL~LGPL exception" for
crypto_openssl.c
ok 26 - detect licensing "(AGPL-3+ and/or OpenSSL) with OpenSSL
exception" for pokerth.cpp
not ok 27 - detect licensing "AGPL-3+ with OpenSSL exception" for
pokerth.cpp # TODO Fix later
# Failed test (with amnesty) 'detect licensing "AGPL-3+ with OpenSSL
exception" for pokerth.cpp'
# at t/exception.t line 130.
# +---------------------------------+----+---------------------------------+
# | GOT                             | OP | CHECK                           |
# +---------------------------------+----+---------------------------------+
# | (AGPL-3+ and/or OpenSSL) with O | eq | AGPL-3+ with OpenSSL exception  |
# | penSSL exception                |    |                                 |
# +---------------------------------+----+---------------------------------+
ok 28 - detect licensing "(GPL-3+ and/or OpenSSL) with OpenSSL
exception" for retr.h
not ok 29 - detect licensing "GPL-3+ with OpenSSL exception" for retr.h
# TODO Fix later
# Failed test (with amnesty) 'detect licensing "GPL-3+ with OpenSSL
exception" for retr.h'
# at t/exception.t line 136.
# +---------------------------------+----+---------------------------------+
# | GOT                             | OP | CHECK                           |
# +---------------------------------+----+---------------------------------+
# | (GPL-3+ and/or OpenSSL) with Op | eq | GPL-3+ with OpenSSL exception   |
# | enSSL exception                 |    |                                 |
# +---------------------------------+----+---------------------------------+
ok 30 - detect licensing "GPL-3 with OpenSSL~s3 exception" for simplexml.h
ok 31 - detect licensing "GPL-2+ with Proguard exception" for
GPL-with-Proguard-exception
ok 32 - detect licensing "GPL-2+ with Proguard exception" for
LICENSE_exception.md
ok 33 - detect licensing "GPL-2+ with Qt-kernel exception" for kcmaudiocd.h
ok 34 - detect licensing "GPL-2+ with Qt-no-source exception" for
konsolekalendaradd.h
ok 35 - detect licensing "GPL with Qt-GPL-Eclipse exception" for main.cpp
not ok 36 - detect licensing "(GPL-2 or GPL-3) with Qt-GPL-Eclipse
exception" for main.cpp # TODO Fix later
# Failed test (with amnesty) 'detect licensing "(GPL-2 or GPL-3) with
Qt-GPL-Eclipse exception" for main.cpp'
# at t/exception.t line 166.
# +---------------------------------+----+---------------------------------+
# | GOT                             | OP | CHECK                           |
# +---------------------------------+----+---------------------------------+
# | GPL with Qt-GPL-Eclipse excepti | eq | (GPL-2 or GPL-3) with Qt-GPL-Ec |
# | on                              |    | lipse exception                 |
# +---------------------------------+----+---------------------------------+
ok 37 - detect licensing "(GPL-3 and/or LGPL-2.1) with Qt-LGPL-1.1
exception" for qatomic_aarch64.h
not ok 38 - detect licensing "GPL-3 or LGPL-2.1 with Qt-LGPL-1.1
exception" for qatomic_aarch64.h # TODO Fix later
# Failed test (with amnesty) 'detect licensing "GPL-3 or LGPL-2.1 with
Qt-LGPL-1.1 exception" for qatomic_aarch64.h'
# at t/exception.t line 172.
# +---------------------------------+----+---------------------------------+
# | GOT                             | OP | CHECK                           |
# +---------------------------------+----+---------------------------------+
# | (GPL-3 and/or LGPL-2.1) with Qt | eq | GPL-3 or LGPL-2.1 with Qt-LGPL- |
# | -LGPL-1.1 exception             |    | 1.1 exception                   |
# +---------------------------------+----+---------------------------------+
ok 39 - detect licensing "(GPL-3 and/or LGPL-2.1 or LGPL-3) with
Qt-GPL-OpenSSL_AND_Qt-LGPL-1.1 exception" for qsslconfiguration.h
not ok 40 - detect licensing "GPL-3 with Qt-GPL-OpenSSL exception OR
LGPL-2.1 with Qt-LGPL-1.1 exception" for qsslconfiguration.h # TODO Fix
later
# Failed test (with amnesty) 'detect licensing "GPL-3 with
Qt-GPL-OpenSSL exception OR LGPL-2.1 with Qt-LGPL-1.1 exception" for
qsslconfiguration.h'
# at t/exception.t line 178.
# +---------------------------------+----+---------------------------------+
# | GOT                             | OP | CHECK                           |
# +---------------------------------+----+---------------------------------+
# | (GPL-3 and/or LGPL-2.1 or LGPL- | eq | GPL-3 with Qt-GPL-OpenSSL excep |
# | 3) with Qt-GPL-OpenSSL_AND_Qt-L |    | tion OR LGPL-2.1 with Qt-LGPL-1 |
# | GPL-1.1 exception               |    | .1 exception                    |
# +---------------------------------+----+---------------------------------+
ok 41 - detect licensing "(GPL-2+ and/or LGPL-2.1+) with SDC exception"
for sdc.py
not ok 42 - detect licensing "GPL-2+ with SDC exception" for sdc.py #
TODO Fix later
# Failed test (with amnesty) 'detect licensing "GPL-2+ with SDC
exception" for sdc.py'
# at t/exception.t line 186.
# +---------------------------------+----+---------------------------------+
# | GOT                             | OP | CHECK                           |
# +---------------------------------+----+---------------------------------+
# | (GPL-2+ and/or LGPL-2.1+) with  | eq | GPL-2+ with SDC exception       |
# | SDC exception                   |    |                                 |
# +---------------------------------+----+---------------------------------+
ok 43 - detect licensing "CECILL-C with Sollya-4.1 exception" for
tv_implementpoly.reference
ok 44 - detect licensing "GPL-2+ with Warzone exception" for COPYING.README
ok 45 - detect licensing "GPL-2 with Xerces exception" for generator.cxx
ok
t/fedora.t ...............
# Seeded srand with seed '20210930' from local date.
1..22
ok 1 - detect licensing "(?^:Adobe\-Glyph)" for MIT
ok 2 - detect licensing "(?^:BSL)" for MIT
ok 3 - detect licensing "(?^:DSDP)" for MIT
ok 4 - detect licensing "(?^:Expat)" for MIT
ok 5 - detect licensing "(?^:ICU)" for MIT
ok 6 - detect licensing "(?^:MIT~Boehm)" for MIT
ok 7 - detect licensing "(?^:MIT\-CMU)" for MIT
ok 8 - detect licensing "(?^:MIT\-CMU~warranty)" for MIT
ok 9 - detect licensing "(?^:MIT\-enna)" for MIT
ok 10 - detect licensing "(?^:MIT~Epinions)" for MIT
ok 11 - detect licensing "(?^:MIT\-feh)" for MIT
ok 12 - detect licensing "(?^:MIT~old)" for MIT
ok 13 - detect licensing "(?^:MIT~oldstyle)" for MIT
ok 14 - detect licensing "(?^:MIT~oldstyle~disclaimer)" for MIT
ok 15 - detect licensing "(?^:MIT-Open-Group)" for MIT
ok 16 - detect licensing "(?^:MIT~OpenVision)" for MIT
ok 17 - detect licensing "(?^:MIT~OSF)" for MIT
ok 18 - detect licensing "(?^:MIT~UnixCrypt)" for MIT
ok 19 - detect licensing "(?^:MIT~whatever)" for MIT
ok 20 - detect licensing "(?^:MIT~Widget)" for MIT
ok 21 - detect licensing "(?^:MIT~Xfig)" for MIT
ok 22 - detect licensing "(?^:PostgreSQL)" for MIT
ok
t/flaws.t ................
# Seeded srand with seed '20210930' from local date.
1..20
ok 1 - Corpus file t/flaws/fsf_address/doschk.c
ok 2 - Corpus file t/flaws/fsf_address/HistAcc.tcc
ok 3 - Corpus file t/flaws/fsf_address/phy_lcn.c
ok 4 - Corpus file t/flaws/fsf_address/makedoc.c
ok 5 - Corpus file t/flaws/fsf_address/gnuplot-context.el
ok 6 - Corpus file t/flaws/fsf_address/xfsaxstream.cxx
ok 7 - Corpus file t/flaws/no_fsf_address/update_fsf_address
ok 8 - Corpus file t/flaws/generated/Makefile.in
ok 9 - Corpus file t/flaws/generated/configure
ok 10 - Corpus file t/flaws/generated/mkinstalldirs
ok 11 - Corpus file t/flaws/generated/aclocal.m4
ok 12 - Corpus file t/flaws/generated/depcomp
ok 13 - Corpus file t/flaws/generated/compile
ok 14 - Corpus file t/flaws/generated/missing
ok 15 - Corpus file t/flaws/generated/config.guess
ok 16 - Corpus file t/flaws/generated/gslcdf-module.c
ok 17 - Corpus file t/flaws/generated/config.sub
ok 18 - Corpus file t/flaws/generated/testsuite
ok 19 - Corpus file t/flaws/generated/install-sh
ok 20 - false positive: BSL-1.0 license fulltext {
    ok 1 - Corpus file t/SPDX/BSL-1.0.txt
    1..1
}
ok
t/grant.t ................
# Seeded srand with seed '20210930' from local date.
1..58
ok 1 - detect licensing "AFL-2.0 and/or LGPL-2+" for xdgmime.c
not ok 2 - detect licensing "AFL-2.0 or LGPL-2+" for xdgmime.c # TODO
Fix later
# Failed test (with amnesty) 'detect licensing "AFL-2.0 or LGPL-2+" for
xdgmime.c'
# at t/grant.t line 10.
# +------------------------+----+--------------------+
# | GOT                    | OP | CHECK              |
# +------------------------+----+--------------------+
# | AFL-2.0 and/or LGPL-2+ | eq | AFL-2.0 or LGPL-2+ |
# +------------------------+----+--------------------+
ok 3 - detect licensing "AGPL-3+" for fastx.c
ok 4 - detect licensing "AGPL-3+" for fet.cpp
ok 5 - detect licensing "AGPL-3+" for setup.py
ok 6 - detect licensing "Apache-2.0 or GPL-2" for PIE.htc
ok 7 - detect licensing "Apache-2.0 or MIT~unspecified" for rust.lang
ok 8 - detect licensing "Apache-2.0 or GPL-2" for select2.js
ok 9 - detect licensing "UNKNOWN" for test_run.py
not ok 10 - detect licensing "Apache-2.0 and/or BSD-3-clause" for
test_run.py # TODO Fix later
# Failed test (with amnesty) 'detect licensing "Apache-2.0 and/or
BSD-3-clause" for test_run.py'
# at t/grant.t line 33.
# +---------+----+--------------------------------+
# | GOT     | OP | CHECK                          |
# +---------+----+--------------------------------+
# | UNKNOWN | eq | Apache-2.0 and/or BSD-3-clause |
# +---------+----+--------------------------------+
ok 11 - detect licensing "UNKNOWN" for test_run.py
not ok 12 - detect licensing "Apache-2.0 or BSD-3-clause" for
test_run.py # TODO Fix later
# Failed test (with amnesty) 'detect licensing "Apache-2.0 or
BSD-3-clause" for test_run.py'
# at t/grant.t line 39.
# +---------+----+----------------------------+
# | GOT     | OP | CHECK                      |
# +---------+----+----------------------------+
# | UNKNOWN | eq | Apache-2.0 or BSD-3-clause |
# +---------+----+----------------------------+
ok 13 - detect licensing "UNKNOWN" for WMLA
not ok 14 - detect licensing "CC-BY-SA-3.0 and/or GFDL-1.2" for WMLA #
TODO Fix later
# Failed test (with amnesty) 'detect licensing "CC-BY-SA-3.0 and/or
GFDL-1.2" for WMLA'
# at t/grant.t line 47.
# +---------+----+------------------------------+
# | GOT     | OP | CHECK                        |
# +---------+----+------------------------------+
# | UNKNOWN | eq | CC-BY-SA-3.0 and/or GFDL-1.2 |
# +---------+----+------------------------------+
ok 15 - detect licensing "CC-BY-SA-2.0" for cewl.rb
not ok 16 - detect licensing "CC-BY-SA-2.0 or GPL-3" for cewl.rb # TODO
Fix later
# Failed test (with amnesty) 'detect licensing "CC-BY-SA-2.0 or GPL-3"
for cewl.rb'
# at t/grant.t line 51.
# +--------------+----+-----------------------+
# | GOT          | OP | CHECK                 |
# +--------------+----+-----------------------+
# | CC-BY-SA-2.0 | eq | CC-BY-SA-2.0 or GPL-3 |
# +--------------+----+-----------------------+
ok 17 - detect licensing "CC-BY-SA-3.0" for utilities.scad
not ok 18 - detect licensing "CC-BY-SA-3.0 or LGPL-2" for utilities.scad
# TODO Fix later
# Failed test (with amnesty) 'detect licensing "CC-BY-SA-3.0 or LGPL-2"
for utilities.scad'
# at t/grant.t line 55.
# +--------------+----+------------------------+
# | GOT          | OP | CHECK                  |
# +--------------+----+------------------------+
# | CC-BY-SA-3.0 | eq | CC-BY-SA-3.0 or LGPL-2 |
# +--------------+----+------------------------+
ok 19 - detect licensing "EPL-1.0" for Activator.java
not ok 20 - detect licensing "BSD-3-clause~Refractions and/or EPL-1.0"
for Activator.java # TODO Fix later
# Failed test (with amnesty) 'detect licensing "BSD-3-clause~Refractions
and/or EPL-1.0" for Activator.java'
# at t/grant.t line 61.
# +---------+----+-----------------------------------------+
# | GOT     | OP | CHECK                                   |
# +---------+----+-----------------------------------------+
# | EPL-1.0 | eq | BSD-3-clause~Refractions and/or EPL-1.0 |
# +---------+----+-----------------------------------------+
ok 21 - detect licensing "EPL-1.0" for Activator.java
not ok 22 - detect licensing "BSD-3-clause~Refractions or EPL-1.0" for
Activator.java # TODO Fix later
# Failed test (with amnesty) 'detect licensing "BSD-3-clause~Refractions
or EPL-1.0" for Activator.java'
# at t/grant.t line 67.
# +---------+----+-------------------------------------+
# | GOT     | OP | CHECK                               |
# +---------+----+-------------------------------------+
# | EPL-1.0 | eq | BSD-3-clause~Refractions or EPL-1.0 |
# +---------+----+-------------------------------------+
ok 23 - detect licensing "UNKNOWN" for Base64Coder.java
not ok 24 - detect licensing "GPL-3+ or LGPL-2.1+" for Base64Coder.java
# TODO Fix later
# Failed test (with amnesty) 'detect licensing "GPL-3+ or LGPL-2.1+" for
Base64Coder.java'
# at t/grant.t line 73.
# +---------+----+---------------------+
# | GOT     | OP | CHECK               |
# +---------+----+---------------------+
# | UNKNOWN | eq | GPL-3+ or LGPL-2.1+ |
# +---------+----+---------------------+
ok 25 - detect licensing "UNKNOWN" for Base64Coder.java
not ok 26 - detect licensing "AGPL-3+ or Apache-2.0+ or EPL-1.0+ or
GPL-3+ or LGPL-2.1+" for Base64Coder.java # TODO Fix later
# Failed test (with amnesty) 'detect licensing "AGPL-3+ or Apache-2.0+
or EPL-1.0+ or GPL-3+ or LGPL-2.1+" for Base64Coder.java'
# at t/grant.t line 79.
# +---------+----+---------------------------------------------------------+
# | GOT     | OP | CHECK                                                   |
# +---------+----+---------------------------------------------------------+
# | UNKNOWN | eq | AGPL-3+ or Apache-2.0+ or EPL-1.0+ or GPL-3+ or LGPL-2. |
# |         |    | 1+                                                      |
# +---------+----+---------------------------------------------------------+
ok 27 - detect licensing "LGPL-2.1" for Model.pm
ok 28 - detect licensing "LGPL" for PKG-INFO
ok 29 - detect licensing "LGPL-2.1" for criu.h
ok 30 - detect licensing "LGPL" for dqblk_xfs.h
ok 31 - detect licensing "LGPL" for exr.h
ok 32 - detect licensing "LGPL-2.1" for gnome.h
ok 33 - detect licensing "LGPL" for jitterbuf.h
ok 34 - detect licensing "LGPL-2.1" for libotr.m4
ok 35 - detect licensing "LGPL-3" for pic.c
ok 36 - detect licensing "LGPL-2.1+" for strv.c
ok 37 - detect licensing "LGPL-2+" for table.py
ok 38 - detect licensing "LGPL-2.1 or LGPL-3" for videoplayer.cpp
ok 39 - detect licensing "LGPL-2.1+ and/or LGPL-bdwgc" for colamd.c
ok 40 - detect licensing "UNKNOWN" for da.aff
not ok 41 - detect licensing "GPL-2.0 or LGPL-2.1" for da.aff # TODO Fix
later
# Failed test (with amnesty) 'detect licensing "GPL-2.0 or LGPL-2.1" for
da.aff'
# at t/grant.t line 104.
# +---------+----+---------------------+
# | GOT     | OP | CHECK               |
# +---------+----+---------------------+
# | UNKNOWN | eq | GPL-2.0 or LGPL-2.1 |
# +---------+----+---------------------+
ok 42 - detect licensing "UNKNOWN" for da.aff
not ok 43 - detect licensing "GPL-2 or LGPL-2.1 or MPL-1.1" for da.aff #
TODO Fix later
# Failed test (with amnesty) 'detect licensing "GPL-2 or LGPL-2.1 or
MPL-1.1" for da.aff'
# at t/grant.t line 109.
# +---------+----+------------------------------+
# | GOT     | OP | CHECK                        |
# +---------+----+------------------------------+
# | UNKNOWN | eq | GPL-2 or LGPL-2.1 or MPL-1.1 |
# +---------+----+------------------------------+
ok 44 - detect licensing "GPL-2+ and/or GPL-2+ or LGPL-2.1+ and/or
MPL-1.1" for symbolstore.py
not ok 45 - detect licensing "GPL-2+ or LGPL-2.1+ or MPL-1.1" for
symbolstore.py # TODO Fix later
# Failed test (with amnesty) 'detect licensing "GPL-2+ or LGPL-2.1+ or
MPL-1.1" for symbolstore.py'
# at t/grant.t line 115.
# +---------------------------------+----+---------------------------------+
# | GOT                             | OP | CHECK                           |
# +---------------------------------+----+---------------------------------+
# | GPL-2+ and/or GPL-2+ or LGPL-2. | eq | GPL-2+ or LGPL-2.1+ or MPL-1.1  |
# | 1+ and/or MPL-1.1               |    |                                 |
# +---------------------------------+----+---------------------------------+
ok 46 - detect licensing "(GPL-3 and/or LGPL-2.1 or LGPL-3) with
Qt-LGPL-1.1 exception" for rpplexer.h
not ok 47 - detect licensing "GPL-3 or LGPL-2.1 with Qt exception or
LGPL-3 with Qt-LGPL-1.1 exception or Qt" for rpplexer.h # TODO Fix later
# Failed test (with amnesty) 'detect licensing "GPL-3 or LGPL-2.1 with
Qt exception or LGPL-3 with Qt-LGPL-1.1 exception or Qt" for rpplexer.h'
# at t/grant.t line 123.
# +---------------------------------+----+---------------------------------+
# | GOT                             | OP | CHECK                           |
# +---------------------------------+----+---------------------------------+
# | (GPL-3 and/or LGPL-2.1 or LGPL- | eq | GPL-3 or LGPL-2.1 with Qt excep |
# | 3) with Qt-LGPL-1.1 exception   |    | tion or LGPL-3 with Qt-LGPL-1.1 |
# |                                 |    |  exception or Qt                |
# +---------------------------------+----+---------------------------------+
ok 48 - detect licensing "(?^:MIT~Boehm|bdwgc)" for gc.h
ok 49 - detect licensing "bdwgc-matlab" for old_colamd.c
ok 50 - detect licensing "MIT~old" for harfbuzz-impl.c
ok 51 - detect licensing "MIT~oldstyle~permission" for spaces.c
ok 52 - detect licensing "NTP" for helvO12.bdf
ok 53 - detect licensing "NTP" for directory.h
ok 54 - detect licensing "NTP" for map.h
ok 55 - detect licensing "NTP" for monlist.c
ok 56 - detect licensing "NTP~disclaimer" for gslcdf-module.c
ok 57 - detect licensing "HPND-sell-variant" for install.sh
ok 58 - detect licensing "WTFPL-1.0" for COPYING.WTFPL
ok
t/license.t ..............
# Seeded srand with seed '20210930' from local date.
1..36
ok 1 - detect licensing "AFL-3.0" for academic.h
ok 2 - detect licensing "Apache-2.0" for one_helper.rb
ok 3 - detect licensing "Artistic-2.0" for artistic-2-0-modules.pm
ok 4 - detect licensing "Artistic-2.0" for artistic-2-0.txt
ok 5 - detect licensing "Beerware" for beerware.cpp
ok 6 - detect licensing "BSD-1-Clause" for bsd-1-clause-1.c
ok 7 - detect licensing "BSD-2-clause" for bsd.f
ok 8 - detect licensing "BSD-3-clause" for bsd-3-clause.cpp
ok 9 - detect licensing "BSD-3-clause" for bsd-3-clause-authorsany.c
ok 10 - detect licensing "BSD-3-clause" for bsd-regents.c
ok 11 - detect licensing "BSD-3-clause" for mame-style.c
ok 12 - detect licensing "BSL-1.0" for boost.h
ok 13 - detect licensing "EPL-1.0" for epl.h
ok 14 - detect licensing "LLGPL" for llgpl.lisp
ok 15 - detect licensing "GPL" for gpl-no-version.h
ok 16 - detect licensing "GPL-1+" for gpl-1
ok 17 - detect licensing "GPL-2" for gpl-2
ok 18 - detect licensing "GPL-2" for bug-559429
ok 19 - detect licensing "GPL-2" for gpl-2-comma.sh
ok 20 - detect licensing "GPL-2" for gpl-2-incorrect-address
ok 21 - detect licensing "GPL-2+" for gpl-2+
ok 22 - detect licensing "GPL-2+" for gpl-2+.scm
ok 23 - detect licensing "GPL-3" for gpl-3.sh
ok 24 - detect licensing "GPL-3" for gpl-3-only.c
ok 25 - detect licensing "GPL-3+" for gpl-3+
ok 26 - detect licensing "GPL-3+" for gpl-3+-with-rem-comment.xml
ok 27 - detect licensing "GPL-3+" for gpl-variation.c
ok 28 - detect licensing "GPL-3+" for gpl-3+.el
ok 29 - detect licensing "GPL-3+" for comments-detection.h
ok 30 - detect licensing "MPL-1.1" for mpl-1.1.sh
ok 31 - detect licensing "MPL-2.0" for mpl-2.0.sh
ok 32 - detect licensing "MPL-2.0" for mpl-2.0-comma.sh
ok 33 - detect licensing "FTL" for freetype.c
ok 34 - detect licensing "CDDL" for cddl.h
ok 35 - detect licensing "ISC" for libuv-isc.am
ok 36 - detect licensing "Expat" for info-at-eof.h
ok
t/options-resolve.t ......
# Seeded srand with seed '20210930' from local date.
1..4
ok 1 - --help, ignoring earlier --list-licenses {
    ok 1 - Can run '/usr/bin/licensecheck --list-licenses --help'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck --list-licenses
--help' is 1
    ok 4 - stdout contains [options...]
    ok 5 - stdout does not contain WTFPL-1.0
    ok 6 - No stderr
    1..6
}
ok 2 - --help, ignoring later --list-licenses {
    ok 1 - Can run '/usr/bin/licensecheck --help --list-licenses'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck --help
--list-licenses' is 1
    ok 4 - stdout contains [options...]
    ok 5 - stdout does not contain WTFPL-1.0
    ok 6 - No stderr
    1..6
}
ok 3 - --list-licenses {
    ok 1 - Can run '/usr/bin/licensecheck --list-licenses foobar.txt'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck --list-licenses
foobar.txt' is 0
    ok 4 - stdout contains WTFPL-1.0
    ok 5 - No stderr
    1..5
}
ok 4 - --list-licenses, ignoring paths {
    ok 1 - Can run '/usr/bin/licensecheck --list-licenses foobar.txt
my/baz.xml'
    ok 2 - Process terminated without a signal
    ok 3 - Check return from '/usr/bin/licensecheck --list-licenses
foobar.txt my/baz.xml' is 0
    ok 4 - stdout contains WTFPL-1.0
    ok 5 - No stderr
    1..5
}
ok

Test Summary Report
-------------------
t/encoding.t           (Wstat: 1536 Tests: 13 Failed: 6)
  Failed tests:  2-3, 6-7, 10-11
  Non-zero exit status: 6
Files=13, Tests=361, 63 wallclock secs ( 0.12 usr  0.03 sys + 59.66 cusr
 3.22 csys = 63.03 CPU)
Result: FAIL

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: