amusewiki icon indicating copy to clipboard operation
amusewiki copied to clipboard

Carton fails installing modules

Open melmothx opened this issue 5 years ago • 5 comments

As of today:

It seems to me that carton here is failing because upstream cleaned up the PAUSE directory.

Thing can be corrected with cpanm -L local which at this point should be use as default I think.

! Couldn't find module or a distribution Catalyst::Devel (1.0)
! Installing the dependencies failed: Module 'Catalyst::Devel' is not installed
! Bailing out the installation for Catalyst-Model-DBIC-Schema-0.65.
! Installing the dependencies failed: Module 'Catalyst::Model::DBIC::Schema' is not installed
! Bailing out the installation for Catalyst-Authentication-Store-DBIx-Class-0.1506.
! Installing the dependencies failed: Module 'Catalyst::Authentication::Realm::SimpleDB' is not installed
! Bailing out the installation for AmuseWikiFarm-2.311.

@link2xt thoughts?

melmothx avatar Mar 29 '19 14:03 melmothx

As a side note, libxml2-dev needs to be installed system-wide.

melmothx avatar Mar 29 '19 14:03 melmothx

Plus this new randomness, first time I see it.

WWW::Form::UrlEncoded::XS 0.25 is require. fallback to PP version at /home/amw/amusewiki/local/lib/perl5/x86_64-linux-gnu-thread-multi/WWW/Form/UrlEncoded.pm line 17.

melmothx avatar Mar 29 '19 14:03 melmothx

I have just cleaned my working directory and did vagrant up, it installed everything successfully and amusewiki is running on localhost:8080. I don't understand how to reproduce it.

link2xt avatar Mar 29 '19 22:03 link2xt

Yeah, me neither. the carton snapshot doesn't even have a Catalyst::Devel. Maybe that's the problem.

melmothx avatar Mar 30 '19 08:03 melmothx

More random problems

Installing modules using /home/wiki/amusewiki/cpanfile (deployment mode)
! Couldn't find module or a distribution JSON::PP (2.27300)
! Couldn't find module or a distribution JSON::XS (3.00)                          
! Installing the dependencies failed: Installed version (2.27203) of JSON::PP is not in range '2.27300', Module 'JSON:
:XS' is not installed        
! Bailing out the installation for JSON-MaybeXS-1.004000.
! Installing the dependencies failed: Module 'JSON::MaybeXS' is not installed              
! Bailing out the installation for HTTP-Entity-Parser-0.21.                                         
! Installing the dependencies failed: Module 'HTTP::Entity::Parser' is not installed                         
! Bailing out the installation for Plack-1.0047.                                                     
! Couldn't find module or a distribution Test::Tester (0.107)                                        
! Installing the dependencies failed: Module 'Test::Tester' is not installed
! Bailing out the installation for Test-NoWarnings-1.04.
! Installing the dependencies failed: Module 'Test::NoWarnings' is not installed
! Bailing out the installation for CGI-Simple-1.21.
! Installing the dependencies failed: Module 'Plack::Middleware::Conditional' is not installed, Module 'Plack::Request
::Upload' is not installed, Module 'Plack::Middleware::IIS7KeepAliveFix' is not installed, Module 'JSON::MaybeXS' is n
ot installed, Module 'Plack::Middleware::LighttpdScriptNameFix' is not installed, Module 'CGI::Simple::Cookie' is noti
nstalled, Module 'Plack::Middleware::Head' is not installed, Module 'Plack::Middleware::ContentLength' is not installe
d, Module 'Plack' is not installed, Module 'Plack::Middleware::IIS6ScriptNameFix' is not installed, Module 'Plack::Mid
dleware::HTTPExceptions' is not installed
! Bailing out the installation for Catalyst-Runtime-5.90124.
! Installing the dependencies failed: Module 'Catalyst::Runtime' is not installed
! Bailing out the installation for Catalyst-Plugin-Session-0.41.
! Couldn't find module or a distribution Test::use::ok
! Installing the dependencies failed: Module 'Test::use::ok' is not installed
! Bailing out the installation for Tie-ToObject-0.03.
! Installing the dependencies failed: Module 'Tie::ToObject' is not installed
! Bailing out the installation for Data-Visitor-0.30.
! Installing the dependencies failed: Module 'Catalyst::Runtime' is not installed, Module 'Data::Visitor' is not insta
lled
! Bailing out the installation for Catalyst-Action-RenderView-0.16.
! Couldn't find module or a distribution XSLoader (0.22)
! Installing the dependencies failed: Installed version (0.17) of XSLoader is not in range '0.22'
! Bailing out the installation for List-MoreUtils-XS-0.428.
! Installing the dependencies failed: Module 'List::MoreUtils::XS' is not installed
! Bailing out the installation for List-MoreUtils-0.428.
! Installing the dependencies failed: Module 'Catalyst' is not installed, Module 'List::MoreUtils' is not installed
! Bailing out the installation for CatalystX-Component-Traits-0.19.
! Installing the dependencies failed: Module 'Catalyst' is not installed
! Bailing out the installation for Catalyst-Component-InstancePerContext-0.001001.
! Installing the dependencies failed: Module 'List::MoreUtils' is not installed, Mod

And note that cpanm -L local --installdeps . works.

melmothx avatar Apr 22 '19 08:04 melmothx

This was addressed with the fallback to cpanm.

melmothx avatar Nov 14 '22 07:11 melmothx