Bug#832840: license-reconcile: FTBFS: dh_auto_test: perl Build test --verbose 1 returned exit code 255

Lucas Nussbaum lucas at debian.org
Fri Jul 29 07:54:49 UTC 2016


Source: license-reconcile
Version: 0.11
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160728 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
>  debian/rules build
> dh build --with bash-completion
>    dh_testdir
>    dh_update_autotools_config
>    dh_auto_configure
> 	perl Build.PL --installdirs vendor --config "optimize=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" --config "ld=x86_64-linux-gnu-gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro"
> WARNING: the following files are missing in your kit:
> 	README
> Please inform the author.
> 
> Created MYMETA.yml and MYMETA.json
> Creating new 'Build' script for 'Debian-LicenseReconcile' version '0.11'
>    dh_auto_build
> 	perl Build
> Building Debian-LicenseReconcile
>    dh_auto_test
> 	perl Build test --verbose 1
> # Testing Debian::LicenseReconcile 0.11, Perl 5.022002, /usr/bin/perl
> bin/license-reconcile syntax OK
> t/00-load.t ............... 
> 1..15
> ok 1 - use Debian::LicenseReconcile;
> ok 2 - use Debian::LicenseReconcile::Errors;
> ok 3 - use Debian::LicenseReconcile::App;
> ok 4 - use Debian::LicenseReconcile::LicenseCheck;
> ok 5 - use Debian::LicenseReconcile::FormatSpec;
> ok 6 - use Debian::LicenseReconcile::CopyrightTarget;
> ok 7 - use Debian::LicenseReconcile::CopyrightDatum;
> ok 8 - use Debian::LicenseReconcile::CopyrightDatum::Holder;
> ok 9 - use Debian::LicenseReconcile::Utils;
> ok 10 - use Debian::LicenseReconcile::Filter;
> ok 11 - use Debian::LicenseReconcile::Filter::Rules;
> ok 12 - use Debian::LicenseReconcile::Filter::Std;
> ok 13 - use Debian::LicenseReconcile::Filter::Shebang;
> ok 14 - use Debian::LicenseReconcile::Filter::ChangeLog;
> ok 15 - Compile test for bin/license-reconcile
> ok
> t/01-errors.t ............. 
> 1..20
> ok 1 - how many
> ok 2 - digest
> ok 3 - how many
> ok 4 - digest
> ok 5 - how many
> ok 6 - digest
> ok 7 - how many
> ok 8 - digest
> ok 9 - how many
> ok 10 - digest
> ok 11 - how many
> ok 12 - digest
> ok 13 - how many
> ok 14 - digest
> ok 15 - how many
> ok 16 - digest
> ok 17 - how many
> ok 18 - digest
> ok 19 - how many
> ok 20 - digest
> ok
> t/02-format.t ............. 
> 1..12
> ok 1 - how many
> ok 2 - initial state
> ok 3 - empty copyright
> ok 4 - how many
> ok 5 - initial state
> ok 6 - good format
> ok 7 - good format (HTTPS)
> ok 8 - how many
> ok 9 - initial state
> ok 10 - bad format
> ok 11 - how many
> ok 12 - initial state
> ok
> t/03-parse.t .............. 
> 1..6
> ok 1 - how many
> ok 2 - initial state
> ok 3 - An object of class 'Debian::LicenseReconcile::CopyrightTarget' isa 'Debian::LicenseReconcile::CopyrightTarget'
> ok 4 - failed parse
> ok 5 - how many
> ok 6 - bad copyright
> ok
> t/04-parse.t .............. 
> 1..5
> ok 1 - how many
> ok 2 - initial state
> ok 3 - An object of class 'Debian::LicenseReconcile::CopyrightTarget' isa 'Debian::LicenseReconcile::CopyrightTarget'
> ok 4 - An object of class 'Debian::LicenseReconcile::CopyrightTarget' isa 'Debian::LicenseReconcile::CopyrightTarget'
> ok 5 - directory mapping
> ok
> t/05-duplicate.t .......... 
> 1..7
> ok 1 - how many
> ok 2 - initial state
> ok 3 - An object of class 'Debian::LicenseReconcile::CopyrightTarget' isa 'Debian::LicenseReconcile::CopyrightTarget'
> ok 4 - An object of class 'Debian::LicenseReconcile::CopyrightTarget' isa 'Debian::LicenseReconcile::CopyrightTarget'
> ok 5 - how many
> ok 6 - initial state
> ok 7 - directory mapping
> ok
> t/06-filter.t ............. 
> 1..2
> ok 1 - An object of class 'Debian::LicenseReconcile::Filter' isa 'Debian::LicenseReconcile::Filter'
> ok 2 - threw Regexp ((?^:not implemented in base class))
> ok
> 
> #   Failed test at t/08-licensecheck.t line 85.
> # Comparing $data as a Bag
> # Missing: 12 references
> # Extra: 12 references
> # Looks like you failed 1 test of 3.
> t/08-licensecheck.t ....... 
> 1..3
> ok 1 - An object of class 'Debian::LicenseReconcile::LicenseCheck' isa 'Debian::LicenseReconcile::LicenseCheck'
> $VAR1 = {
>           'file' => 'GPL_2',
>           'license' => 'test4',
>           'copyright' => [
>                            'Copyright: 2003 Testophilus Testownik <tester at testity.org>.'
>                          ]
>         };
> $VAR2 = {
>           'copyright' => [
>                            'Copyright: 2000 Testophilus Testownik <tester at testity.org>.'
>                          ],
>           'license' => 'test1',
>           'file' => 'Apache_2_0'
>         };
> $VAR3 = {
>           'copyright' => [
>                            'Copyright: 2008 Testophilus Testownik <tester at testity.org>.'
>                          ],
>           'file' => 'MIT',
>           'license' => 'test9'
>         };
> $VAR4 = {
>           'license' => 'test2',
>           'file' => 'FreeBSD',
>           'copyright' => [
>                            'Copyright: 2001 Testophilus Testownik <tester at testity.org>.'
>                          ]
>         };
> $VAR5 = {
>           'license' => 'test6',
>           'file' => 'LGPL_2',
>           'copyright' => [
>                            'Copyright: 2005 Testophilus Testownik <tester at testity.org>.'
>                          ]
>         };
> $VAR6 = {
>           'copyright' => [
>                            'Copyright: 2009 Testophilus Testownik <tester at testity.org>.'
>                          ],
>           'license' => 'test10',
>           'file' => 'Mozilla_2_0'
>         };
> $VAR7 = {
>           'copyright' => [
>                            'Copyright: 2002 Testophilus Testownik <tester at testity.org>.'
>                          ],
>           'license' => 'test3',
>           'file' => 'GPL_1'
>         };
> $VAR8 = {
>           'copyright' => [
>                            'Copyright: 2011 Testophilus Testownik <tester at testity.org>.'
>                          ],
>           'license' => 'test12',
>           'file' => 'Zlib'
>         };
> $VAR9 = {
>           'copyright' => [
>                            'Copyright: 2006 Testophilus Testownik <tester at testity.org>.'
>                          ],
>           'license' => 'test7',
>           'file' => 'LGPL_2_1'
>         };
> $VAR10 = {
>            'copyright' => [
>                             'Copyright: 2004 Testophilus Testownik <tester at testity.org>.'
>                           ],
>            'file' => 'GPL_3',
>            'license' => 'test5'
>          };
> $VAR11 = {
>            'license' => 'test11',
>            'file' => 'QPL_1_0',
>            'copyright' => [
>                             'Copyright: 2010 Testophilus Testownik <tester at testity.org>.'
>                           ]
>          };
> $VAR12 = {
>            'copyright' => [
>                             'Copyright: 2007 Testophilus Testownik <tester at testity.org>.'
>                           ],
>            'file' => 'LGPL_3_0',
>            'license' => 'test8'
>          };
> not ok 2
> ok 3 - no warnings
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/3 subtests 
> t/08-map_directory.t ...... 
> 1..7
> ok 1 - how many
> ok 2 - initial state
> ok 3 - An object of class 'Debian::LicenseReconcile::CopyrightTarget' isa 'Debian::LicenseReconcile::CopyrightTarget'
> ok 4 - An object of class 'Debian::LicenseReconcile::CopyrightTarget' isa 'Debian::LicenseReconcile::CopyrightTarget'
> ok 5 - how many
> ok 6 - initial state
> ok 7 - directory mapping
> ok
> t/09-licensecheck.t ....... skipped: Need to rethink the documentation and testing and examples
> 
> #   Failed test at t/09-nolicense.t line 13.
> # Compared $data->[0]{"copyright"}[0]
> #    got : 'Copyright: 1992-1993 The Regents of the University of California. All rights reserved.'
> # expect : 'Copyright: 1992, 1993 The Regents of the University of California. All rights reserved'
> # Looks like you failed 1 test of 2.
> t/09-nolicense.t .......... 
> 1..2
> ok 1 - An object of class 'Debian::LicenseReconcile::LicenseCheck' isa 'Debian::LicenseReconcile::LicenseCheck'
> not ok 2
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/2 subtests 
> 
> #   Failed test at t/09-tty.t line 13.
> # Compared $data->[0]{"copyright"}[0]
> #    got : 'Copyright: 1992-1993 The Regents of the University of California. All rights reserved.'
> # expect : 'Copyright: 1992, 1993 The Regents of the University of California. All rights reserved.'
> # Looks like you failed 1 test of 2.
> t/09-tty.t ................ 
> 1..2
> ok 1 - An object of class 'Debian::LicenseReconcile::LicenseCheck' isa 'Debian::LicenseReconcile::LicenseCheck'
> not ok 2
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/2 subtests 
> t/09-wtfpl.t .............. 
> 1..2
> ok 1 - An object of class 'Debian::LicenseReconcile::LicenseCheck' isa 'Debian::LicenseReconcile::LicenseCheck'
> ok 2
> ok
> t/10-get_files.t .......... 
> 1..1
> ok 1
> ok
> t/11-rules.t .............. 
> 1..3
> ok 1 - An object of class 'Debian::LicenseReconcile::Filter::Rules' isa 'Debian::LicenseReconcile::Filter'
> ok 2 - An object of class 'Debian::LicenseReconcile::Filter::Rules' isa 'Debian::LicenseReconcile::Filter::Rules'
> ok 3
> ok
> t/12-rules-pattern.t ...... 
> 1..3
> ok 1 - An object of class 'Debian::LicenseReconcile::Filter::Rules' isa 'Debian::LicenseReconcile::Filter'
> ok 2 - An object of class 'Debian::LicenseReconcile::Filter::Rules' isa 'Debian::LicenseReconcile::Filter::Rules'
> ok 3
> ok
> t/13-rules-contains.t ..... 
> 1..3
> ok 1 - An object of class 'Debian::LicenseReconcile::Filter::Rules' isa 'Debian::LicenseReconcile::Filter'
> ok 2 - An object of class 'Debian::LicenseReconcile::Filter::Rules' isa 'Debian::LicenseReconcile::Filter::Rules'
> ok 3
> ok
> t/14-rules-mmagic.t ....... 
> 1..3
> ok 1 - An object of class 'Debian::LicenseReconcile::Filter::Rules' isa 'Debian::LicenseReconcile::Filter'
> ok 2 - An object of class 'Debian::LicenseReconcile::Filter::Rules' isa 'Debian::LicenseReconcile::Filter::Rules'
> ok 3
> ok
> t/15-rules-matches.t ...... 
> 1..3
> ok 1 - An object of class 'Debian::LicenseReconcile::Filter::Rules' isa 'Debian::LicenseReconcile::Filter'
> ok 2 - An object of class 'Debian::LicenseReconcile::Filter::Rules' isa 'Debian::LicenseReconcile::Filter::Rules'
> ok 3
> ok
> t/16-rules-maxversion.t ... 
> 1..3
> ok 1 - An object of class 'Debian::LicenseReconcile::Filter::Rules' isa 'Debian::LicenseReconcile::Filter'
> ok 2 - An object of class 'Debian::LicenseReconcile::Filter::Rules' isa 'Debian::LicenseReconcile::Filter::Rules'
> ok 3
> ok
> t/17-copyright.t .......... 
> 1..40
> ok 1 - An object of class 'Debian::LicenseReconcile::CopyrightDatum' isa 'Debian::LicenseReconcile::CopyrightDatum'
> ok 2 - contains
> ok 3 - contains
> ok 4 - copyright holders
> ok 5 - years
> ok 6
> ok 7
> ok 8
> ok 9 - undefined other
> ok 10
> ok 11
> ok 12 - An object of class 'Debian::LicenseReconcile::CopyrightDatum' isa 'Debian::LicenseReconcile::CopyrightDatum'
> ok 13 - copyright holders
> ok 14 - An object of class 'Debian::LicenseReconcile::CopyrightDatum' isa 'Debian::LicenseReconcile::CopyrightDatum'
> ok 15 - copyright holders
> ok 16 - An object of class 'Set::IntSpan' isa 'Set::IntSpan'
> ok 17 - empty set of years
> ok 18 - An object of class 'Debian::LicenseReconcile::CopyrightDatum' isa 'Debian::LicenseReconcile::CopyrightDatum'
> ok 19 - copyright holders
> ok 20 - An object of class 'Set::IntSpan' isa 'Set::IntSpan'
> ok 21 - An object of class 'Set::IntSpan' isa 'Set::IntSpan'
> ok 22 - woo years
> ok 23 - blah years
> ok 24
> ok 25
> ok 26
> ok 27
> ok 28
> ok 29
> ok 30
> ok 31
> ok 32
> ok 33 - Does not match: 'Was trying to match 'Blah Wah8 Ltd' to 'Blah Wah Ltd', but 'Blah1 Wah Ltd' would match as well so giving up.'
> ok 34
> ok 35 - Does not match: 'Was trying to match 'Blah Wah Ltd' to 'Blah WaT Ltd', but 'Blah4 Wah Ltd' would be matched as well so giving up.'
> ok 36 - how many
> ok 37
> ok 38
> ok 39 - how many
> ok 40 - bad copyright
> ok
> t/17-kungliga.t ........... 
> 1..1
> ok 1 - An object of class 'Debian::LicenseReconcile::CopyrightDatum' isa 'Debian::LicenseReconcile::CopyrightDatum'
> ok
> 
> #   Failed test at t/17-rltty.t line 15.
> # Comparing hash keys of $data
> # Missing: 'Free Software Foundation, Inc'
> # Extra: 'Free Software Foundation, Inc.'
> 
> #   Failed test at t/17-rltty.t line 34.
> # Compared $data->[0]{"copyright"}[0]
> #    got : 'Copyright: 1992-2005 Free Software Foundation, Inc.'
> # expect : 'Copyright: 1992-2005 Free Software Foundation, Inc'
> 
> #   Failed test at t/17-rltty.t line 58.
> # Compared $data->[0]{"copyright"}[0]
> #    got : 'Copyright: 1992-2005 Free Software Foundation, Inc.'
> # expect : 'Copyright: 1992-2005 Free Software Foundation, Inc'
> # Looks like you failed 3 tests of 8.
> t/17-rltty.t .............. 
> 1..8
> ok 1 - An object of class 'Debian::LicenseReconcile::CopyrightDatum' isa 'Debian::LicenseReconcile::CopyrightDatum'
> not ok 2
> ok 3 - An object of class 'Debian::LicenseReconcile::Filter::Rules' isa 'Debian::LicenseReconcile::Filter'
> ok 4 - An object of class 'Debian::LicenseReconcile::Filter::Rules' isa 'Debian::LicenseReconcile::Filter::Rules'
> not ok 5
> ok 6 - An object of class 'Debian::LicenseReconcile::Filter::Rules' isa 'Debian::LicenseReconcile::Filter'
> ok 7 - An object of class 'Debian::LicenseReconcile::Filter::Rules' isa 'Debian::LicenseReconcile::Filter::Rules'
> not ok 8
> Dubious, test returned 3 (wstat 768, 0x300)
> Failed 3/8 subtests 
> t/18-app.t ................ skipped: Need to rethink the documentation and testing and examples
> t/19-rules-verify.t ....... 
> 1..3
> ok 1 - An object of class 'Debian::LicenseReconcile::Filter::Rules' isa 'Debian::LicenseReconcile::Filter'
> ok 2 - An object of class 'Debian::LicenseReconcile::Filter::Rules' isa 'Debian::LicenseReconcile::Filter::Rules'
> ok 3
> ok
> 
> #   Failed test at t/20-copyright_extract.t line 33.
> # Compared $data->[0]{"copyright"}[0]
> #    got : 'Copyright: 2008 MySQL AB, 2008-2009 Sun Microsystems, Inc.'
> # expect : 'Copyright: 2008 MySQL AB, 2008-2009 Sun Microsystems, Inc'
> # Looks like you failed 1 test of 6.
> t/20-copyright_extract.t .. 
> 1..6
> ok 1
> ok 2
> not ok 3
> ok 4
> ok 5
> ok 6 - no warnings
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/6 subtests 
> t/manifest.t .............. skipped: Author tests not required for installation
> t/pod-coverage.t .......... skipped: Test::Pod::Coverage 1.08 required for testing POD coverage
> t/pod.t ................... skipped: Test::Pod 1.22 required for testing POD
> t/version.t ............... 
> ok 1 - Version number in debian/changelog and $VERSION in t/../lib/Debian/LicenseReconcile.pm are the same
> ok 2 - Version numbers in debian/changelog and POD of t/../lib/Debian/LicenseReconcile.pm are the same
> ok 3 - Version number in debian/changelog and $VERSION in t/../lib/Debian/LicenseReconcile/App.pm are the same
> ok 4 - Version numbers in debian/changelog and POD of t/../lib/Debian/LicenseReconcile/App.pm are the same
> ok 5 - Version number in debian/changelog and $VERSION in t/../lib/Debian/LicenseReconcile/CopyrightDatum.pm are the same
> ok 6 - Version numbers in debian/changelog and POD of t/../lib/Debian/LicenseReconcile/CopyrightDatum.pm are the same
> ok 7 - Version number in debian/changelog and $VERSION in t/../lib/Debian/LicenseReconcile/CopyrightTarget.pm are the same
> ok 8 - Version numbers in debian/changelog and POD of t/../lib/Debian/LicenseReconcile/CopyrightTarget.pm are the same
> ok 9 - Version number in debian/changelog and $VERSION in t/../lib/Debian/LicenseReconcile/Errors.pm are the same
> ok 10 - Version numbers in debian/changelog and POD of t/../lib/Debian/LicenseReconcile/Errors.pm are the same
> ok 11 - Version number in debian/changelog and $VERSION in t/../lib/Debian/LicenseReconcile/Filter.pm are the same
> ok 12 - Version numbers in debian/changelog and POD of t/../lib/Debian/LicenseReconcile/Filter.pm are the same
> ok 13 - Version number in debian/changelog and $VERSION in t/../lib/Debian/LicenseReconcile/FormatSpec.pm are the same
> ok 14 - Version numbers in debian/changelog and POD of t/../lib/Debian/LicenseReconcile/FormatSpec.pm are the same
> ok 15 - Version number in debian/changelog and $VERSION in t/../lib/Debian/LicenseReconcile/LicenseCheck.pm are the same
> ok 16 - Version numbers in debian/changelog and POD of t/../lib/Debian/LicenseReconcile/LicenseCheck.pm are the same
> ok 17 - Version number in debian/changelog and $VERSION in t/../lib/Debian/LicenseReconcile/Utils.pm are the same
> ok 18 - Version numbers in debian/changelog and POD of t/../lib/Debian/LicenseReconcile/Utils.pm are the same
> ok 19 - Version number in debian/changelog and $VERSION in t/../lib/Debian/LicenseReconcile/CopyrightDatum/Holder.pm are the same
> ok 20 - Version numbers in debian/changelog and POD of t/../lib/Debian/LicenseReconcile/CopyrightDatum/Holder.pm are the same
> ok 21 - Version number in debian/changelog and $VERSION in t/../lib/Debian/LicenseReconcile/Filter/ChangeLog.pm are the same
> ok 22 - Version numbers in debian/changelog and POD of t/../lib/Debian/LicenseReconcile/Filter/ChangeLog.pm are the same
> ok 23 - Version number in debian/changelog and $VERSION in t/../lib/Debian/LicenseReconcile/Filter/Rules.pm are the same
> ok 24 - Version numbers in debian/changelog and POD of t/../lib/Debian/LicenseReconcile/Filter/Rules.pm are the same
> ok 25 - Version number in debian/changelog and $VERSION in t/../lib/Debian/LicenseReconcile/Filter/Shebang.pm are the same
> ok 26 - Version numbers in debian/changelog and POD of t/../lib/Debian/LicenseReconcile/Filter/Shebang.pm are the same
> ok 27 - Version number in debian/changelog and $VERSION in t/../lib/Debian/LicenseReconcile/Filter/Std.pm are the same
> ok 28 - Version numbers in debian/changelog and POD of t/../lib/Debian/LicenseReconcile/Filter/Std.pm are the same
> 1..28
> ok
> Failed 5/30 test programs. 7/188 subtests failed.
> 
> Test Summary Report
> -------------------
> t/08-licensecheck.t     (Wstat: 256 Tests: 3 Failed: 1)
>   Failed test:  2
>   Non-zero exit status: 1
> t/09-nolicense.t        (Wstat: 256 Tests: 2 Failed: 1)
>   Failed test:  2
>   Non-zero exit status: 1
> t/09-tty.t              (Wstat: 256 Tests: 2 Failed: 1)
>   Failed test:  2
>   Non-zero exit status: 1
> t/17-rltty.t            (Wstat: 768 Tests: 8 Failed: 3)
>   Failed tests:  2, 5, 8
>   Non-zero exit status: 3
> t/20-copyright_extract.t (Wstat: 256 Tests: 6 Failed: 1)
>   Failed test:  3
>   Non-zero exit status: 1
> Files=30, Tests=188,  5 wallclock secs ( 0.07 usr  0.03 sys +  4.30 cusr  0.24 csys =  4.64 CPU)
> Result: FAIL
> dh_auto_test: perl Build test --verbose 1 returned exit code 255

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/28/license-reconcile_0.11_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-perl-maintainers mailing list