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

Test suite fails with PERL_USE_UNSAFE_INC=0 #87

Open
eserte opened this issue Dec 29, 2017 · 1 comment
Open

Test suite fails with PERL_USE_UNSAFE_INC=0 #87

eserte opened this issue Dec 29, 2017 · 1 comment

Comments

@eserte
Copy link

eserte commented Dec 29, 2017

Most tests fail if running make test PERL_USE_UNSAFE_INC=0 on a newer perl (e.g. 5.27.7) like this:

t/loaders/json.t ............... Can't locate t/Utils.pm in @INC (you may need to install the t::Utils module) (@INC contains: lib /home/cpansand/.cpan/build/2017122921/Ubic-1.60-0/blib/lib /home/cpansand/.cpan/build/2017122921/Ubic-1.60-0/blib/arch /usr/perl5.26.1p/lib/site_perl/5.26.1/amd64-freebsd /usr/perl5.26.1p/lib/site_perl/5.26.1 /usr/perl5.26.1p/lib/5.26.1/amd64-freebsd /usr/perl5.26.1p/lib/5.26.1) at t/loaders/json.t line 10.
BEGIN failed--compilation aborted at t/loaders/json.t line 10.
# Looks like your test exited with 2 before it could output anything.

The fix is probably to put everywhere a use lib "." (or something similar) before use-ing the t::Utils module.

@toddr
Copy link

toddr commented Sep 28, 2018

We are having issues with this in our recent re-build against 5.28.0

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

2 participants