Hi,
While building DWIM Perl based on Strawberry Perl 5.14.2.1
I was trying to install Task::Moose.
I got stuck at MooseX-Method-Signatures and I don't understand the
"Prerequisite version too low" comment either. See below:
CPAN: CPAN::SQLite loaded ok (v0.202)
Database was generated on Sat, 11 Feb 2012 10:28:23 GMT
Running install for module 'MooseX::Method::Signatures'
Running make for I/IL/ILMARI/MooseX-Method-Signatures-0.37.tar.gz
CPAN: Digest::SHA loaded ok (v5.63)
CPAN: Compress::Zlib loaded ok (v2.042)
Checksum for
C:\strawberry\cpan\sources\authors\id\I\IL\ILMARI\MooseX-Method-Signatures-0.37.tar.gz
ok
CPAN: Archive::Tar loaded ok (v1.80)
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.4401)
CPAN: CPAN::Meta loaded ok (v2.112621)
CPAN: Module::CoreList loaded ok (v2.57)
CPAN.pm: Building I/IL/ILMARI/MooseX-Method-Signatures-0.37.tar.gz
CPAN: CPAN::Reporter loaded ok (v1.2003)
Checking if your kit is complete...
Looks good
Writing Makefile for MooseX::Method::Signatures
Writing MYMETA.yml and MYMETA.json
(C:\strawberry\perl\bin\perl.exe Makefile.PL exited with 0)
CPAN::Reporter: Makefile.PL result is 'pass', No errors.
cp lib/MooseX/Method/Signatures/Types.pm
blib\lib\MooseX\Method\Signatures\Types.pm
cp lib/MooseX/Method/Signatures.pm blib\lib\MooseX\Method\Signatures.pm
cp lib/MooseX/Method/Signatures/Meta/Method.pm
blib\lib\MooseX\Method\Signatures\Meta\Method.pm
(C:\strawberry\c\bin\dmake.EXE exited with 0)
CPAN::Reporter: dmake result is 'pass', No errors.
ILMARI/MooseX-Method-Signatures-0.37.tar.gz
C:\strawberry\c\bin\dmake.EXE -- OK
CPAN: YAML loaded ok (v0.77)
Running make test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/00-load.t .......................... ok
t/attributes.t ....................... ok
t/author-pod.t ....................... skipped: these tests are for
testing by the author
t/author-transactional-authorized.t .. skipped: these tests are for
testing by the author
t/basic.t ............................ ok
t/caller.t ........................... ok
t/closure.t .......................... ok
t/declarators.t ...................... ok
# Failed test 'Sane error message for syntax error'
# at t/errors.t line 11.
# 'Can't use an undefined value as an ARRAY
reference at C:/strawberry/perl/site/lib/Eval/Closure.pm line 119.
# Compilation failed in require at (eval 17) line 1.
# BEGIN failed--compilation aborted at (eval 17) line 1.
# '
# doesn't match '(?^:^Global symbol "\$op" requires explicit
package name at .*?\bInvalidCase01.pm line 8\b)'
# Looks like you failed 1 test of 4.
t/errors.t ...........................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
t/eval.t ............................. ok
t/list.t ............................. ok
t/meta.t ............................. ok
t/method-trait.t ..................... ok
t/named_defaults.t ................... ok
t/no_signature.t ..................... ok
t/placeholders.t ..................... ok
t/precedence.t ....................... ok
t/quoted_name.t ...................... ok
t/release-eol.t ...................... skipped: these tests are for
release candidate testing
t/release-no-tabs.t .................. skipped: these tests are for
release candidate testing
t/release-pod-syntax.t ............... skipped: these tests are for
release candidate testing
t/return_value.t ..................... ok
t/signatures.t ....................... ok
t/sigs-optional.t .................... ok
t/structured.t ....................... ok
t/synopsis.t ......................... ok
t/too_many_args.t .................... ok
t/traits.t ........................... ok
t/type_alias.t ....................... ok
t/types.t ............................ ok
t/undef_method_arg.t ................. ok
t/where.t ............................ ok
Test Summary Report
-------------------
t/errors.t (Wstat: 256 Tests: 4 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Files=32, Tests=262, 65 wallclock secs ( 0.10 usr + 0.46 sys = 0.56 CPU)
Result: FAIL
Failed 1/32 test programs. 1/262 subtests failed.
dmake.EXE: Error code 255, while making 'test_dynamic'
(C:\strawberry\c\bin\dmake.EXE test exited with 65280)
CPAN::Reporter: test results were not valid, Prerequisite version too low:
requires:
Module Need Have
--------------------------------------------- -------- --------
aliased 0 0.30
B::Hooks::EndOfScope 0.07 0.09
Carp 0 1.23
Context::Preserve 0 0.01
Devel::Declare 0.005011 0.006010
Devel::Declare::Context::Simple 0 0.006010
Moose 0.89 2.0402
! Moose::Meta::Class 0 broken
! Moose::Meta::Method 0 broken
Moose::Util 0 2.0402
! Moose::Util::TypeConstraints 0 broken
! MooseX::LazyRequire 0.06 broken
MooseX::Meta::TypeConstraint::ForceCoercion 0 0.01
MooseX::Types 0.19 0.31
MooseX::Types::Moose 0.19 0.31
MooseX::Types::Structured 0.20 0.28
MooseX::Types::Util 0 0.31
namespace::autoclean 0 0.13
Parse::Method::Signatures 1.003014 1.003014
! Parse::Method::Signatures::Param::Named 0 broken
! Parse::Method::Signatures::Param::Placeholder 0 broken
Parse::Method::Signatures::TypeConstraint 0 0
! Parse::Method::Signatures::Types 0 broken
Scalar::Util 0 1.23
strict 0 1.04
Sub::Name 0 0.05
Task::Weaken 0 1.04
Text::Balanced 0 2.02
warnings 0 1.12
build_requires:
Module Need Have
--------------------------------------------- -------- --------
attributes 0 0.14
FindBin 0 1.50
metaclass 0 2.0402
Moose::Role 0 2.0402
MooseX::Meta::Method::Authorized 0 0
MooseX::Meta::Method::Transactional 0 0
namespace::clean 0 0.22
Test::Exception 0 0.31
Test::Moose 0 2.0402
Test::More 0.89 0.98
Test::Pod 0 1.45
configure_requires:
Module Need Have
--------------------------------------------- -------- --------
ExtUtils::MakeMaker 6.30 6.62
.
ILMARI/MooseX-Method-Signatures-0.37.tar.gz
C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports ILMARI/MooseX-Method-Signatures-0.37.tar.gz
Running make install
make test had returned bad status, won't install without force
But if I check version numbers I get:
C:\strawberry>mversion Moose::Meta::Class
2.0402
C:\strawberry>mversion Moose::Meta::Method
2.0402
C:\strawberry>mversion Parse::Method::Signatures::Types
undef
C:\strawberry>mversion Parse::Method::Signatures
1.003014
So I am not sure what "broken" means there.
Your help would be appreciated.
regards
Gabor