Skip Menu |

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

Report information
The Basics
Id: 62638
Status: resolved
Priority: 0/
Queue: XML-Schematron

People
Owner: Nobody in particular
Requestors: denise_rpga [...] yahoo.com
Cc:
AdminCc:

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



Subject: XML::Schematron bug
Date: Tue, 2 Nov 2010 02:44:39 -0700 (PDT)
To: bug-XML-Schematron [...] rt.cpan.org
From: Denise Mauldin <denise_rpga [...] yahoo.com>
I'm trying to install XML::Schematron 1.07 on linux 2.6.9-89.29.1.plus.c4smp x86_64.  I've installed perl 5.12.2 from source a few days ago and installed many other packages since then.  When I try to install XML::Schematron, I get: cpan[1]> install XML::Schematron CPAN: Storable loaded ok (v2.22) Going to read '/home/jdrftool/.cpan/Metadata'   Database was generated on Tue, 02 Nov 2010 06:32:59 GMT Running install for module 'XML::Schematron' Running make for K/KH/KHAMPTON/XML-Schematron-1.07.tar.gz CPAN: Digest::SHA loaded ok (v5.47) CPAN: Compress::Zlib loaded ok (v2.03) Checksum for /home/jdrftool/.cpan/sources/authors/id/K/KH/KHAMPTON/XML-Schematron-1.07.tar.gz ok Scanning cache /home/jdrftool/.cpan/build for sizes ...........................................................................-DONE DEL(1/2): /home/jdrftool/.cpan/build/Parse-RecDescent-1.965001-VDq8Oa CPAN: YAML loaded ok (v0.72) DEL(2/2): /home/jdrftool/.cpan/build/Parse-RecDescent-1.965001-VDq8Oa.yml CPAN: Archive::Tar loaded ok (v1.54) XML-Schematron-1.07/ XML-Schematron-1.07/Changes XML-Schematron-1.07/lib/ XML-Schematron-1.07/lib/XML/ XML-Schematron-1.07/lib/XML/Schematron/ XML-Schematron-1.07/lib/XML/Schematron/LibXSLT.pm XML-Schematron-1.07/lib/XML/Schematron/Schema.pm XML-Schematron-1.07/lib/XML/Schematron/SchemaReader.pm XML-Schematron-1.07/lib/XML/Schematron/Test.pm XML-Schematron-1.07/lib/XML/Schematron/XPath.pm XML-Schematron-1.07/lib/XML/Schematron/XSLTProcessor.pm XML-Schematron-1.07/lib/XML/Schematron.pm XML-Schematron-1.07/Makefile.PL XML-Schematron-1.07/MANIFEST XML-Schematron-1.07/META.yml XML-Schematron-1.07/t/ XML-Schematron-1.07/t/001basic.t XML-Schematron-1.07/t/data/ XML-Schematron-1.07/t/data/order.scm XML-Schematron-1.07/t/data/order.xml XML-Schematron-1.07/TODO CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.40) CPAN: Module::CoreList loaded ok (v2.38)   CPAN.pm: Going to build K/KH/KHAMPTON/XML-Schematron-1.07.tar.gz Checking if your kit is complete... Looks good Writing Makefile for XML::Schematron cp lib/XML/Schematron/XPath.pm blib/lib/XML/Schematron/XPath.pm cp lib/XML/Schematron/Test.pm blib/lib/XML/Schematron/Test.pm cp lib/XML/Schematron.pm blib/lib/XML/Schematron.pm cp lib/XML/Schematron/Schema.pm blib/lib/XML/Schematron/Schema.pm cp lib/XML/Schematron/SchemaReader.pm blib/lib/XML/Schematron/SchemaReader.pm cp lib/XML/Schematron/XSLTProcessor.pm blib/lib/XML/Schematron/XSLTProcessor.pm cp lib/XML/Schematron/LibXSLT.pm blib/lib/XML/Schematron/LibXSLT.pm Manifying blib/man3/XML::Schematron::XPath.3 Manifying blib/man3/XML::Schematron.3 Manifying blib/man3/XML::Schematron::LibXSLT.3   KHAMPTON/XML-Schematron-1.07.tar.gz   make -- OK Running make test PERL_DL_NONLAZY=1 /jdrf_tools/perls/perl-5.12.2/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/001basic.t .. 1/? Attribute (test_type) is required at /home/jdrftool/.cpan/build/XML-Schematron-1.07-cZ3BAl/blib/lib/XML/Schematron/Schema.pm line 27         XML::Schematron::Schema::__ANON__('MooseX::Traits::__ANON__::SERIAL::1=HASH(0xd69b80)') called at /jdrf_tools/perls/perl-5.12.2/lib/site_perl/5.12.2/x86_64-linux/Class/MOP/Mixin/AttributeCore.pm line 53         Class::MOP::Mixin::AttributeCore::default('Moose::Meta::Attribute=HASH(0x1646498)', 'MooseX::Traits::__ANON__::SERIAL::1=HASH(0xd69b80)') called at /jdrf_tools/perls/perl-5.12.2/lib/site_perl/5.12.2/x86_64-linux/Moose/Meta/Attribute.pm line 472         Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0x1646498)', 'Moose::Meta::Instance=HASH(0x1ab6808)', 'MooseX::Traits::__ANON__::SERIAL::1=HASH(0xd69b80)', 'HASH(0x104d898)') called at /jdrf_tools/perls/perl-5.12.2/lib/site_perl/5.12.2/x86_64-linux/Class/MOP/Class.pm line 603         Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0xd69f70)', 'HASH(0x104d898)') called at /jdrf_tools/perls/perl-5.12.2/lib/site_perl/5.12.2/x86_64-linux/Class/MOP/Class.pm line 576         Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0xd69f70)', 'HASH(0x104d898)') called at /jdrf_tools/perls/perl-5.12.2/lib/site_perl/5.12.2/x86_64-linux/Moose/Meta/Class.pm line 256         Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0xd69f70)', 'HASH(0x104d898)') called at /jdrf_tools/perls/perl-5.12.2/lib/site_perl/5.12.2/x86_64-linux/Moose/Object.pm line 26         Moose::Object::new('MooseX::Traits::__ANON__::SERIAL::1') called at generated method (unknown origin) line 3         XML::Schematron::new('MooseX::Traits::__ANON__::SERIAL::1') called at /jdrf_tools/perls/perl-5.12.2/lib/site_perl/5.12.2/MooseX/Traits.pm line 52         MooseX::Traits::new_with_traits('XML::Schematron', 'traits', 'ARRAY(0x79dfd0)') called at t/001basic.t line 43 # Tests were run but no plan was declared and done_testing() was not seen. t/001basic.t .. Dubious, test returned 255 (wstat 65280, 0xff00) All 1 subtests passed Test Summary Report ------------------- t/001basic.t (Wstat: 65280 Tests: 1 Failed: 0)   Non-zero exit status: 255   Parse errors: No plan found in TAP output Files=1, Tests=1,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.47 cusr  0.06 csys =  0.55 CPU) Result: FAIL Failed 1/1 test programs. 0/1 subtests failed. make: *** [test_dynamic] Error 255   KHAMPTON/XML-Schematron-1.07.tar.gz   make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try:   reports KHAMPTON/XML-Schematron-1.07.tar.gz Running make install   make test had returned bad status, won't install without force Failed during this command:  KHAMPTON/XML-Schematron-1.07.tar.gz          : make_test NO This seems to be something that's wrong with how MooseX is calling XML::Schematron, not with how I have things installed.  Please let me know if this is true or if I need to install or do something differently. Thanks, Denise
On Tue Nov 02 05:44:50 2010, denise_rpga@yahoo.com wrote: ::snip:: Show quoted text
> > This seems to be something that's wrong with how MooseX is calling > XML::Schematron, not with how I have things installed.  Please let > me know if this is true or if I need to install or do something > differently. > > Thanks, > Denise
Moose (the MOP, really) got stricter about how native trait default values are handled. The bug was in Schematron, not in Moose. New version (1.09) winging it's way to CPAN (or, if you're impatient, you can check it out from github here: git://github.com/ubu/xml-schematron.git ) Thanks for the bug report and I've credited you with the catch in the Changes file. Cheers, -kip