Thanks for getting back to me. I'm just trying to reconstruct the issue...
Seems like it was a transient cpan index thing. Details below.
On 26/06/12 18:18, Sawyer X via RT wrote:
Show quoted text > On Wed Jun 06 01:54:26 2012, BOWMANBS wrote:
>> The App::Genpass Makefile.PL requires MooX::Types::MooseLike::Base
>> which somehow ends up trying to install version 0.03 of
>> MooX::Types::MooseLike which has since disappeared.
>> I think depending on MooX::Types::MooseLike would fix this.
The "somehow ends up trying to install version 0.03 of
MooX::Types::MooseLike" bit suggests to me that whatever index
or mirror was being used at the time I hit this issue had
MooX::Types::MooseLike::Base indexed as belonging to version 0.03 only.
MooX::Types::MooseLike was indexed to 0.05 (in addition to 0.03).
So as *::Base was referred to my cpan client was trying to install
the no longer existant 0.03 version.
It seems that this was a transient issue however.
I tried again and the right version was targeted, see below for the result.
Show quoted text >> Searching App::Genpass on cpanmetadb ...
>> --> Working on App::Genpass
[..]
Show quoted text[..]
Show quoted text > I'm probably missing something, but:
> 1. MooX::Types::MooseLike does not export any types, so I can't use it
> directly.
I meant to suggest that the PREREQ_PM entry in Makefile.PL (and Build.PL
requires) could depend in the distribution MooX::Types::MooseLike, rather
than *::Base within the distribution. That would have fixed this issue
(and I thought that was the way you had to do it... but can't find any
references to support that).
One reason to depend on MooX::Types::MooseLike is that it has $VERSION
defined, while MooX::Types::MooseLike::Base doesn't... Not all that
compelling, I agree.
Show quoted text
The difference was that MooX::Types::MooseLike::Base was indexed in CPAN
as being part of 0.03 only. That now seems resolved so this ticket
can happily be resolved.
Thanks Brad
PS. Trying the install again now correctly tries to install version 0.05
(but fails on Moo due to a test failure):
./cpanm App::Genpass
--> Working on App::Genpass
Fetching
http://www.cpan.org/authors/id/X/XS/XSAWYERX/App-Genpass-2.31.tar.gz
... OK
Configuring App-Genpass-2.31 ... OK
==> Found dependencies: Moo, MooX::Types::MooseLike::Base, Config::Any
--> Working on Moo
[..]
Building and testing Moo-0.091010 ... FAIL
! Installing Moo failed. See ~/.cpanm/build.log for details.
--> Working on MooX::Types::MooseLike::Base
Fetching
http://www.cpan.org/authors/id/M/MA/MATEU/MooX-Types-MooseLike-0.05.tar.gz ... OK
Configuring MooX-Types-MooseLike-0.05 ... OK
[..]
! Bailing out the installation for App-Genpass-2.31. Retry with --prompt or
--force.
From ~/.cpanm/build.log
Building and testing Moo-0.091010
t/method-generate-constructor.t .... ok
Undefined subroutine &MooObjectWithDelegate::blessed called at
t/lib/MooObjectWithDelegate.pm line 8.
# Tests were run but no plan was declared and done_testing() was not seen.
t/modify_lazy_handlers.t ...........
Dubious, test returned 255 (wstat 65280, 0xff00)
All 2 subtests passed
That's a new test that is failing
http://search.cpan.org/diff?from=Moo-0.091009&to=Moo-0.091010#t/modify_lazy_handlers.t
I've let the Moo folks know and they are on the case.