This test failure is actually due to a bug in XML::SAX::RTF
(which has been reported to the author).  The problem is that
XML::SAX::RTF incorrectly registers itself as an XML parser.
Since it is the most recently registered module it is the
default.

The fix is to edit this file:

  /usr/lib/perl5/site_perl/.../XML/SAX/ParserDetails.ini

And completely remove the section relating to XML::SAX::RTF.
(This won't stop XML::SAX::RTF performing its real job -
parsing RTF files and generating SAX events).

Regards
Grant

root wrote:
This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible. See
http://testers.cpan.org/

Please cc any replies to [EMAIL PROTECTED] to keep other
test volunteers informed and to prevent any duplicate effort.

--
This is an error report generated automatically by CPANPLUS,
version 0.042.

Below is the error stack during 'make test':

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/0_Config........# # Package Version
# perl 5.6.1
# XML::Simple 2.03
# XML::Parser 2.31
# XML::SAX 0.12
# XML::NamespaceSupport 1.08
# XML::SAX::PurePerl 0.90
# XML::SAX::RTF 0.1 (default parser)
ok
t/1_XMLin.........Can't use string ("") as an ARRAY ref while "strict refs" in use at /usr/local/.cpanplus/5.6.1/build/XML-Simple-2.03/blib/lib/XML/Simple.pm line 216.
# Looks like you planned 66 tests but only ran 1.
# Looks like your test died just after 1.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-66
Failed 65/66 tests, 1.52% okay
t/2_XMLout........Can't use string ("") as an ARRAY ref while "strict refs" in use at /usr/local/.cpanplus/5.6.1/build/XML-Simple-2.03/blib/lib/XML/Simple.pm line 216.
# Looks like you planned 174 tests but only ran 2.
# Looks like your test died just after 2.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-174
Failed 172/174 tests, 1.15% okay
t/3_Storable......No _parse_* routine defined on this driver (if it a filter, remember to set the Parent property) [XML::SAX::RTF=HASH(0x8292430)] at /usr/lib/perl5/site_perl/5.6.1/XML/SAX/Base.pm line 2138.
# Looks like you planned 20 tests but only ran 2.
# Looks like your test died just after 2.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-20
Failed 18/20 tests, 10.00% okay
t/4_MemShare......No _parse_* routine defined on this driver (if it a filter, remember to set the Parent property) [XML::SAX::RTF=HASH(0x821030c)] at /usr/lib/perl5/site_perl/5.6.1/XML/SAX/Base.pm line 2138.
# Looks like you planned 8 tests but only ran 1.
# Looks like your test died just after 1.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-8
Failed 7/8 tests, 12.50% okay
t/5_MemCopy.......No _parse_* routine defined on this driver (if it a filter, remember to set the Parent property) [XML::SAX::RTF=HASH(0x828e970)] at /usr/lib/perl5/site_perl/5.6.1/XML/SAX/Base.pm line 2138.
# Looks like you planned 7 tests but only ran 1.
# Looks like your test died just after 1.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-7
Failed 6/7 tests, 14.29% okay
t/6_ObjIntf.......Can't use string ("") as an ARRAY ref while "strict refs" in use at /usr/local/.cpanplus/5.6.1/build/XML-Simple-2.03/blib/lib/XML/Simple.pm line 212.
# Looks like you planned 27 tests but only ran 3.
# Looks like your test died just after 3.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-27
Failed 24/27 tests, 11.11% okay
t/7_SaxStuff......No _parse_* routine defined on this driver (if it a filter, remember to set the Parent property) [XML::SAX::RTF=HASH(0x8356dcc)] at /usr/lib/perl5/site_perl/5.6.1/XML/SAX/Base.pm line 2138.
# Looks like you planned 13 tests but only ran 2.
# Looks like your test died just after 2.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-13
Failed 11/13 tests, 15.38% okay
t/8_Namespaces....Can't use string ("") as an ARRAY ref while "strict refs" in use at /usr/local/.cpanplus/5.6.1/build/XML-Simple-2.03/blib/lib/XML/Simple.pm line 216.
# Looks like your test died before it could output anything.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
Failed 7/7 tests, 0.00% okay
t/9_Strict........# Failed test (t/9_Strict.t at line 25)
# got: 'Can't use string ("") as an ARRAY ref while "strict refs" in use at /usr/local/.cpanplus/5.6.1/build/XML-Simple-2.03/blib/lib/XML/Simple.pm line 216.
# '
# expected: ''
# Failed test (t/9_Strict.t at line 29)
# got: ''
# expected: 'name1 name2'
# Failed test (t/9_Strict.t at line 89)
# 'Can't use string ("") as an ARRAY ref while "strict refs" in use at /usr/local/.cpanplus/5.6.1/build/XML-Simple-2.03/blib/lib/XML/Simple.pm line 216.
# '
# doesn't match '(?-xism:<part> element has no 'partnum' key attribute)'
# Failed test (t/9_Strict.t at line 109)
# 'Can't use string ("") as an ARRAY ref while "strict refs" in use at /usr/local/.cpanplus/5.6.1/build/XML-Simple-2.03/blib/lib/XML/Simple.pm line 216.
# '
# doesn't match '(?-xism:<item> element has non-scalar 'name' key attribute)'
# Failed test (t/9_Strict.t at line 166)
# got: 'Can't use string ("") as an ARRAY ref while "strict refs" in use at /usr/local/.cpanplus/5.6.1/build/XML-Simple-2.03/blib/lib/XML/Simple.pm line 216.
# '
# expected: ''
# Failed test (t/9_Strict.t at line 170)
# got: ''
# expected: 'name1 name2'
# Failed test (t/9_Strict.t at line 239)
# 'Can't use string ("") as an ARRAY ref while "strict refs" in use at /usr/local/.cpanplus/5.6.1/build/XML-Simple-2.03/blib/lib/XML/Simple.pm line 216.
# '
# doesn't match '(?-xism:<part> element has no 'partnum' key attribute)'
# Failed test (t/9_Strict.t at line 261)
# 'Can't use string ("") as an ARRAY ref while "strict refs" in use at /usr/local/.cpanplus/5.6.1/build/XML-Simple-2.03/blib/lib/XML/Simple.pm line 216.
# '
# doesn't match '(?-xism:<item> element has non-scalar 'name' key attribute)'
# Looks like you failed 8 tests of 37.
dubious
Test returned status 8 (wstat 2048, 0x800)
DIED. FAILED tests 2-3, 13, 15, 20-21, 31, 33
Failed 8/37 tests, 78.38% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/1_XMLin.t 255 65280 66 65 98.48% 2-66
t/2_XMLout.t 255 65280 174 172 98.85% 3-174
t/3_Storable.t 255 65280 20 18 90.00% 3-20
t/4_MemShare.t 255 65280 8 7 87.50% 2-8
t/5_MemCopy.t 255 65280 7 6 85.71% 2-7
t/6_ObjIntf.t 255 65280 27 24 88.89% 4-27
t/7_SaxStuff.t 255 65280 13 11 84.62% 3-13
t/8_Namespaces.t 255 65280 7 7 100.00% 1-7
t/9_Strict.t 8 2048 37 8 21.62% 2-3 13 15 20-21 31 33
Failed 9/10 test scripts, 10.00% okay. 318/360 subtests failed, 11.67% okay.
make: *** [test_dynamic] Error 2


Additional comments:

--

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.17-0.13smp, archname=i386-linux
uname='linux daffy.perf.redhat.com 2.4.17-0.13smp #1 smp fri feb 1 10:30:48 est 2002 i686 unknown '
config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dcccdlflags=-fPIC -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Uusethreads -Uuseithreads -Uuselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Di_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include',
optimize='-O2 -march=i386 -mcpu=i686',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.2 2.96-109)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
libc=/lib/libc-2.2.5.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'



Reply via email to