Skip Menu |

This queue is for tickets about the RDF-Simple CPAN distribution.

Report information
The Basics
Id: 30605
Status: resolved
Priority: 0/
Queue: RDF-Simple

People
Owner: MTHURN [...] cpan.org
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

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



Subject: Test failes with "Unable to provide required features"
PERL_DL_NONLAZY=1 /home/src/perl/repoperls/installed-perls/perl/pcwzNIg/perl-5.8.0@32213/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/001_load........ok t/002_simple......Unable to provide required features # Looks like your test died before it could output anything. dubious ^ITest returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-2 ^IFailed 2/2 tests, 0.00% okay t/003_uri.........Unable to provide required features # Looks like your test died just after 1. dubious ^ITest returned status 255 (wstat 65280, 0xff00) ^Iafter all the subtests completed successfully t/004_uri_file....Unable to provide required features # Looks like your test died before it could output anything. dubious ^ITest returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-2 ^IFailed 2/2 tests, 0.00% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/002_simple.t 255 65280 2 4 1-2 t/003_uri.t 255 65280 1 0 ?? t/004_uri_file.t 255 65280 2 4 1-2 Failed 3/4 test scripts. 4/9 subtests failed. Files=4, Tests=9, 2 wallclock secs ( 0.72 cusr + 0.08 csys = 0.80 CPU) Failed 3/4 test programs. 4/9 subtests failed. make[3]: *** [test_dynamic] Error 255 make[3]: Leaving directory `/home/sand/.cpan/build/RDF-Simple-0.3-NsEpBz' (/usr/bin/make test exited with 512) CPAN::Reporter: Test result is 'fail', One or more tests failed. Let me know if I can provide more info Thanks,
I forgot to mention that this failure is not reproducable reliably. I have seen it more than once with recent perls but it comes and goes. I'd wish the error message would be a bit more explicit. Then I knew where to look or how to reproduce the error.
I grepped for the error message and found it in GRANTM/XML-SAX-0.16.tar.gz: ./SAX/ParserFactory.pm: Message => "Unable to provide required features", In context: throw XML::SAX::Exception ( Message => "Unable to provide required features", ); I suppose the test fails with this cryptic error message when no XML Parser is available. So can be resolved by installing one. Usually by the time I see the error, somebody has installled an XML parser, so I cannot reproduce the error.
From: bitcard [...] larochelle.name
On Sun Dec 09 05:52:30 2007, ANDK wrote: Show quoted text
> I grepped for the error message and found it in
GRANTM/XML-SAX-0.16.tar.gz: Show quoted text
> > ./SAX/ParserFactory.pm: Message => "Unable to provide > required features", > > In context: > > throw XML::SAX::Exception ( > Message => "Unable to provide required features", > ); > > I suppose the test fails with this cryptic error message when no XML > Parser is available. So can be resolved by installing one. Usually by > the time I see the error, somebody has installled an XML parser, so I > cannot reproduce the error. >
On Ubuntu 8.10 I had to add a simlink from /etc/perl/XML/SAX/ParserDetails.ini to /usr/local/share/perl/5.10.0/XML/SAX/ParserDetails.ini I think the program was that some module were installed through APT and some were installed through C-PAN and thing were getting confused. Step to make this work on Ubuntu: 1.) cpan install XML::SAX 2.) sudo ln -s /etc/perl/XML/SAX/ParserDetails.ini /usr/local/share/perl/5.10.0/XML/SAX/ParserDetails.ini cpan install
From: bitcard [...] larochelle.name
On Sun Dec 09 05:52:30 2007, ANDK wrote: Show quoted text
> I grepped for the error message and found it in
GRANTM/XML-SAX-0.16.tar.gz: Show quoted text
> > ./SAX/ParserFactory.pm: Message => "Unable to provide > required features", > > In context: > > throw XML::SAX::Exception ( > Message => "Unable to provide required features", > ); > > I suppose the test fails with this cryptic error message when no XML > Parser is available. So can be resolved by installing one. Usually by > the time I see the error, somebody has installled an XML parser, so I > cannot reproduce the error. >
On Ubuntu 8.10 I had to add a simlink from /etc/perl/XML/SAX/ParserDetails.ini to /usr/local/share/perl/5.10.0/XML/SAX/ParserDetails.ini I think the program was that some module were installed through APT and some were installed through C-PAN and thing were getting confused. Step to make this work on Ubuntu: 1.) cpan install XML::SAX 2.) sudo ln -s /etc/perl/XML/SAX/ParserDetails.ini /usr/local/share/perl/5.10.0/XML/SAX/ParserDetails.ini 3.) cpan install
Subject: Test fails with "Unable to provide required features"
I improved the tests to detect this situation and give a message to the user. I don't have a way to test it though.
From: Romain Loth
FYI I couldn't make it work with the simlink above, but I followed the advice at http://perl-xml.sourceforge.net/faq/#parserdetails.ini and simply installed XML::SAX::Expat which solved the problem. Versions : Ubuntu ---------- 9.10 Perl ------------ 5.10.0 XML::SAX -------- 0.96 XML::SAX::Expat - 0.40 RDF::Simple ----- 0.415
Subject: RDF-Simple_install-log.txt
cpan[6]> install RDF::Simple Running install for module 'RDF::Simple' Running make for M/MT/MTHURN/RDF-Simple-0.415.tar.gz Has already been unwrapped into directory /home/romain/.cpan/build/RDF-Simple-0.415-NLXHns Has already been made Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/001_load.............ok t/coverage.............Unable to provide required features # Looks like your test died just after 7. t/coverage.............dubious Test returned status 255 (wstat 65280, 0xff00) after all the subtests completed successfully t/empty................Unable to provide required features # Looks like your test died just after 1. t/empty................dubious Test returned status 255 (wstat 65280, 0xff00) after all the subtests completed successfully t/from_file............ok 1/0Unable to provide required features # Looks like your test died just after 5. t/from_file............dubious Test returned status 255 (wstat 65280, 0xff00) after all the subtests completed successfully t/long.................ok 1/0Unable to provide required features # Looks like your test died just after 1. t/long.................dubious Test returned status 255 (wstat 65280, 0xff00) after all the subtests completed successfully t/multi-class..........ok 1/0Unable to provide required features # Looks like your test died just after 5. t/multi-class..........dubious Test returned status 255 (wstat 65280, 0xff00) after all the subtests completed successfully t/pod..................ok t/rt-44879-resource....Unable to provide required features # Looks like your test died just after 2. t/rt-44879-resource....dubious Test returned status 255 (wstat 65280, 0xff00) after all the subtests completed successfully t/rt46956..............ok 1/0Unable to provide required features # Looks like your test died just after 2. t/rt46956..............dubious Test returned status 255 (wstat 65280, 0xff00) after all the subtests completed successfully t/uri..................ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/coverage.t 255 65280 7 0 ?? t/empty.t 255 65280 1 0 ?? t/from_file.t 255 65280 5 0 ?? t/long.t 255 65280 1 0 ?? t/multi-class.t 255 65280 5 0 ?? t/rt-44879-resource.t 255 65280 2 0 ?? t/rt46956.t 255 65280 2 0 ?? Failed 7/10 test scripts. 0/35 subtests failed. Files=10, Tests=35, 1 wallclock secs ( 0.68 cusr + 0.09 csys = 0.77 CPU) Failed 7/10 test programs. 0/35 subtests failed. make: *** [test_dynamic] Erreur 255 MTHURN/RDF-Simple-0.415.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports MTHURN/RDF-Simple-0.415.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: MTHURN/RDF-Simple-0.415.tar.gz : make_test NO cpan[7]> install XML::SAX XML::SAX is up to date (0.96). cpan[8]> exit Terminal does not support GetHistory. Lockfile removed. ~ > sudo cpan XML::SAX::Expat CPAN: Storable loaded ok (v2.18) Going to read /home/romain/.cpan/Metadata Database was generated on Thu, 14 Jan 2010 16:31:09 GMT CPAN: YAML loaded ok (v0.70) Going to read /home/romain/.cpan/build/ ............................................................................DONE Found 19 old builds, restored the state of 19 Running install for module 'XML::SAX::Expat' Running make for B/BJ/BJOERN/XML-SAX-Expat-0.40.tar.gz CPAN: LWP::UserAgent loaded ok (v5.829) CPAN: Time::HiRes loaded ok (v1.9711) I would like to connect to one of the following sites to get 'authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.40.tar.gz': http://www.perl.org/CPAN/ ftp://ftp.perl.org/pub/CPAN/ Is it OK to try to connect to the Internet? [yes] yes Fetching with LWP: http://www.perl.org/CPAN/authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.40.tar.gz CPAN: Digest::SHA loaded ok (v5.45) Fetching with LWP: http://www.perl.org/CPAN/authors/id/B/BJ/BJOERN/CHECKSUMS Checksum for /home/romain/.cpan/sources/authors/id/B/BJ/BJOERN/XML-SAX-Expat-0.40.tar.gz ok XML-SAX-Expat-0.40/ XML-SAX-Expat-0.40/Changes XML-SAX-Expat-0.40/eg/ XML-SAX-Expat-0.40/eg/counter.pl XML-SAX-Expat-0.40/Expat.pm XML-SAX-Expat-0.40/Makefile.PL XML-SAX-Expat-0.40/MANIFEST XML-SAX-Expat-0.40/META.yml XML-SAX-Expat-0.40/t/ XML-SAX-Expat-0.40/t/00basic.t XML-SAX-Expat-0.40/t/98podsyn.t XML-SAX-Expat-0.40/t/99podcov.t CPAN: File::Temp loaded ok (v0.18) CPAN.pm: Going to build B/BJ/BJOERN/XML-SAX-Expat-0.40.tar.gz Checking if your kit is complete... Looks good Writing Makefile for XML::SAX::Expat cp Expat.pm blib/lib/XML/SAX/Expat.pm Manifying blib/man3/XML::SAX::Expat.3pm BJOERN/XML-SAX-Expat-0.40.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00basic.....ok t/98podsyn....ok t/99podcov....skipped all skipped: Test::Pod::Coverage required for testing pod coverage All tests successful, 1 test skipped. Files=3, Tests=2, 1 wallclock secs ( 0.09 cusr + 0.02 csys = 0.11 CPU) BJOERN/XML-SAX-Expat-0.40.tar.gz /usr/bin/make test -- OK Running make install Prepending /home/romain/.cpan/build/XML-SAX-Expat-0.40-8KMKU3/blib/arch /home/romain/.cpan/build/XML-SAX-Expat-0.40-8KMKU3/blib/lib to PERL5LIB for 'install' Manifying blib/man3/XML::SAX::Expat.3pm Installing /usr/local/share/perl/5.10.0/XML/SAX/Expat.pm Installing /usr/local/man/man3/XML::SAX::Expat.3pm Writing /usr/local/lib/perl/5.10.0/auto/XML/SAX/Expat/.packlist Appending installation info to /usr/local/lib/perl/5.10.0/perllocal.pod could not find ParserDetails.ini in /usr/local/share/perl/5.10.0/XML/SAX BJOERN/XML-SAX-Expat-0.40.tar.gz /usr/bin/make install -- OK ~ > sudo cpan RDF::Simple CPAN: Storable loaded ok (v2.18) Going to read /home/romain/.cpan/Metadata Database was generated on Thu, 14 Jan 2010 16:31:09 GMT CPAN: YAML loaded ok (v0.70) Going to read /home/romain/.cpan/build/ ............................................................................DONE Found 20 old builds, restored the state of 20 Running install for module 'RDF::Simple' Running make for M/MT/MTHURN/RDF-Simple-0.415.tar.gz Has already been unwrapped into directory /home/romain/.cpan/build/RDF-Simple-0.415-NLXHns Has already been made Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/001_load.............ok t/coverage.............ok 1/0no rdf triples found in document! at /home/romain/.cpan/build/RDF-Simple-0.415-NLXHns/blib/lib/RDF/Simple/Parser/Handler.pm line 213. t/coverage.............ok t/empty................ok t/from_file............ok t/long.................ok t/multi-class..........ok t/pod..................ok t/rt-44879-resource....ok t/rt46956..............ok t/uri..................ok All tests successful. Files=10, Tests=51, 1 wallclock secs ( 0.91 cusr + 0.12 csys = 1.03 CPU) MTHURN/RDF-Simple-0.415.tar.gz /usr/bin/make test -- OK Running make install Prepending /home/romain/.cpan/build/RDF-Simple-0.415-NLXHns/blib/arch /home/romain/.cpan/build/RDF-Simple-0.415-NLXHns/blib/lib to PERL5LIB for 'install' Installing /usr/local/share/perl/5.10.0/RDF/Simple.pm Installing /usr/local/share/perl/5.10.0/RDF/Simple/NS.pm Installing /usr/local/share/perl/5.10.0/RDF/Simple/Serialiser.pm Installing /usr/local/share/perl/5.10.0/RDF/Simple/Parser.pm Installing /usr/local/share/perl/5.10.0/RDF/Simple/Serializer.pm Installing /usr/local/share/perl/5.10.0/RDF/Simple/Parser/Handler.pm Installing /usr/local/share/perl/5.10.0/RDF/Simple/Parser/Attribs.pm Installing /usr/local/share/perl/5.10.0/RDF/Simple/Parser/Element.pm Installing /usr/local/man/man3/RDF::Simple::Serialiser.3pm Installing /usr/local/man/man3/RDF::Simple::Parser.3pm Installing /usr/local/man/man3/RDF::Simple::Serializer.3pm Installing /usr/local/man/man3/RDF::Simple::Parser::Handler.3pm Installing /usr/local/man/man3/RDF::Simple::NS.3pm Installing /usr/local/man/man3/RDF::Simple.3pm Writing /usr/local/lib/perl/5.10.0/auto/RDF/Simple/.packlist Appending installation info to /usr/local/lib/perl/5.10.0/perllocal.pod MTHURN/RDF-Simple-0.415.tar.gz /usr/bin/make install -- OK
Subject: RE: [rt.cpan.org #30605] Test fails with "Unable to provide required features"
Date: Sat, 16 Jan 2010 07:47:13 -0500
To: <bug-RDF-Simple [...] rt.cpan.org>
From: Martin Thurn <kingpin [...] dcswcc.com>
Thank you for the additional report and info! - - Martin
I've done all I can to capture/report/inform about this error message. I am going to mark this as resolved until/unless it gets reported again 8-)