Subject: | MooX::Types::MooseLike::Base does not install with Moo 0.091011 |
Date: | Sat, 7 Jun 2014 15:57:34 +0200 |
To: | bug-MooX-Types-MooseLike [...] rt.cpan.org |
From: | Kim Rydhof Thor Hansen <kim [...] rthansen.dk> |
Installing MooX::Types::MooseLike::Base on Debian stable with the Moo
that is in Debian, fails as it needs a newer Moo. I guess that there
should be some sort of version constraint on the Moo dependency that
would have pulled in a newer Moo.
This is the first failed test:
# Failed test 'value which should violate type constraint'
# at t/inflate_0.t line 36.
# 'Unflibble at (eval 28) line 32
# Local::TestClass::new('Local::TestClass', 'flibble', 'monkey')
called at t/inflate_0.t line 35
# main::__ANON__() called at /usr/share/perl5/Test/Fatal.pm line 23
# Test::Fatal::__ANON__() called at /usr/share/perl5/Try/Tiny.pm line 71
# eval {...} called at /usr/share/perl5/Try/Tiny.pm line 67
# Try::Tiny::try('CODE(0x19cdc20)',
'Try::Tiny::Catch=REF(0x1da2768)') called at
/usr/share/perl5/Test/Fatal.pm line 30
# Test::Fatal::exception('CODE(0x1b48818)') called at
t/inflate_0.t line 36
# '
# doesn't match '(?^:^isa check for "flibble" failed: Unflibble)'
# Looks like you failed 1 test of 2.
t/inflate_0.t ....................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
This is a log showing that it works with a newer Moo installed with cpanm:
kim@snacks:~$ cpanm MooX::Types::MooseLike::Base
--> Working on MooX::Types::MooseLike::Base
Fetching http://www.cpan.org/authors/id/M/MA/MATEU/MooX-Types-MooseLike-0.25.tar.gz
... OK
Configuring MooX-Types-MooseLike-0.25 ... OK
Building and testing MooX-Types-MooseLike-0.25 ... FAIL
! Installing MooX::Types::MooseLike::Base failed. See
/home/kim/.cpanm/build.log for details.
kim@snacks:~$ cpanm Moo
--> Working on Moo
Fetching http://www.cpan.org/authors/id/H/HA/HAARG/Moo-1.004006.tar.gz ... OK
Configuring Moo-1.004006 ... OK
Building and testing Moo-1.004006 ... OK
Successfully installed Moo-1.004006 (upgraded from 0.091011)
1 distribution installed
kim@snacks:~$ cpanm MooX::Types::MooseLike::Base
--> Working on MooX::Types::MooseLike::Base
Fetching http://www.cpan.org/authors/id/M/MA/MATEU/MooX-Types-MooseLike-0.25.tar.gz
... OK
Configuring MooX-Types-MooseLike-0.25 ... OK
Building and testing MooX-Types-MooseLike-0.25 ... OK
Successfully installed MooX-Types-MooseLike-0.25
1 distribution installed
kim@snacks:~$
--
Kim Rydhof Thor Hansen
Vadgårdsvej 3, 2. tv.
2860 Søborg
Phone: +45 3091 2437