Skip to content

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

@eserte

Description

@eserte

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions