Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undeclared dependencies #1

Open
eserte opened this issue Nov 21, 2021 · 0 comments
Open

Undeclared dependencies #1

eserte opened this issue Nov 21, 2021 · 0 comments

Comments

@eserte
Copy link

eserte commented Nov 21, 2021

The test suite fails on some of my smoker systems like this:

#   Failed test 'use Test::Mock::Object;'
#   at t/00-load.t line 10.
#     Tried to use 'Test::Mock::Object'.
#     Error:  Can't locate Sub/Name.pm in @INC (you may need to install the Sub::Name module) (@INC contains: /usr/home/cpansand/.cpan/build/2021111216/Test-Mock-Object-0.1-3/blib/lib /usr/home/cpansand/.cpan/build/2021111216/Test-Mock-Object-0.1-3/blib/arch /usr/local/lib/perl5/site_perl/mach/5.32 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.32/mach /usr/local/lib/perl5/5.32 .) at /usr/home/cpansand/.cpan/build/2021111216/Test-Mock-Object-0.1-3/blib/lib/Test/Mock/Object.pm line 11.
# BEGIN failed--compilation aborted at /usr/home/cpansand/.cpan/build/2021111216/Test-Mock-Object-0.1-3/blib/lib/Test/Mock/Object.pm line 11.
# 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 $Test::Mock::Object::VERSION in concatenation (.) or string at t/00-load.t line 13.
# Testing Test::Mock::Object , Perl 5.032001, /usr/local/bin/perl
# Looks like you failed 1 test of 1.
FAILED--Further testing stopped.
*** Error code 1

Statistical analysis shows that more than Sub::Name is not mentioned in the prereqs:

****************************************************************
Regression 'qr:(Can't locate \S+pm)'
****************************************************************
Name           	       Theta	      StdErr	 T-stat
[0='const']    	      1.0000	      0.0000	491169108138606784.00
[1='eq_Can't locate Sub/Identify.pm']	     -1.0000	      0.0000	-63409659199745792.00
[2='eq_Can't locate Sub/Name.pm']	     -1.0000	      0.0000	-137285939280733744.00
[3='eq_Can't locate Test/Most.pm']	     -1.0000	      0.0000	-88936723276734464.00

R^2= 1.000, N= 67, K= 4
****************************************************************
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant