Skip Menu |

This queue is for tickets about the App-Genpass CPAN distribution.

Report information
The Basics
Id: 77652
Status: resolved
Priority: 0/
Queue: App-Genpass

People
Owner: Nobody in particular
Requestors: perl-cpan [...] bereft.net
Cc:
AdminCc:

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



Subject: Depend on MooX::Types::MooseLike not MooX::Types::MooseLike::Base
Hello, 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. Searching App::Genpass on cpanmetadb ... --> Working on App::Genpass Fetching http://ftp.iinet.net.au/pub/cpan/authors/id/X/XS/XSAWYERX/App-Genpass-2.30.tar.gz -> OK Unpacking App-Genpass-2.30.tar.gz Entering App-Genpass-2.30 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 6.30 ... Yes (6.62) Checking if you have Module::Build 0.3601 ... Yes (0.40) Configuring App-Genpass-2.30 Running Build.PL Checking prerequisites... requires: ! MooX::Types::MooseLike::Base is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation [..] Checking if you have MooX::Types::MooseLike::Base 0 ... No Checking if you have Config::Any 0 ... Yes (0.23) ==> Found dependencies: MooX::Types::MooseLike::Base Searching MooX::Types::MooseLike::Base on cpanmetadb ... --> Working on MooX::Types::MooseLike::Base [..] -> FAIL Failed to download http://www.cpan.org/authors/id/M/MA/MATEU/MooX-Types-MooseLike-0.03.tar.gz Thanks, Brad
On Wed Jun 06 01:54:26 2012, BOWMANBS wrote: Show quoted text
> Hello, > > 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. > > Searching App::Genpass on cpanmetadb ... > --> Working on App::Genpass > Fetching > http://ftp.iinet.net.au/pub/cpan/authors/id/X/XS/XSAWYERX/App-Genpass- > 2.30.tar.gz > -> OK > Unpacking App-Genpass-2.30.tar.gz > Entering App-Genpass-2.30 > Checking configure dependencies from META.yml > Checking if you have ExtUtils::MakeMaker 6.30 ... Yes (6.62) > Checking if you have Module::Build 0.3601 ... Yes (0.40) > Configuring App-Genpass-2.30 > Running Build.PL > Checking prerequisites... > requires: > ! MooX::Types::MooseLike::Base is not installed > > ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the > versions > of the modules indicated above before proceeding with this > installation > [..] > Checking if you have MooX::Types::MooseLike::Base 0 ... No > Checking if you have Config::Any 0 ... Yes (0.23) > ==> Found dependencies: MooX::Types::MooseLike::Base > Searching MooX::Types::MooseLike::Base on cpanmetadb ... > --> Working on MooX::Types::MooseLike::Base > [..] > -> FAIL Failed to download > http://www.cpan.org/authors/id/M/MA/MATEU/MooX-Types-MooseLike- > 0.03.tar.gz > > Thanks, > Brad
Hey Brad, sorry for the hold up. I'm probably missing something, but: 1. MooX::Types::MooseLike does not export any types, so I can't use it directly. 2. I do see MooX::Types::MooseLike::Base here: https://metacpan.org/module/MooX::Types::MooseLike::Base. That's version 0.05. Could you please fix my misunderstanding? Thanks. :)
Subject: Re: [rt.cpan.org #77652] Depend on MooX::Types::MooseLike not MooX::Types::MooseLike::Base
Date: Wed, 27 Jun 2012 10:41:54 +1000
To: bug-App-Genpass [...] rt.cpan.org
From: perl-cpan [...] bereft.net
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
>> ==> Found dependencies: MooX::Types::MooseLike::Base >> Searching MooX::Types::MooseLike::Base on cpanmetadb ... >> --> Working on MooX::Types::MooseLike::Base >> [..] >> -> FAIL Failed to download >> http://www.cpan.org/authors/id/M/MA/MATEU/MooX-Types-MooseLike- >> 0.03.tar.gz
[..] 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
> 2. I do see MooX::Types::MooseLike::Base here: > https://metacpan.org/module/MooX::Types::MooseLike::Base. That's version > 0.05.
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.
On Tue Jun 26 20:42:24 2012, BOWMANBS wrote: Show quoted text
> > Thanks for getting back to me. I'm just trying to reconstruct the > issue...
Thank you for opening the issue and providing helpful input on the whole discussion. Show quoted text
> On 26/06/12 18:18, Sawyer X via RT wrote:
> > 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.
That's a fairly convincing argument. I have made the proper changes and released a new version. Show quoted text
> 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.
Hope they fix it soon. P.S. On a personal note, I was looking for your full name to set up the changes file and saw on your blog that at 2007 you went vegetarian. Hope that went well for you. I've been vegan for almost 12 years now. :)