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

Can't locate Mojo/File.pm in @INC #3

Open
eserte opened this issue Jan 28, 2021 · 0 comments
Open

Can't locate Mojo/File.pm in @INC #3

eserte opened this issue Jan 28, 2021 · 0 comments

Comments

@eserte
Copy link

eserte commented Jan 28, 2021

The test suite fails on some of my smokers, probably if an older Mojolicious version without Mojo::File is installed:

Can't locate Mojo/File.pm in @INC (you may need to install the Mojo::File module) (@INC contains: /home/cpansand/.cpan/build/2021012805/CellBIS-SQL-Abstract-1.3-_HlRHH/blib/lib /home/cpansand/.cpan/build/2021012805/CellBIS-SQL-Abstract-1.3-_HlRHH/blib/arch /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 t/04-dbms/01-sqlite.t line 6, <DATA> line 2231.
BEGIN failed--compilation aborted at t/04-dbms/01-sqlite.t line 6, <DATA> line 2231.
t/04-dbms/01-sqlite.t ........................... 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 

Or Mojo::File is available, but too old:

"curfile" is not exported by the Mojo::File module
Can't continue after import errors at t/04-dbms/01-sqlite.t line 6.
BEGIN failed--compilation aborted at t/04-dbms/01-sqlite.t line 6.
t/04-dbms/01-sqlite.t ........................... 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 

According to https://metacpan.org/source/SRI/Mojolicious-8.72/Changes#L235 the minimum version would be 8.25, so this needs to be set in the prereq specs.

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