Skip Menu |

This queue is for tickets about the XML-Generator CPAN distribution.

Report information
The Basics
Id: 6361
Status: open
Priority: 0/
Queue: XML-Generator

People
Owner: Nobody in particular
Requestors: ian [...] hugletech.com
Cc:
AdminCc:

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



Subject: Error in make test
This is the error message: Running make test PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/DOM..........ok 25/35Undefined subroutine &XML::DOM::DocumentType called at /usr/lib/perl5/vendor_perl/5.6.1/XML/DOM.pm line 3475. t/DOM..........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 26-35 Failed 10/35 tests, 71.43% okay t/Generator....ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/DOM.t 255 65280 35 20 57.14% 26-35 Failed 1/2 test scripts, 50.00% okay. 10/130 subtests failed, 92.31% okay. make: *** [test_dynamic] Error 11 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force I'm running Redhat7.3, perl v5.6.1, Linux 2.4.20-20.7.
Thanks for the bug report. I think this is caused by a very old version of XML::DOM; can you confirm what version you have installed? Also, what version of XML::Generator are you trying to install? Thanks again, Benjamin Holzman [guest - Wed May 19 09:01:44 2004]: Show quoted text
> This is the error message: > > Running make test > PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib > -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -e 'use > Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' > t/*.t > t/DOM..........ok 25/35Undefined subroutine &XML::DOM::DocumentType > called at /usr/lib/perl5/vendor_perl/5.6.1/XML/DOM.pm line 3475. > t/DOM..........dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 26-35 > Failed 10/35 tests, 71.43% okay > t/Generator....ok > Failed Test Stat Wstat Total Fail Failed List of Failed > ----------------------------------------------------------------------
--------- Show quoted text
> t/DOM.t 255 65280 35 20 57.14% 26-35 > Failed 1/2 test scripts, 50.00% okay. 10/130 subtests failed, 92.31% > okay. > make: *** [test_dynamic] Error 11 > /usr/bin/make test -- NOT OK > Running make install > make test had returned bad status, won't install without force > > > I'm running Redhat7.3, perl v5.6.1, Linux 2.4.20-20.7. >
From: ian [...] hugletech.com
I don't know anything about perl. I was just trying to install Bundle::CVSMonitor and this happened. How do I get the version of XML::DOM??? the version of XML::Generator is 0.99. [BHOLZMAN - Wed May 19 09:11:48 2004]: Show quoted text
> Thanks for the bug report. I think this is caused by a very old > version of XML::DOM; can you confirm what version you have installed? > Also, what version of XML::Generator are you trying to install? > > Thanks again, > > Benjamin Holzman > [guest - Wed May 19 09:01:44 2004]: >
> > This is the error message: > > > > Running make test > > PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib > > -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -e 'use > > Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' > > t/*.t > > t/DOM..........ok 25/35Undefined subroutine &XML::DOM::DocumentType > > called at /usr/lib/perl5/vendor_perl/5.6.1/XML/DOM.pm line 3475. > > t/DOM..........dubious > > Test returned status 255 (wstat 65280, 0xff00) > > DIED. FAILED tests 26-35 > > Failed 10/35 tests, 71.43% okay > > t/Generator....ok > > Failed Test Stat Wstat Total Fail Failed List of Failed > >
> ---------------------------------------------------------------------- > ---------
> > t/DOM.t 255 65280 35 20 57.14% 26-35 > > Failed 1/2 test scripts, 50.00% okay. 10/130 subtests failed, 92.31% > > okay. > > make: *** [test_dynamic] Error 11 > > /usr/bin/make test -- NOT OK > > Running make install > > make test had returned bad status, won't install without force > > > > > > I'm running Redhat7.3, perl v5.6.1, Linux 2.4.20-20.7. > >
> >
Gotcha. Well, you can get the version of XML::DOM like this: $ perl -MXML::DOM -le 'print $XML::DOM::VERSION' For your purposes, though, you might want to just force the installation of XML::Generator, since you almost surely do not need the XML::Generator::DOM part of XML::Generator. This should do the trick: $ perl -MCPAN -eshell Show quoted text
cpan> force install XML::Generator
[guest - Wed May 19 20:25:06 2004]: Show quoted text
> I don't know anything about perl. I was just trying to install > Bundle::CVSMonitor and this happened. How do I get the version of > XML::DOM??? the version of XML::Generator is 0.99. > > > [BHOLZMAN - Wed May 19 09:11:48 2004]:
> > Thanks for the bug report. I think this is caused by a very old > > version of XML::DOM; can you confirm what version you have
> installed?
> > Also, what version of XML::Generator are you trying to install? > > > > Thanks again, > > > > Benjamin Holzman > > [guest - Wed May 19 09:01:44 2004]: > >
> > > This is the error message: > > > > > > Running make test > > > PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib > > > -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -e 'use > > > Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' > > > t/*.t > > > t/DOM..........ok 25/35Undefined subroutine
> &XML::DOM::DocumentType
> > > called at /usr/lib/perl5/vendor_perl/5.6.1/XML/DOM.pm line 3475. > > > t/DOM..........dubious > > > Test returned status 255 (wstat 65280, 0xff00) > > > DIED. FAILED tests 26-35 > > > Failed 10/35 tests, 71.43% okay > > > t/Generator....ok > > > Failed Test Stat Wstat Total Fail Failed List of Failed > > >
> >
> ----------------------------------------------------------------------
> > ---------
> > > t/DOM.t 255 65280 35 20 57.14% 26-35 > > > Failed 1/2 test scripts, 50.00% okay. 10/130 subtests failed,
> 92.31%
> > > okay. > > > make: *** [test_dynamic] Error 11 > > > /usr/bin/make test -- NOT OK > > > Running make install > > > make test had returned bad status, won't install without force > > > > > > > > > I'm running Redhat7.3, perl v5.6.1, Linux 2.4.20-20.7. > > >
> > > >
> >
From: salvejn
[guest - Tue May 25 13:07:16 2004]: The fix may be to require XML::DOM to be of a revision that has a working version of the XML::DOM::DocumentType method. XML::DOM 1.27 gave me the error, 1.44 works fine. I think requiring XML::DOM to be 1.30 might be enough (based on a quick scan of the Changes file, but no testing) YMMV.
Hi. I'm also seeing this, on a fresh perl of version 5.8.5 on redhat. The XML::Generator version is 1.01.