Skip Menu |

This queue is for tickets about the IO-Socket-IP CPAN distribution.

Report information
The Basics
Id: 92605
Status: open
Priority: 0/
Queue: IO-Socket-IP

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Possible problem? Crypt-SSLeay fails tests
cpanm (App::cpanminus) 1.7001 on perl 5.019007 built for darwin-2level Work directory is /Users/ether/.cpanm/work/1391146529.11124 You have make /usr/bin/make You have LWP 6.05 You have /usr/bin/tar: bsdtar 2.6.2 - libarchive 2.6.2 You have /usr/bin/unzip Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.87_05) Checking if you have ExtUtils::Install 1.46 ... Yes (1.61) Searching Crypt::SSLeay on cpanmetadb ... --> Working on Crypt::SSLeay Fetching http://www.cpan.org/authors/id/N/NA/NANIS/Crypt-SSLeay-0.64.tar.gz -> OK Unpacking Crypt-SSLeay-0.64.tar.gz Entering Crypt-SSLeay-0.64 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.87_05) Configuring Crypt-SSLeay-0.64 Running Makefile.PL The test suite can attempt to connect to public servers to ensure that the code is working properly. If you are behind a strict firewall or have no network connectivity, these tests may fail (through no fault of the code). Do you want to run the live tests (y/N)? [N] N Checking if your kit is complete... Looks good Warning (mostly harmless): No library found for -lssl32 Warning (mostly harmless): No library found for -lssleay32 Warning (mostly harmless): No library found for -leay32 Generating a Unix-style Makefile Writing Makefile for Crypt::SSLeay Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have MIME::Base64 0 ... Yes (3.14) Checking if you have Test::More 0.88 ... Yes (1.001002) Checking if you have LWP::Protocol::https 6.02 ... Yes (6.04) Checking if you have Try::Tiny 0.09 ... Yes (0.18) Building and testing Crypt-SSLeay-0.64 cp lib/Crypt/SSLeay/CTX.pm blib/lib/Crypt/SSLeay/CTX.pm cp lib/Crypt/SSLeay/Conn.pm blib/lib/Crypt/SSLeay/Conn.pm cp SSLeay.pm blib/lib/Crypt/SSLeay.pm cp lib/Net/SSL.pm blib/lib/Net/SSL.pm cp lib/Crypt/SSLeay/Err.pm blib/lib/Crypt/SSLeay/Err.pm cp lib/Crypt/SSLeay/X509.pm blib/lib/Crypt/SSLeay/X509.pm cp lib/Crypt/SSLeay/MainContext.pm blib/lib/Crypt/SSLeay/MainContext.pm Running Mkbootstrap for Crypt::SSLeay () chmod 644 SSLeay.bs /Users/ether/perl5/perlbrew/perls/19.7/bin/perl5.19.7 /Users/ether/perl5/perlbrew/perls/19.7/lib/5.19.7/ExtUtils/xsubpp -typemap /Users/ether/perl5/perlbrew/perls/19.7/lib/5.19.7/ExtUtils/typemap -typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c cc -c -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include -O3 -DVERSION=\"0.64\" -DXS_VERSION=\"0.64\" "-I/Users/ether/perl5/perlbrew/perls/19.7/lib/5.19.7/darwin-2level/CORE" SSLeay.c rm -f blib/arch/auto/Crypt/SSLeay/SSLeay.bundle LD_RUN_PATH="/opt/local/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib -L/opt/local/lib -fstack-protector SSLeay.o -o blib/arch/auto/Crypt/SSLeay/SSLeay.bundle \ -lz -lssl -lcrypto \ chmod 755 blib/arch/auto/Crypt/SSLeay/SSLeay.bundle /Users/ether/perl5/perlbrew/perls/19.7/bin/perl5.19.7 -MExtUtils::Command::MM -e 'cp_nonempty' -- SSLeay.bs blib/arch/auto/Crypt/SSLeay/SSLeay.bs 644 Manifying blib/man3/Crypt::SSLeay.0 Manifying blib/man3/Net::SSL.0 Running Mkbootstrap for Crypt::SSLeay () chmod 644 SSLeay.bs PERL_DL_NONLAZY=1 /Users/ether/perl5/perlbrew/perls/19.7/bin/perl5.19.7 "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Reading configuration from 'test.config' on darwin # network_tests : 0 t/02-live.t ..... skipped: Network tests disabled # Acme::Override::INET replaced IO::Socket::INET with IO::Socket::IP 0.25 # Acme::Override::INET replaced IO::Socket::INET with IO::Socket::IP 0.25 # Failed test 'Net::SSL->new' # at t/01-connect.t line 28. # Connect failed: ; Connection refused at t/01-connect.t line 11. # Looks like you failed 1 test of 8. t/01-connect.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/8 subtests (less 7 skipped subtests: 0 okay) t/00-basic.t .... ok Test Summary Report ------------------- t/01-connect.t (Wstat: 256 Tests: 8 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=3, Tests=20, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.37 cusr 0.06 csys = 0.47 CPU) Result: FAIL Failed 1/3 test programs. 1/20 subtests failed. make: *** [test_dynamic] Error 255 -> FAIL Installing Crypt::SSLeay failed. See /Users/ether/.cpanm/work/1391146529.11124/build.log for details. Retry with --force to force install it.
The failure persists with Crypt-SSLeay-0.64, IO::Socket::IP 0.27 and Acme::Override::INET 0.004.
I can recreate this one. Unclear initially why it might be failing, but I do note that Net::SSL defines a 'connect' method that seems to do quite a lot (and whose contents don't really match the comments at times). This isn't overly an Acme INET problem as just a standard case of an IO::Socket::INET subclass overriding methods that would cause it to break were it subclassing IO::Socket::IP instead. -- Paul Evans
Currently unable to retest on 0.37 to see if this is still an issue, due to unrelated build failures of Crypt::SSLeay: https://rt.cpan.org/Ticket/Display.html?id=116663 -- Paul Evans