Bug#738975: libconfig-model-dpkg-perl: FTBFS with libev-perl and libtest-harness-perl
Niko Tyni
ntyni at debian.org
Fri Feb 14 12:28:34 UTC 2014
Package: libconfig-model-dpkg-perl
Version: 2.044
Severity: important
The test suite of libconfig-model-dpkg-perl fails when libev-perl and
libtest-harness-perl are installed.
Test Summary Report
-------------------
t/dependency-check.t (Wstat: 256 Tests: 90 Failed: 1)
Failed test: 2
Non-zero exit status: 1
t/model_tests.t (Wstat: 256 Tests: 570 Failed: 1)
Failed test: 3
Non-zero exit status: 1
Files=5, Tests=696, 73 wallclock secs ( 0.16 usr 0.01 sys + 73.44 cusr 0.18 csys = 73.79 CPU)
Result: FAIL
The failure reason (at least the first one) seems to be this warning
from EV.pm, as used by AnyEvent when installed:
# Failed test 'test BDI warn on unittest instance'
# at t/dependency-check.t line 132.
# found warning: Too late to run CHECK block at /usr/lib/perl5/EV.pm line 123.
It looks like the newer Test::Harness in libtest-harness-perl (3.30)
enables warnings where the older one (version 3.26 bundled with perl)
doesn't. The old case has $^W==0 during t/dependency-check.t execution
while the new one has $^W==1.
The relevant change in Test-Harness is probably
3.27 2013-04-30
[...]
- restore "always add -w to switches" behavior
--
Niko Tyni ntyni at debian.org
More information about the pkg-perl-maintainers
mailing list