Bug#843052: libterm-filter-perl: FTBFS randomly (failing tests)

Santiago Vila sanvila at unex.es
Thu Nov 3 13:02:55 UTC 2016


Package: src:libterm-filter-perl
Version: 0.03-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep
dh: Compatibility levels before 9 are deprecated (level 8 in use)
   dh_testdir -i
   dh_update_autotools_config -i
   dh_auto_configure -i
dh_auto_configure: Compatibility levels before 9 are deprecated (level 8 in use)
	perl -I. Makefile.PL INSTALLDIRS=vendor
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Term::Filter
Writing MYMETA.yml and MYMETA.json
   dh_auto_build -i
dh_auto_build: Compatibility levels before 9 are deprecated (level 8 in use)
	make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cp lib/Term/Filter.pm blib/lib/Term/Filter.pm
cp lib/Term/Filter/Callback.pm blib/lib/Term/Filter/Callback.pm
Manifying 2 pod documents
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -i
dh_auto_test: Compatibility levels before 9 are deprecated (level 8 in use)
	make -j1 test TEST_VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PERL_DL_NONLAZY=1 PERL_USE_UNSAFE_INC=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ............ 
1..2
ok 1 - Term::Filter loaded ok
ok 2 - Term::Filter::Callback loaded ok
ok
t/basic.t ................. 
ok 1
ok 2
ok 3
1..3
ok
t/callbacks.t ............. 
ok 1 - setup callback got a Term::Filter::Callback object
ok 2 - munge_input and munge_output got the right arguments
ok 3 - cleanup got the right arguments
1..3
ok
t/extra-pty.t ............. 
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
1..6
ok
t/release-eol.t ........... skipped: these tests are for release candidate testing
t/release-no-tabs.t ....... skipped: these tests are for release candidate testing
t/release-pod-coverage.t .. skipped: these tests are for release candidate testing
t/release-pod-syntax.t .... skipped: these tests are for release candidate testing
t/requires-tty.t .......... 
ok 1 - requires a terminal
ok 2 - requires a terminal
1..2
ok

#   Failed test 'munge_input and munge_output got the right arguments'
#   at t/role.t line 79.
#                   'MUNGE_INPUT: My::Term::Filter=HASH(0x23a3110) (My::Term::Filter): fOo
# 
# MUNGE_OUTPUT: My::Term::Filter=HASH(0x23a3110) (My::Term::Filter): FOO

# 
# foo

# MUNGE_OUTPUT: My::Term::Filter=HASH(0x23a3110) (My::Term::Filter): FOO
# fooMUNGE_OUTPUT: My::Term::Filter=HASH(0x23a3110) (My::Term::Filter): 

# 
# 

# '
#     doesn't match '(?^sx:
#             ^
#             MUNGE_INPUT: \s My\:\:Term\:\:Filter\=HASH\(0x23a3110\) \s \(My::Term::Filter\): \s fOo\n
#             \n
#             (?:
#             MUNGE_OUTPUT: \s My\:\:Term\:\:Filter\=HASH\(0x23a3110\) \s \(My::Term::Filter\): \s FOO(?^:\x0d\x0a)
#             \n
#             foo(?^:\x0d\x0a)
#             MUNGE_OUTPUT: \s My\:\:Term\:\:Filter\=HASH\(0x23a3110\) \s \(My::Term::Filter\): \s FOO(?^:\x0d\x0a)
#             \n
#             foo(?^:\x0d\x0a)
#             |
#             MUNGE_OUTPUT: \s My\:\:Term\:\:Filter\=HASH\(0x23a3110\) \s \(My::Term::Filter\): \s FOO(?^:\x0d\x0a) FOO(?^:\x0d\x0a)
#             \n
#             foo(?^:\x0d\x0a)
#             foo(?^:\x0d\x0a)
#             )
#             $
#         )'
# Looks like you failed 1 test of 3.
t/role.t .................. 
ok 1 - setup callback got a My::Term::Filter object
not ok 2 - munge_input and munge_output got the right arguments
ok 3 - cleanup got the right arguments
1..3
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 

Test Summary Report
-------------------
t/role.t                (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
Files=10, Tests=19, 16 wallclock secs ( 0.05 usr  0.01 sys +  2.60 cusr  0.23 csys =  2.89 CPU)
Result: FAIL
Failed 1/10 test programs. 1/19 subtests failed.
Makefile:849: recipe for target 'test_dynamic' failed
make[1]: *** [test_dynamic] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: make -j1 test TEST_VERBOSE=1 returned exit code 2
debian/rules:4: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

I'm attaching eight different build logs.

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libterm-filter-perl.build.tar.gz
Type: application/gzip
Size: 41426 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161103/16402023/attachment-0001.bin>


More information about the pkg-perl-maintainers mailing list