Skip Menu |
 

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

Report information
The Basics
Id: 95115
Status: resolved
Priority: 0/
Queue: IO-Socket-SSL

People
Owner: Nobody in particular
Requestors: markus.ziermann [...] atos.net
Cc:
AdminCc:

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



Subject: upgrading IO::Socket::SSL via CPAN fails
Date: Mon, 28 Apr 2014 09:13:19 +0000
To: "bug-IO-Socket-SSL [...] rt.cpan.org" <bug-IO-Socket-SSL [...] rt.cpan.org>
From: "Ziermann, Markus" <markus.ziermann [...] atos.net>
Download (untitled) / with headers
text/plain 7.3k
Using strawberry perl on windows, upgrading fails Show quoted text
nolock_cpan> upgrade
Reading 'C:\strawberry\cpan\sources\authors\01mailrc.txt.gz' ............................................................................DONE Reading 'C:\strawberry\cpan\sources\modules\02packages.details.txt.gz' Database was generated on Mon, 28 Apr 2014 04:53:02 GMT ............................................................................DONE Reading 'C:\strawberry\cpan\sources\modules\03modlist.data.gz' DONE Package namespace installed latest in CPAN file IO::Socket::SSL 1.981 1.982 SULLR/IO-Socket-SSL-1.982.tar.gz Locale::Maketext 1.23 1.25 TODDR/Locale-Maketext-1.25.tar.gz Math::Prime::Util 0.39 0.40 DANAJ/Math-Prime-Util-0.40.tar.gz Math::Prime::Util::GMP 0.18 0.19 DANAJ/Math-Prime-Util-GMP-0.19.tar.gz Module::CoreList 3.09 3.10 BINGOS/Module-CoreList-3.10.tar.gz Module::Metadata 1.000019 1.000020 ETHER/Module-Metadata-1.000020.tar.gz Moose 2.1204 2.1205 ETHER/Moose-2.1205.tar.gz Test::Harness 3.28 3.30 LEONT/Test-Harness-3.30.tar.gz Tie::File 0.99 1.00 TODDR/Tie-File-1.00.tar.gz Try::Tiny 0.20 0.21 DOY/Try-Tiny-0.21.tar.gz Win32 0.48 0.49 JDB/Win32-0.49.tar.gz XML::LibXML 2.0115 2.0116 SHLOMIF/XML-LibXML-2.0116.tar.gz XML::LibXSLT 1.90 1.92 SHLOMIF/XML-LibXSLT-1.92.tar.gz GD::Polygon undef 0.2 LDS/GD-2.53.tar.gz INTEGER 1.00 1.93 SHERZODR/Class-PObject-2.17.tar.gz JSON::PP::Boolean undef 2.27203 MAKAMAKA/JSON-PP-2.27203.tar.gz JSON::XS::Boolean undef 2.34 MLEHMANN/JSON-XS-2.34.tar.gz JSON::backportPP::Boolean undef 2.27203 MAKAMAKA/JSON-2.61.tar.gz LWP 6.05 6.06 MSCHILLI/libwww-perl-6.06.tar.gz MooseX::Meta::TypeCoercion::Structured::Optional undef 0.25 JJNAPIORK/MooseX-Types-Structured-0.25.tar.gz PPM::XML::Element undef 1.07 MURRAY/PPM-2.1.9.tar.gz Types::Serialiser::Error undef 1.0 MLEHMANN/Types-Serialiser-1.0.tar.gz 768 installed modules have no parsable version number (use 'o conf show_unparsable_versions 1' to show them) Running install for module 'IO::Socket::SSL' Checksum for C:\strawberry\cpan\sources\authors\id\S\SU\SULLR\IO-Socket-SSL-1.982.tar.gz ok Configuring S/SU/SULLR/IO-Socket-SSL-1.982.tar.gz with Makefile.PL Should I do external tests? These test will detect if there are network problems and fail soft, so please disable them only if you definitely don't want to have any network traffic to external sites. [Y/n] [y] n Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for IO::Socket::SSL Writing MYMETA.yml and MYMETA.json SULLR/IO-Socket-SSL-1.982.tar.gz C:\strawberry\perl\bin\perl.exe Makefile.PL -- OK Running make for S/SU/SULLR/IO-Socket-SSL-1.982.tar.gz cp lib/IO/Socket/SSL/Intercept.pm blib\lib\IO\Socket\SSL\Intercept.pm cp lib/IO/Socket/SSL/PublicSuffix.pm blib\lib\IO\Socket\SSL\PublicSuffix.pm cp lib/IO/Socket/SSL/Utils.pm blib\lib\IO\Socket\SSL\Utils.pm cp lib/IO/Socket/SSL.pm blib\lib\IO\Socket\SSL.pm SULLR/IO-Socket-SSL-1.982.tar.gz C:\strawberry\c\bin\dmake.exe -- OK Running make test C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/01loadmodule.t .................. # openssl version=0x1000107f t/01loadmodule.t .................. 1/3 # Net::SSLeay::VERSION=1.58 t/01loadmodule.t .................. ok t/acceptSSL-timeout.t ............. ok t/auto_verify_hostname.t .......... ok t/cert_no_file.t .................. ok t/compatibility.t ................. ok t/connectSSL-timeout.t ............ ok t/core.t .......................... ok t/dhe.t ........................... ok t/ecdhe.t ......................... ok t/io-socket-inet6.t ............... ok t/io-socket-ip.t .................. ok t/memleak_bad_handshake.t ......... skipped: ps not implemented on this platform t/mitm.t .......................... ok t/nonblock.t ...................... skipped: nonblocking does not work on Win32 t/npn.t ........................... ok t/public_suffix_lib_encode_idn.t .. ok t/public_suffix_lib_libidn.t ...... ok t/public_suffix_lib_uri.t ......... ok t/public_suffix_ssl.t ............. 1/14 failed to connect: Ein Vorgang bezog sich auf ein Objekt, das kein Socket ist. at t/public_suffix_ssl.t line 78. # Looks like you planned 14 tests but ran 3. # Looks like your test exited with 10038 just after 3. Output of perl -V C:\Users\a431924>perl -V Summary of my perl5 (revision 5 version 18 subversion 2) configuration: Platform: osname=MSWin32, osvers=6.2, archname=MSWin32-x64-multi-thread uname='Win32 strawberry-perl 5.18.2.2 #1 Tue Apr 15 14:36:23 2014 x64' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags =' -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-ali asing -mms-bitfields', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='4.7.3', gccosandvers='' intsize=4, longsize=4, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"' libpth=C:\strawberry\c\lib C:\strawberry\c\x86_64-w64-mingw32\lib C:\strawberry\c\lib\gcc\x86_64-w64-mingw32\4.7.3 libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lver sion -lodbc32 -lodbccp32 -lcomctl32 libc=, so=dll, useshrplib=true, libperl=libperl518.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PERL_SAWAMPERSAND USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF Built under MSWin32 Compiled at Apr 15 2014 14:45:10 @INC: C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib .
Subject: [rt.cpan.org #95115]
Date: Mon, 28 Apr 2014 09:23:44 +0000
To: "bug-IO-Socket-SSL [...] rt.cpan.org" <bug-IO-Socket-SSL [...] rt.cpan.org>
From: "Ziermann, Markus" <markus.ziermann [...] atos.net>
Download (untitled) / with headers
text/plain 260b
I'm sorry to have forgotten to add this to the ticket: After '# Looks like you planned 14 tests but ran 3. # Looks like your test exited with 10038 just after 3. ' the installation stalls. I have now tried to install with 'notest' pragrma, which went fine.
Download (untitled) / with headers
text/plain 353b
Thanks for reporting the problem. Show quoted text
> t/public_suffix_ssl.t ............. 1/14 failed to connect: Ein > Vorgang bezog sich auf ein Objekt, das kein Socket ist. at > t/public_suffix_ssl.t line 78.
could you please retry to run only this test, e.g. in the module folder: perl -Mblib t/public_suffix_ssl.t If this still fails please send me the output.
Subject: RE: [rt.cpan.org #95115] upgrading IO::Socket::SSL via CPAN fails
Date: Wed, 30 Apr 2014 12:42:26 +0000
To: "bug-IO-Socket-SSL [...] rt.cpan.org" <bug-IO-Socket-SSL [...] rt.cpan.org>
From: "Ziermann, Markus" <markus.ziermann [...] atos.net>
Download (untitled) / with headers
text/plain 2.8k
Did you mean C:\strawberry\cpan\sources\modules by 'module folder'? Besides two .gz fles it is empty, so I cd'd into C:\strawberry\cpan\build\IO-Socket-SSL-1.982-_g1FVJ>perl -Mblib t\public_suffix_ssl.t C:\strawberry\cpan\build\IO-Socket-SSL-1.982-_g1FVJ>perl -Mblib t\public_suffix_ssl.t 1..14 ok 1 - ssl www.com against *.com -> fail (SSL connect attempt failed with unknown error error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed) ok 2 - ssl www.bar.com against *.bar.com -> ok ok 3 - ssl www.foo.bar.com against *.foo.bar.com -> ok ok 4 - ssl www.foo.co.uk against *.foo.co.uk -> ok ok 5 - ssl www.co.uk against *.co.uk -> fail (SSL connect attempt failed with unknown error error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificateverify failed) ok 6 - ssl www.foo.bl.uk against *.foo.bl.uk -> ok ok 7 - ssl www.bl.uk against *.bl.uk -> ok ok 8 - ssl bar.kobe.jp against *.kobe.jp -> fail (SSL connect attempt failed with unknown error error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed) ok 9 - ssl www.bar.kobe.jp against *.bar.kobe.jp -> fail (SSL connect attempt failed with unknown error error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed) ok 10 - ssl www.foo.bar.kobe.jp against *.foo.bar.kobe.jp -> ok ok 11 - ssl city.kobe.jp against *.kobe.jp -> fail (SSL connect attempt failed with unknown error error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed) ok 12 - ssl www.city.kobe.jp against *.city.kobe.jp -> ok ok 13 - ssl foo.nodomain against *.nodomain -> fail (SSL connect attempt failed with unknown error error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed) ok 14 - ssl www.foo.nodomain against *.foo.nodomain -> ok C:\strawberry\cpan\build\IO-Socket-SSL-1.982-_g1FVJ> ====== Show quoted text
cpan> test IO::Socket::SSL still hangs though:
<snip> t/public_suffix_ssl.t ............. 1/14 failed to connect: Ein Vorgang bezog sich auf ein Objekt, das kein Socket ist. at t/public_suffix_ssl.t line 78. # Looks like you planned 14 tests but ran 2. # Looks like your test exited with 10038 just after 2. </snip> Show quoted text
-----Original Message----- From: Steffen Ullrich via RT [mailto:bug-IO-Socket-SSL@rt.cpan.org] Sent: Monday, April 28, 2014 3:44 PM To: Ziermann, Markus Cc: behroozi@www.pls.uni.edu Subject: [rt.cpan.org #95115] upgrading IO::Socket::SSL via CPAN fails <URL: https://rt.cpan.org/Ticket/Display.html?id=95115 > Thanks for reporting the problem.
> t/public_suffix_ssl.t ............. 1/14 failed to connect: Ein > Vorgang bezog sich auf ein Objekt, das kein Socket ist. at > t/public_suffix_ssl.t line 78.
could you please retry to run only this test, e.g. in the module folder: perl -Mblib t/public_suffix_ssl.t If this still fails please send me the output.
Download (untitled) / with headers
text/plain 444b
Am Mi 30. Apr 2014, 08:42:42, markus.ziermann@atos.net schrieb: Show quoted text
> Did you mean C:\strawberry\cpan\sources\modules by 'module folder'?
It looks like the test pass if they are called directly. I consider this as just another strange interaction between the fork emulation on Windows (see perlfork), test test driver and the tests. This happens for other tests sometimes too but only on Windows. I have to see how to make this behave more stable.
Download (untitled) / with headers
text/plain 226b
Show quoted text
> for other tests sometimes too but only on Windows. I have to see how > to make this behave more stable.
Since then several changes were made. I close this request in the hope that things got more stable in the mean time.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.