Subject: | Make Test Fails In Mandrake 9.2 |
I have tried to install XML::Mini to grt vocp running on my machine, the install fails through MCPAN and manually. I cannot find any other reference to an make test failing. Please let me know if you have seen this before. My machine is running Mandrake 9.2 w/Perl 5.8
Dave
PS Here is the output from an install session
[root@XX.XX XML-Mini-1.2.8]# perl -MCPAN -e 'install XML::Mini' CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 19 Jan 2004 09:53:11 GMT
Running install for module XML::Mini
Running make for P/PD/PDEEGAN/XML-Mini-1.2.8.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/P/PD/PDEEGAN/XML-Mini-1.2.8.tar.gz ok
Scanning cache /root/.cpan/build for sizes
XML-Mini-1.2.8/
XML-Mini-1.2.8/Changes
XML-Mini-1.2.8/INSTALL
XML-Mini-1.2.8/lib/
XML-Mini-1.2.8/lib/XML/
XML-Mini-1.2.8/lib/XML/Mini/
XML-Mini-1.2.8/lib/XML/Mini/Document.pm
XML-Mini-1.2.8/lib/XML/Mini/TreeComponent.pm
XML-Mini-1.2.8/lib/XML/Mini/Node.pm
XML-Mini-1.2.8/lib/XML/Mini/Element.pm
XML-Mini-1.2.8/lib/XML/Mini/Element/
XML-Mini-1.2.8/lib/XML/Mini/Element/Comment.pm
XML-Mini-1.2.8/lib/XML/Mini/Element/Entity.pm
XML-Mini-1.2.8/lib/XML/Mini/Element/CData.pm
XML-Mini-1.2.8/lib/XML/Mini/Element/DocType.pm
XML-Mini-1.2.8/lib/XML/Mini/Element/Header.pm
XML-Mini-1.2.8/lib/XML/Mini.pm
XML-Mini-1.2.8/Makefile.PL
XML-Mini-1.2.8/MANIFEST
XML-Mini-1.2.8/README
XML-Mini-1.2.8/t/
XML-Mini-1.2.8/t/01parseable.t
XML-Mini-1.2.8/t/sample/
XML-Mini-1.2.8/t/sample/vocpboxes.xml
XML-Mini-1.2.8/t/sample/xnested.xml
XML-Mini-1.2.8/t/02parsexml.t
XML-Mini-1.2.8/t/03genxml.t
XML-Mini-1.2.8/t/04crossnested.t
XML-Mini-1.2.8/t/05parsefunc.t
XML-Mini-1.2.8/t/06getelem.t
XML-Mini-1.2.8/t/07ToFromHash.t
XML-Mini-1.2.8/LICENSE
Removing previously used /root/.cpan/build/XML-Mini-1.2.8
CPAN.pm: Going to build P/PD/PDEEGAN/XML-Mini-1.2.8.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for XML::Mini
cp lib/XML/Mini/Element/Comment.pm blib/lib/XML/Mini/Element/Comment.pm
cp lib/XML/Mini/Element.pm blib/lib/XML/Mini/Element.pm
cp lib/XML/Mini/Element/Entity.pm blib/lib/XML/Mini/Element/Entity.pm
cp lib/XML/Mini/Node.pm blib/lib/XML/Mini/Node.pm
cp lib/XML/Mini/Element/CData.pm blib/lib/XML/Mini/Element/CData.pm
cp lib/XML/Mini/Document.pm blib/lib/XML/Mini/Document.pm
cp lib/XML/Mini.pm blib/lib/XML/Mini.pm
cp lib/XML/Mini/Element/DocType.pm blib/lib/XML/Mini/Element/DocType.pm
cp lib/XML/Mini/TreeComponent.pm blib/lib/XML/Mini/TreeComponent.pm
cp lib/XML/Mini/Element/Header.pm blib/lib/XML/Mini/Element/Header.pm
Manifying blib/man3/XML::Mini::Element::Header.3pm
Manifying blib/man3/XML::Mini.3pm
Manifying blib/man3/XML::Mini::Element.3pm
Manifying blib/man3/XML::Mini::TreeComponent.3pm
Manifying blib/man3/XML::Mini::Element::CData.3pm
Manifying blib/man3/XML::Mini::Element::Comment.3pm
Manifying blib/man3/XML::Mini::Document.3pm
Manifying blib/man3/XML::Mini::Element::DocType.3pm
Manifying blib/man3/XML::Mini::Element::Entity.3pm
Manifying blib/man3/XML::Mini::Node.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.1 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01parseable......ok
t/02parsexml.......NOK 2# Failed test 2 in t/02parsexml.t at line 21
# t/02parsexml.t line 21 is: my $vocpBoxList = $miniXML->getElementByPath('VOCPBoxConfig/boxList') || ok(0);
t/02parsexml.......ok 3/46Can't call method "numChildren" without a package or object reference at t/02parsexml.t line 24.
t/02parsexml.......dubious
Test returned status 255 (wstat 65280, 0xff00)
Scalar found where operator expected at (eval 153) line 1, near "'int' $__val"
(Missing operator before $__val?)
DIED. FAILED tests 2, 4-46
Failed 44/46 tests, 4.35% okay
t/03genxml.........ok
t/04crossnested....Name "XML::Mini::AutoEscapeEntities" used only once: possible typo at t/04crossnested.t line 21.
t/04crossnested....NOK 2# Test 2 got: '<?xml version="1.0"?>
<?xml-stylesheet href="doc.xsl" type="text/xsl"?>
<!--
this test checks cross nested tags, ie <a><b><a>..</a></b></a>
-->
<methodResponse>
<params>
<param>
<value>
<array>
<data>
<value>
<i4>
12
</i4>
</value>
<value>
<string>
Egypt
</string>
</value>
<value>
<boolean>
0
</boolean>
</value>
<value>
<data>
<value>
<data>
<value>
<i4>
-31
</i4>
</value>
</data>
</value>
</data>
</value>
</data>
</array>
</value>
</param>
</params>
</methodResponse>
' (t/04crossnested.t at line 38)
# Expected: '<? />
<? href="doc.xsl" />
<! />
<methodResponse>
<params>
<param>
<value>
<array>
<data>
<value>
<i4>
12
</i4>
</value>
<value>
<string>
Egypt
</string>
</value>
<value>
<boolean>
0
</boolean>
</value>
<value>
<data>
<value>
<data>
<value>
<i4>
-31
</i4>
</value>
</data>
</value>
</data>
</value>
</data>
</array>
</value>
</param>
</params>
</methodResponse>
'
# t/04crossnested.t line 38 is: skip($textBalancedUnavail, $sampleFile, $xmlOut);
t/04crossnested....FAILED test 2
Failed 1/2 tests, 50.00% okay
t/05parsefunc......ok
t/06getelem........NOK 2# Failed test 2 in t/06getelem.t at line 31
# t/06getelem.t line 31 is: my $name1 = $miniXML->getElement('person')->getValue() || ok(0);
t/06getelem........NOK 3# Test 3 got: '0' (t/06getelem.t at line 33)
# Expected: 'bob'
# t/06getelem.t line 33 is: ok($name1, 'bob');
t/06getelem........ok 4/5Can't call method "getValue" on an undefined value at t/06getelem.t line 40.
t/06getelem........dubious
Test returned status 9 (wstat 2304, 0x900)
DIED. FAILED tests 2-3, 5
Failed 3/5 tests, 40.00% okay
t/07ToFromHash.....ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/02parsexml.t 255 65280 46 87 189.13% 2 4-46
t/04crossnested.t 2 1 50.00% 2
t/06getelem.t 9 2304 5 4 80.00% 2-3 5
Failed 3/7 test scripts, 57.14% okay. 48/170 subtests failed, 71.76% okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force