Date: | Mon, 09 Jan 2006 23:51:53 +0000 |
From: | Alan Burlison <Alan.Burlison [...] sun.com> |
To: | Perl 5 Porters <perl5-porters [...] perl.org>, maddingue [...] free.fr, bug-sys-syslog [...] rt.cpan.org |
Subject: | Sys::Syslog blows up rather spectacularly on Solaris |
I'm in the process of upgrading the Sys::Syslog we ship with Solaris in
conjunction with applying the sprintf patch, and Sys::Syslog 0.12 from
CPAN goes bang bigtime during 'make test' . If I apply the sprintf
patch, do I need to bother with updating Sys::Syslog as well? If so,
should I use the 0.6 version from the perl 5.8.7 tarball instead of the
broken one on CPAN?
--
Alan Burlison
--
Running make test
PERL_DL_NONLAZY=1 /usr/perl5/5.8.4/bin/perl "-MExtUtils::Command::MM"
"-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load......# Testing Sys::Syslog 0.12, Perl 5.008004,
/usr/perl5/5.8.4/bin/perl
t/00-load......ok
t/constants....Use of uninitialized value in pattern match (m//) at
t/constants.t line 30.
Use of uninitialized value in pattern match (m//) at t/constants.t line 30.
Use of uninitialized value in pattern match (m//) at t/constants.t line 30.
Use of uninitialized value in pattern match (m//) at t/constants.t line 30.
t/constants....ok
4/78 skipped: irrelevant test in this case
t/distchk......skipped
all skipped: Test::Distribution required for checking distribution
t/pod..........skipped
all skipped: Test::Pod 1.14 required for testing POD
t/podcover.....skipped
all skipped: Test::Pod::Coverage 1.06 required for testing POD
coverage
t/podspell.....skipped
all skipped: Test::Spelling required for testing POD spell
t/portfs.......skipped
all skipped: Test::Portability::Files required for testing
filenames portability
t/syslog.......ok 1/119unix dgram connect: Socket operation on
non-socket at t/syslog.t line 101
getservbyname failed for tcp at t/syslog.t line 101
Use of uninitialized value in subroutine entry at
/usr/perl5/5.8.4/lib/i86pc-solaris-64int/Socket.pm line 373.
# Failed test 'openlog() called with facility 'local0' with option
'ndelay''
# in t/syslog.t at line 103.
# got: 'Bad arg length for Socket::pack_sockaddr_in, length is
0, should be 4 at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/Socket.pm
line 373.
# '
# expected: ''
# Failed test 'openlog() should return true: '0''
# in t/syslog.t at line 104.
Use of uninitialized value in subroutine entry at
/usr/perl5/5.8.4/lib/i86pc-solaris-64int/Socket.pm line 373.
# Failed test 'syslog() called with level 'info''
# in t/syslog.t at line 108.
# got: 'Bad arg length for Socket::pack_sockaddr_in, length is
0, should be 4 at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/Socket.pm
line 373.
# '
# expected: ''
# Failed test 'syslog() should return true: '0''
# in t/syslog.t at line 109.
Use of uninitialized value in subroutine entry at
/usr/perl5/5.8.4/lib/i86pc-solaris-64int/Socket.pm line 373.
# Failed test 'syslog() called with level 'info''
# in t/syslog.t at line 113.
# got: 'Bad arg length for Socket::pack_sockaddr_in, length is
0, should be 4 at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/Socket.pm
line 373.
# '
# expected: ''
# Failed test 'syslog() should return true: '0''
# in t/syslog.t at line 114.
# Looks like you failed 6 tests of 119.
t/syslog.......dubious
Test returned status 6 (wstat 1536, 0x600)
DIED. FAILED tests 81-86
Failed 6/119 tests, 94.96% okay (less 38 skipped tests: 75
okay, 63.03%)Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/syslog.t 6 1536 119 6 5.04% 81-86
5 tests and 42 subtests skipped.
Failed 1/8 test scripts, 87.50% okay. 6/198 subtests failed, 96.97% okay.
*** Error code 6
make: Fatal error: Command failed for target `test_dynamic'
/usr/ccs/bin/make test -- NOT OK