dpkg-buildpackage -rfakeroot -D -us -uc -b dpkg-buildpackage: source package license-reconcile dpkg-buildpackage: source version 0.6 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by Damyan Ivanov dpkg-source --before-build license-reconcile-0.6 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh clean dh_testdir dh_auto_clean dh_clean debian/rules build dh build dh_testdir dh_auto_configure perl Build.PL --installdirs vendor --config "optimize=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2" --config "ld=cc -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.6' dh_auto_build perl Build Building Debian-LicenseReconcile dh_auto_test perl Build test --verbose 1 # Testing Debian::LicenseReconcile 0.6, Perl 5.020002, /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..11 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 - how many ok 8 - initial state ok 9 - bad format ok 10 - how many ok 11 - 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 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 ....... 1..7 ok 1 - An object of class 'Debian::LicenseReconcile::Filter::Std' isa 'Debian::LicenseReconcile::Filter' ok 2 - An object of class 'Debian::LicenseReconcile::Filter::Std' isa 'Debian::LicenseReconcile::Filter::Std' ok 3 ok 4 - An object of class 'Debian::LicenseReconcile::Filter::Std' isa 'Debian::LicenseReconcile::Filter' ok 5 - An object of class 'Debian::LicenseReconcile::Filter::Std' isa 'Debian::LicenseReconcile::Filter::Std' ok 6 ok 7 - no warnings ok t/09-nolicense.t .......... 1..2 ok 1 - An object of class 'Debian::LicenseReconcile::LicenseCheck' isa 'Debian::LicenseReconcile::LicenseCheck' ok 2 ok # 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' # 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 t/17-rltty.t .............. 1..8 ok 1 - An object of class 'Debian::LicenseReconcile::CopyrightDatum' isa 'Debian::LicenseReconcile::CopyrightDatum' 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' 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' ok 8 ok t/18-app.t ................ 1..41 ok 1 - how many ok 2 - An object of class 'Debian::LicenseReconcile::App' isa 'Debian::LicenseReconcile::App' ok 3 - how many ok 4 - An object of class 'Debian::LicenseReconcile::CopyrightTarget' isa 'Debian::LicenseReconcile::CopyrightTarget' ok 5 - An object of class 'Debian::LicenseReconcile::App' isa 'Debian::LicenseReconcile::App' ok 6 - how many ok 7 - An object of class 'Debian::LicenseReconcile::CopyrightTarget' isa 'Debian::LicenseReconcile::CopyrightTarget' ok 8 - An object of class 'Debian::LicenseReconcile::App' isa 'Debian::LicenseReconcile::App' ok 9 - how many ok 10 - initial state ok 11 - An object of class 'Debian::LicenseReconcile::CopyrightTarget' isa 'Debian::LicenseReconcile::CopyrightTarget' ok 12 - An object of class 'Debian::LicenseReconcile::App' isa 'Debian::LicenseReconcile::App' ok 13 - how many ok 14 ok 15 ok 16 - An object of class 'Debian::LicenseReconcile::App' isa 'Debian::LicenseReconcile::App' ok 17 - how many ok 18 ok 19 - An object of class 'Parse::DebianChangelog' isa 'Parse::DebianChangelog' ok 20 - An object of class 'Debian::LicenseReconcile::App' isa 'Debian::LicenseReconcile::App' ok 21 - how many ok 22 ok 23 ok 24 - An object of class 'Debian::LicenseReconcile::App' isa 'Debian::LicenseReconcile::App' ok 25 - how many ok 26 ok 27 ok 28 - An object of class 'Debian::LicenseReconcile::App' isa 'Debian::LicenseReconcile::App' ok 29 - how many ok 30 ok 31 - An object of class 'Debian::LicenseReconcile::LicenseCheck' isa 'Debian::LicenseReconcile::LicenseCheck' ok 32 - An object of class 'Debian::LicenseReconcile::App' isa 'Debian::LicenseReconcile::App' ok 33 ok 34 ok 35 - An object of class 'Debian::LicenseReconcile::App' isa 'Debian::LicenseReconcile::App' ok 36 ok 37 ok 38 - An object of class 'Debian::LicenseReconcile::App' isa 'Debian::LicenseReconcile::App' ok 39 - exit status ok 40 ok 41 - no warnings ok /usr/bin/licensecheck warning: cannot parse file 't/data/example/a/0.h' with mime type 'inode/x-empty; charset=binary' /usr/bin/licensecheck warning: cannot parse file 't/data/example/a/1.h' with mime type 'inode/x-empty; charset=binary' /usr/bin/licensecheck warning: cannot parse file 't/data/example/a/2.h' with mime type 'inode/x-empty; charset=binary' /usr/bin/licensecheck warning: cannot parse file 't/data/example/a/3.h' with mime type 'inode/x-empty; charset=binary' /usr/bin/licensecheck warning: cannot parse file 't/data/example/a/base' with mime type 'inode/x-empty; charset=binary' /usr/bin/licensecheck warning: cannot parse file 't/data/example/a/g/blah' with mime type 'inode/x-empty; charset=binary' /usr/bin/licensecheck warning: cannot parse file 't/data/example/a/g/scriggs.t' with mime type 'inode/x-empty; charset=binary' /usr/bin/licensecheck warning: cannot parse file 't/data/example/a/scriggs.g' with mime type 'inode/x-empty; charset=binary' /usr/bin/licensecheck warning: cannot parse file 't/data/example/debian/control' with mime type 'inode/x-empty; charset=binary' /usr/bin/licensecheck warning: cannot parse file 't/data/example/sample.png' with mime type 'image/png; charset=binary' 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 t/20-copyright_extract.t .. 1..6 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 - no warnings ok 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 Test Summary Report ------------------- t/09-tty.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=29, Tests=232, 7 wallclock secs ( 0.11 usr 0.04 sys + 5.24 cusr 0.64 csys = 6.03 CPU) Result: FAIL Failed 1/29 test programs. 1/232 subtests failed. dh_auto_test: perl Build test --verbose 1 returned exit code 255 debian/rules:4: recipe for target 'build' failed make: *** [build] Error 255 dpkg-buildpackage: error: debian/rules build gave error exit status 2