Subject: | IO-Socket-SSL-1.01 Solaris 8 OpenSSL 0.9.8b bug |
Date: | Wed, 8 Nov 2006 13:17:12 -0600 |
To: | bug-IO-Socket-SSL [...] rt.cpan.org |
From: | Kenneth Marshall <ktm [...] rice.edu> |
Dear IO-Socket-SSL maintainer:
I am trying to upgrade from perl-5.8.4 to perl-5.8.8 and am working through
the updated modules. Here is my current system "perl -V" information:
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi
uname='sunos sunos58.build 5.8 generic_117350-11 sun4u sparc sunw,ultraax-i2 '
config_args='-Dprefix=/usr/site/perl-5.8.8 -d -e -O -Duseshrplib -Dusethreads -Dusemultiplicity -Uinstallusrbinperl -Doptimize=-O3 -Ubincompat5005 -Dcc=gcc -Dlocincpth=/usr/site/perl-5.8.8/ext/include -Dloclibpth=/usr/site/perl-5.8.8/lib /usr/site/perl-5.8.8/ext -Accflags=-O3 -Aldflags=-R/usr/site/perl-5.8.8/lib -L/usr/site/perl-5.8.8/ext -R/usr/site/perl-5.8.8/ext -lpthread -lgcc_s'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -O3 -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/site/perl-5.8.8/ext/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O3',
cppflags='-D_REENTRANT -O3 -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/site/perl-5.8.8/ext/include'
ccversion='', gccversion='4.1.0', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -R/usr/site/perl-5.8.8/lib -L/usr/site/perl-5.8.8/ext -R/usr/site/perl-5.8.8/ext -lpthread -lgcc_s -L/usr/site/perl-5.8.8/lib '
libpth=/usr/site/perl-5.8.8/lib /usr/site/perl-5.8.8/ext /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lpthread -lc
perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R /usr/site/perl-5.8.8/lib/5.8.8/sun4-solaris-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-G -R/usr/site/perl-5.8.8/lib -L/usr/site/perl-5.8.8/ext -R/usr/site/perl-5.8.8/ext -L/usr/site/perl-5.8.8/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_REENTRANT_API
Built under solaris
Compiled at Nov 6 2006 09:55:38
@INC:
/usr/site/perl-5.8.8/lib/5.8.8/sun4-solaris-thread-multi
/usr/site/perl-5.8.8/lib/5.8.8
/usr/site/perl-5.8.8/lib/site_perl/5.8.8/sun4-solaris-thread-multi
/usr/site/perl-5.8.8/lib/site_perl/5.8.8
/usr/site/perl-5.8.8/lib/site_perl
.
OS uname -a response:
SunOS sunos58.build 5.8 Generic_117350-11 sun4u sparc SUNW,UltraAX-i2
Module: IO-Socket-SSL-1.01
I am using Net_SSLeay.pm-1.30 built against OpenSSL 0.9.8b. The Net_SSLeay.pm-1.30
build succeeds without any errors at all and all the "make test" tests pass. Here is
what I get when I try to install the IO-Socket-SSL-1.01 module:
IO-Socket-SSL-1.01> make
Manifying blib/man3/IO::Socket::SSL.3
IO-Socket-SSL-1.01> make test
PERL_DL_NONLAZY=1 /usr/site/perl-5.8.8/bin/perl "-MExtUtils::Command::MM" "-e" "
test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01loadmodule.....ok
t/02settings.......ok
t/cert_no_file.....ok
t/compatibility....NOK 3/9Can't locate object method "issuer_name" via package "
IO::Socket::INET" at t/compatibility.t line 49.
t/compatibility....NOK 4/9readline() on closed filehandle GEN1 at t/compatibilit
y.t line 66.
t/compatibility....FAILED tests 2-4, 7-9
Failed 6/9 tests, 33.33% okay
t/core.............FAILED tests 8-53
Failed 46/53 tests, 13.21% okay
t/dhe..............ok
t/nonblock.........ok 1/27sysread() on closed filehandle GEN1 at t/nonblock.t line 303.
Use of uninitialized value in numeric eq (==) at t/nonblock.t line 303.
t/nonblock.........ok 11/27syswrite() on closed filehandle GEN1 at t/nonblock.t line 167.
t/nonblock.........NOK 14/27sysread() on closed filehandle GEN1 at t/nonblock.t line 313.
t/nonblock.........ok 18/27sysread() on closed filehandle GEN2 at t/nonblock.t line 303.
Use of uninitialized value in numeric eq (==) at t/nonblock.t line 303.
syswrite() on closed filehandle GEN2 at t/nonblock.t line 167.
t/nonblock.........NOK 27/27sysread() on closed filehandle GEN2 at t/nonblock.t line 313.
t/nonblock.........FAILED tests 8-10, 12-14, 17, 21, 23-27
Failed 13/27 tests, 51.85% okay
t/readline.........ok
t/sessions.........FAILED tests 9-35
Failed 27/35 tests, 22.86% okay
t/startssl.........NOK 6/9print() on closed filehandle GEN1 at t/startssl.t line 74.
t/startssl.........NOK 8/9readline() on closed filehandle GEN1 at t/startssl.t line 106.
Use of uninitialized value in string ne at t/startssl.t line 108.
t/startssl.........FAILED tests 5-9
Failed 5/9 tests, 44.44% okay
t/sysread_write....ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/compatibility.t 9 6 2-4 7-9
t/core.t 53 46 8-53
t/nonblock.t 27 13 8-10 12-14 17 21 23-27
t/sessions.t 35 27 9-35
t/startssl.t 9 5 5-9
Failed 5/11 test scripts. 97/175 subtests failed.
Files=11, Tests=175, 22 wallclock secs ( 5.75 cusr + 1.54 csys = 7.29 CPU)
Failed 5/11 test programs. 97/175 subtests failed.
make: *** [test_dynamic] Error 29
Do you have any ideas about where to start looking for the problem? I am
mystified since the Net::SSLeay module is working correctly using OpenSSL 0.9.8b.
Is there any more information that I can gather to help debug this problem. Thank
you.
Ken Marshall