Subject: | Undeclared dependency Git |
On some of my smokers the test suite fails:
...
# Failed test 'use App::GitHub::Repository;'
# at t/00.load.t line 4.
# Tried to use 'App::GitHub::Repository'.
# Error: Can't locate Git.pm in @INC (you may need to install the Git module) (@INC contains: CODE(0x41d03540) /home/cpansand/.cpan/build/2018110719/App-GitHub-Repository-0.0.3-VZeO_W/blib/lib /home/cpansand/.cpan/build/2018110719/App-GitHub-Repository-0.0.3-VZ
eO_W/blib/arch CODE(0x41cef2d0) CODE(0x41cf42a0) /usr/perl5.20.1Dp/lib/site_perl/5.20.1/amd64-freebsd-ld /usr/perl5.20.1Dp/lib/site_perl/5.20.1 /usr/perl5.20.1Dp/lib/5.20.1/amd64-freebsd-ld /usr/perl5.20.1Dp/lib/5.20.1 .) at /home/cpansand/.cpan/build/2018110719/App
-GitHub-Repository-0.0.3-VZeO_W/blib/lib/App/GitHub/Repository.pm line 7.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2018110719/App-GitHub-Repository-0.0.3-VZeO_W/blib/lib/App/GitHub/Repository.pm line 7.
# Compilation failed in require at t/00.load.t line 4.
# BEGIN failed--compilation aborted at t/00.load.t line 4.
# Testing App::GitHub::Repository
# Looks like you failed 1 test of 1.
t/00.load.t .......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
...
While Git.pm is usually part of git itself, it's only installed for the system perl and not available to self-compiled perls. But I think there's also a version of Git.pm which is at CPAN and may be installed. So just declaring it as a prereq could help...