Bug#726416: libtest-spelling-perl: FTBFS with no English ispell dictionaries, but Build-Depends don't enforce them

Daniel Schepler dschepler at gmail.com
Tue Oct 15 15:36:17 UTC 2013


Source: libtest-spelling-perl
Version: 0.19-1
Severity: serious

I'm currently running a Perl script using pbuilder to bootstrap the Debian
archive, and I got the build failure below in libtest-spelling-perl.  It
appears that at the point it got to libtest-spelling-perl, it didn't have
iamerican available yet so it satisfied the dependencies of spell on
"iamerican | ibritish | ispell-dictionary" by installing itagalog instead.

...
   dh_auto_test
make[1]: Entering directory `/tmp/buildd/libtest-spelling-perl-0.19'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t

#   Failed test 'subtest 'good pod has no errors' of '' compare ok'
#   at t/basic.t line 17.
#          got: '0'
#     expected: '1'

#   Failed test 'subtest 'bad pod has no errors' of '' compare diag'
#   at t/basic.t line 22.
# Got diag (52 bytes):
# 'Errors:'
# '    NAME'
# '    POD'
# '    incorectly'
# '    spelled'
# Expected diag (23 bytes):
# 'Errors:'
# '    incorectly'
# Looks like you failed 2 tests of 19.
t/basic.t ......... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/19 subtests 
t/fake_checker.t .. ok
# Test::Spelling found a spellchecker: spell
t/load.t .......... ok
t/pod-spell.t ..... skipped: Spelling tests only for authors
t/pod.t ........... ok

#   Failed test 'subtest 'stopword pod file' of '' compare diag'
#   at t/stopword.t line 12.
# Got diag (81 bytes):
# 'Errors:'
# '    NAME'
# '    POD'
# '    Xzaue'
# '    and'
# '    correctly'
# '    creator'
# '    spelled'
# Expected diag (18 bytes):
# 'Errors:'
# '    Xzaue'

#   Failed test 'subtest 'stopword pod file' of '' compare ok'
#   at t/stopword.t line 20.
#          got: '0'
#     expected: '1'
# Looks like you failed 2 tests of 13.
t/stopword.t ...... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/13 subtests 

Test Summary Report
-------------------
t/basic.t       (Wstat: 512 Tests: 19 Failed: 2)
  Failed tests:  10, 19
  Non-zero exit status: 2
t/stopword.t    (Wstat: 512 Tests: 13 Failed: 2)
  Failed tests:  7, 11
  Non-zero exit status: 2
Files=6, Tests=55,  0 wallclock secs ( 0.03 usr  0.00 sys +  0.28 cusr  0.02 csys =  0.33 CPU)
Result: FAIL
Failed 2/6 test programs. 4/55 subtests failed.
make[1]: *** [test_dynamic] Error 2
make[1]: Leaving directory `/tmp/buildd/libtest-spelling-perl-0.19'
dh_auto_test: make -j1 test returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

With a default pbuilder setup, it installs iamerican by default and the build
succeeds.
-- 
Daniel Schepler



More information about the pkg-perl-maintainers mailing list