Greetings,
I'm trying to install POE::Component::SSLify via cpanm, but it fails:
# Failed test 'SERVER: SSLify_Options Can't locate
auto/Net/SSLeay/CTX_v3_new.al in @INC (@INC contains:
/root/.cpanm/work/1478187239.6/POE-Component-SSLify-1.011/blib/arch
/root/.cpanm/work/1478187239.6/POE-Component-SSLify-1.011/blib/lib
/usr/local/lib/perl5/site_perl/5.24.0/x86_64-linux
/usr/local/lib/perl5/site_perl/5.24.0 /usr/local/lib/perl5/5.24.0/x86_
+64-linux
/usr/local/lib/perl5/5.24.0 .) at
/root/.cpanm/work/1478187239.6/POE-Component-SSLify-1.011/blib/lib/POE
+/Component/SSLify.pm
line 362.
# '
# at t/upgrade.t line 59.
# Failed test 'SERVER: Server_SSLify Please do SSLify_Options() firs
+t ( or
pass in a $ctx object ) at
/root/.cpanm/work/1478187239.6/POE-Component-SSLify-1.011/blib/lib/POE
+/Component/SSLify.pm
line 247.
# '
# at t/upgrade.t line 61.
Can't use an undefined value as a symbol reference at
/root/.cpanm/work/1478187239.6/POE-Component-SSLify-1.011/blib/lib/POE
+/Component/SSLify.pm
line 446.
# Tests were run but no plan was declared and done_testing() was not s
+een.
# Looks like your test exited with 22 just after 5.
t/upgrade.t ...................
I downloaded the source an tried some manual tests:
neil@luna:~/src/neil/perl-poe-sslify$ prove t/renegotiate_client_pings
+.t
t/renegotiate_client_pings.t .. 1/?
# Failed test 'SERVER: SSLify_Options Can't locate
auto/Net/SSLeay/CTX_v3_new.al in @INC (@INC contains:
/home/neil/perl5/lib/perl5/5.24.1/x86_64-linux-gnu-thread-multi
/home/neil/perl5/lib/perl5/5.24.1
/home/neil/perl5/lib/perl5/x86_64-linux-gnu-thread-multi
/home/neil/perl5/lib/perl5 /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24
+.1
/usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at
/usr/share/perl5/POE/Component/SSLify.pm line 362.
# '
# at t/renegotiate_client_pings.t line 48.
# Failed test 'SERVER: Server_SSLify Please do SSLify_Options() firs
+t ( or
pass in a $ctx object ) at /usr/share/perl5/POE/Component/SSLify.pm li
+ne 247.
# '
# at t/renegotiate_client_pings.t line 51.
# Failed test 'CLIENT: SSLify_ContextCreate Can't locate
auto/Net/SSLeay/CTX_v3_new.al in @INC (@INC contains:
/home/neil/perl5/lib/perl5/5.24.1/x86_64-linux-gnu-thread-multi
/home/neil/perl5/lib/perl5/5.24.1
/home/neil/perl5/lib/perl5/x86_64-linux-gnu-thread-multi
/home/neil/perl5/lib/perl5 /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24
+.1
/usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at
/usr/share/perl5/POE/Component/SSLify.pm line 362.
# '
# at t/renegotiate_client_pings.t line 111.
Can't use an undefined value as a symbol reference at
/usr/share/perl5/POE/Component/SSLify.pm line 446.
# Tests were run but no plan was declared and done_testing() was not s
+een.
# Looks like your test exited with 22 just after 7.
t/renegotiate_client_pings.t .. Dubious, test returned 22 (wstat 5632,
+ 0x1600)
Failed 3/7 subtests
Test Summary Report
-------------------
t/renegotiate_client_pings.t (Wstat: 5632 Tests: 7 Failed: 3)
Failed tests: 1-3
Non-zero exit status: 22
Parse errors: No plan found in TAP output
Files=1, Tests=7, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.10 cusr
+ 0.00 csys = 0.11 CPU)
Result: FAIL
Net::SSLeay is installed:
$ perl -e 'use Net::SSLeay'; echo $?
0
Is this a bug?