Subject: | Undeclared dependency on XML::LibXML |
I saw it on cpantesters and then reproduced it myself. If XML::LibXML is
not installed then the tests fail with
# XML::LibXML not installed - validating will be skipped: Can't locate
XML/LibXM
L.pm in @INC (@INC contains:
/home/sand/.cpan/build/DAIA-0.25-HofxLD/blib/lib /h
ome/sand/.cpan/build/DAIA-0.25-HofxLD/blib/arch
/home/src/perl/repoperls/install
ed-perls/maint-5.8/pbyWflA/perl-5.8.0@26727/lib/5.8.7/i686-linux-thread-multi-64
int
/home/src/perl/repoperls/installed-perls/maint-5.8/pbyWflA/perl-5.8.0@26727/
lib/5.8.7
/home/src/perl/repoperls/installed-perls/maint-5.8/pbyWflA/perl-5.8.0@
26727/lib/site_perl/5.8.7/i686-linux-thread-multi-64int
/home/src/perl/repoperls
/installed-perls/maint-5.8/pbyWflA/perl-5.8.0@26727/lib/site_perl/5.8.7
/home/sr
c/perl/repoperls/installed-perls/maint-5.8/pbyWflA/perl-5.8.0@26727/lib/site_per
l) at t/80xml.t line 11.
Can't locate XML/LibXML.pm in @INC (@INC contains:
/home/sand/.cpan/build/DAIA-0
.25-HofxLD/blib/lib /home/sand/.cpan/build/DAIA-0.25-HofxLD/blib/arch
/home/src/
perl/repoperls/installed-perls/maint-5.8/pbyWflA/perl-5.8.0@26727/lib/5.8.7/i686
-linux-thread-multi-64int
/home/src/perl/repoperls/installed-perls/maint-5.8/pby
WflA/perl-5.8.0@26727/lib/5.8.7
/home/src/perl/repoperls/installed-perls/maint-5.8/pbyWflA/perl-5.8.0@26727/lib/site_perl/5.8.7/i686-linux-thread-multi-64int
/home/src/perl/repoperls/installed-perls/maint-5.8/pbyWflA/perl-5.8.0@26727/lib/site_perl/5.8.7
/home/src/perl/repoperls/installed-perls/maint-5.8/pbyWflA/perl-5.8.0@26727/lib/site_perl)
at
/home/src/perl/repoperls/installed-perls/maint-5.8/pbyWflA/perl-5.8.0@26727/lib/site_perl/5.8.7/i686-linux-thread-multi-64int/XML/LibXML/SAX.pm
line 17.
BEGIN failed--compilation aborted at
/home/src/perl/repoperls/installed-perls/maint-5.8/pbyWflA/perl-5.8.0@26727/lib/site_perl/5.8.7/i686-linux-thread-multi-64int/XML/LibXML/SAX.pm
line 17.
Compilation failed in require at (eval 1125) line 1.
at t/80xml.t line 52
# Looks like your test exited with 255 just after 4.
t/80xml.t ...........
Dubious, test returned 255 (wstat 65280, 0xff00)
So it seems the test would like to skip but fails in the end.
When I install XML::LibXML then all tests pass.
Thanks,