Skip Menu |

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

Report information
The Basics
Id: 112647
Status: open
Priority: 0/
Queue: XML-SAX

People
Owner: Nobody in particular
Requestors: pauloedgarcastro [...] gmail.com
Cc:
AdminCc:

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



Subject: Missing Fatal.pm as a dependency.
Date: Wed, 2 Mar 2016 23:49:07 +0000
To: bug-XML-SAX [...] rt.cpan.org
From: Paulo Edgar Castro <pauloedgarcastro [...] gmail.com>
Manifying blib/man3/XML::SAX::PurePerl.3pm Manifying blib/man3/XML::SAX::PurePerl::Reader.3pm GRANTM/XML-SAX-0.99.tar.gz /usr/bin/make -- OK 'YAML' not installed, will not store persistent state Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00basic.t ...... ok t/01known.t ...... ok t/10xmldecl1.t ... ok t/11xmldecl2.t ... ok t/12miscstart.t .. ok t/13int_ent.t .... ok t/14encoding.t ... ok t/15element.t .... ok t/16large.t ...... 1/3 parsed 80085 bytes in 1 seconds t/16large.t ...... ok t/20factory.t .... ok t/21saxini.t ..... Can't locate Fatal.pm in @INC (you may need to install the Fatal module) (@INC contains: /root/.cpan/build/XML-SAX-0.99-4t503m/blib/lib /root/.cpan/build/XML-SAX-0.99-4t503m/blib/arch /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at t/21saxini.t line 6. BEGIN failed--compilation aborted at t/21saxini.t line 6. t/21saxini.t ..... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/40cdata.t ...... ok t/42entities.t ... ok t/99cleanup.t .... ok Test Summary Report ------------------- t/21saxini.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=14, Tests=98, 1 wallclock secs ( 0.05 usr 0.01 sys + 0.84 cusr 0.08 csys = 0.98 CPU) Result: FAIL Failed 1/14 test programs. 0/98 subtests failed. Makefile:908: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255
Fatal.pm is not declared as a dependency because it is a standard library shipped in the core Perl distribution. If you have Perl you should have Fatal.pm. (Similarly, CPAN packages don't typically declare a dependency on strict.pm because it comes with Perl) One exception might be if you installed Perl from a Linux distribution package and didn't install all of the required packages. For example, I think on (older?) Redhat systems you need the perl-core package in addition to perl-base.
On 2016-03-02 17:12:18, GRANTM wrote: Show quoted text
> Fatal.pm is not declared as a dependency because it is a standard > library shipped in the core Perl distribution. If you have Perl you > should have Fatal.pm. (Similarly, CPAN packages don't typically > declare a dependency on strict.pm because it comes with Perl) > > One exception might be if you installed Perl from a Linux distribution > package and didn't install all of the required packages. For example, > I think on (older?) Redhat systems you need the perl-core package in > addition to perl-base.
While Redhat and some other distros may be breaking the licence agreement by splitting up the Perl distribution, all distributions should still list all their prerequisites, including those in core. (This aids in static analysis and other meta-tasks.)