Subject: | Undeclared dependency |
Some of my smoker systems report test failures:
...
Bailout called. Further testing stopped:
# Failed test 'use Mojolicious::Command::generate::DBIxCustomModel;'
# at t/00-load.t line 10.
# Tried to use 'Mojolicious::Command::generate::DBIxCustomModel'.
# Error: Can't locate Mojo/Base.pm in @INC (you may need to install the Mojo::Base module) (@INC contains: /home/cpansand/.cpan/build/2018061606/Mojolicious-Command-generate-DBIxCustomModel-1.0.2-0/blib/lib /home/cpansand/.cpan/build/2018061606/Mojolicious-Command-generate-DBIxCustomModel-1.0.2-0/blib/arch /usr/local/lib/perl5/site_perl/mach/5.26 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.26/mach /usr/local/lib/perl5/5.26) at /home/cpansand/.cpan/build/2018061606/Mojolicious-Command-generate-DBIxCustomModel-1.0.2-0/blib/lib/Mojolicious/Command/generate/DBIxCustomModel.pm line 2.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2018061606/Mojolicious-Command-generate-DBIxCustomModel-1.0.2-0/blib/lib/Mojolicious/Command/generate/DBIxCustomModel.pm line 2.
# Compilation failed in require at t/00-load.t line 10.
# BEGIN failed--compilation aborted at t/00-load.t line 10.
Use of uninitialized value $Mojolicious::Command::generate::DBIxCustomModel::VERSION in concatenation (.) or string at t/00-load.t line 13.
# Testing Mojolicious::Command::generate::DBIxCustomModel , Perl 5.026002, /usr/local/bin/perl5.26.2
# Looks like you failed 1 test of 1.
FAILED--Further testing stopped.
*** Error code 1
...
This seems to happen because Mojo::Base (or Mojolicious) is not declared as a prerequisite.