CC: | bug-Moose [...] rt.cpan.org |
Subject: | MooseX Regression |
Date: | Wed, 3 Nov 2010 11:37:31 -0700 (PDT) |
To: | bug-MooseX-Traits [...] rt.cpan.org |
From: | Denise Mauldin <denise_rpga [...] yahoo.com> |
Greetings,
When trying to install XML::Schematron on an up to date perl 5.10.1 or 5.12.2 install, I received an error with XML::Schematron regarding Moose. With version 1.19 of Moose and Class::MOP 1.11 on linux 2.6.9-89.29.1.plus.c4smp x86_64. I talked to the Moose guys in the IRC channel (yay!) and they had me revert to Moose 1.09, Class::MOP 1.04, and MooseX::NonMoose 0.12, which worked to install XML::Schematron. They said that it was likely a 'coding bug in XML::Schematron or a regression in Moose'. I've submitted this bug to XML::Schematron as well.
Thanks,
Denise
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