Subject: | [XML::LibXSLT 1.92] Failure in t/14security.t prevents installation from CPAN |
Date: | Thu, 28 Aug 2014 19:22:23 -0700 |
To: | bug-XML-LibXSLT [...] rt.cpan.org |
From: | Nathan Mills <nn.dm55 [...] gmail.com> |
XML::LibXSLT won't install because test t/14security.t dies. This causes
the test
suite to fail, therefore CPAN refuses to install it.
Trying to install XML::LibXSLT produced this error:
Show quoted text
> t/14security.t ............ 1/26 Can't call method "sockport" on an
undefined value at t/14security.t line 243.
Show quoted text> # Looks like you planned 26 tests but ran 23.
> # Looks like your test exited with 22 just after 23.
> t/14security.t ............ Dubious, test returned 22 (wstat 5632, 0x1600)
$conn_sock is undefined at line 243 of t/14security.t, which means that
IO::Socket::INET's
new method had returned undef. However, IO::Socket::INET doesn't document
that new() can
return undef.
I have attached the output from cpan (cpan-output.txt) and the test which
exhibits the bug. (14security.t)
--Module Versions--
Perl v5.18.1
XML::LibXSLT 1.92
IO::Socket::INET 1.33 (from perl-base-5.18.1-2.1.11.x86_64)
Distro: OpenSUSE 13.1
OS: Linux 3.11.10-21-desktop #1 SMP PREEMPT Mon Jul 21 15:28:46 UTC 2014
(9a9565d) x86_64 x86_64 x86_64 GNU/Linux
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.