Bug#912045: mb2md: FTBFS: Test failures

Daniel Schepler dschepler at gmail.com
Sat Oct 27 16:34:06 BST 2018


Source: mb2md
Version: 3.20-8
Severity: serious
Tags: ftbfs

>From my pbuilder build log:

...
   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/mb2md-3.20'
debian/tests/run-testsuite.sh perl `pwd`/mb2md-3.20.pl

#   Failed test 'Check return from 'perl
/build/mb2md-3.20/mb2md-3.20.pl -s example.mbox -d example.maildir' is
0'
#   at debian/tests/t/mb2md.t line 35.
#          got: '2'
#     expected: '0'

#   Failed test 'Stdout as expected ($HOME)'
#   at debian/tests/t/mb2md.t line 36.
#          got: ''
#     expected: 'Converting /tmp/TTcKFt21wi/home/example.mbox to
maildir: /tmp/TTcKFt21wi/home/example.maildir
# Source Mbox is /tmp/TTcKFt21wi/home/example.mbox
# Target Maildir is /tmp/TTcKFt21wi/home/example.maildir
# 2 messages.
#
# '

#   Failed test 'No stderr ($HOME)'
#   at debian/tests/t/mb2md.t line 37.
#          got: 'Can't locate Date/Parse.pm in @INC (you may need to
install the Date::Parse module) (@INC contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.26.2
/usr/local/share/perl/5.26.2 /usr/lib/x86_64-linux-gnu
/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26
/usr/share/perl/5.26 /usr/local/lib/site_perl
/usr/lib/x86_64-linux-gnu/perl-base .) at
/build/mb2md-3.20/mb2md-3.20.pl line 385.
# BEGIN failed--compilation aborted at /build/mb2md-3.20/mb2md-3.20.pl line 385.
# '
#     expected: ''
Error opendir on '/tmp/TTcKFt21wi/home/example.maildir/cur': No such
file or directory at debian/tests/t/mb2md.t line 38.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 11.
debian/tests/t/mb2md.t ..
ok 1 - Created '/tmp/TTcKFt21wi/home'
ok 2 - Successfully copied example.mbox to fake home directory
/tmp/TTcKFt21wi/home/
ok 3 - Created '/tmp/TTcKFt21wi/1'
ok 4 - Successfully copied example.mbox to fake home directory
/tmp/TTcKFt21wi/1/
ok 5 - Created '/tmp/TTcKFt21wi/2'
ok 6 - Successfully copied example.mbox to fake home directory
/tmp/TTcKFt21wi/2/
ok 7 - Can run 'perl /build/mb2md-3.20/mb2md-3.20.pl -s example.mbox
-d example.maildir'
ok 8 - Process terminated without a signal
not ok 9 - Check return from 'perl /build/mb2md-3.20/mb2md-3.20.pl -s
example.mbox -d example.maildir' is 0
not ok 10 - Stdout as expected ($HOME)
not ok 11 - No stderr ($HOME)
Dubious, test returned 2 (wstat 512, 0x200)
Failed 3/11 subtests

Test Summary Report
-------------------
debian/tests/t/mb2md.t (Wstat: 512 Tests: 11 Failed: 3)
 Failed tests:  9-11
 Non-zero exit status: 2
 Parse errors: No plan found in TAP output
Files=1, Tests=11,  1 wallclock secs ( 0.02 usr  0.01 sys +  0.08 cusr
 0.01 csys =  0.12 CPU)
Result: FAIL
make[1]: *** [debian/rules:12: override_dh_auto_test] Error 1
make[1]: Leaving directory '/build/mb2md-3.20'
make: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

(Also reproducible in the reproducible-builds.org log.)
-- 
Daniel Schepler



More information about the pkg-perl-maintainers mailing list