Skip to content

Error: Attempt to call undefined import method with arguments #13

@eserte

Description

@eserte

The test suite of App-Sandy-0.25 fails with newer perl versions (>=5.40):

"/opt/perl-5.40.0/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- RNG.bs blib/arch/auto/App/Sandy/RNG/RNG.bs 644
PERL_DL_NONLAZY=1 "/opt/perl-5.40.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

#   Failed test 'use App::Sandy::DB::Handle::Quality;'
#   at /opt/perl-5.40.0/lib/site_perl/5.40.0/Test/UseAllModules.pm line 71.
#     Tried to use 'App::Sandy::DB::Handle::Quality'.
#     Error:  Attempt to call undefined import method with arguments ("HASH(0xbbca8e913bc8)") via package "App::Sandy::Types" (Perhaps you forgot to load the package?) at lib/App/Sandy/Base.pm line 88.
# BEGIN failed--compilation aborted at lib/App/Sandy/DB/Handle/Quality.pm line 4.
# Compilation failed in require at /opt/perl-5.40.0/lib/site_perl/5.40.0/Test/UseAllModules.pm line 71.
# BEGIN failed--compilation aborted at /opt/perl-5.40.0/lib/site_perl/5.40.0/Test/UseAllModules.pm line 71.

#   Failed test 'use App::Sandy::Read::PairedEnd;'
#   at /opt/perl-5.40.0/lib/site_perl/5.40.0/Test/UseAllModules.pm line 71.
#     Tried to use 'App::Sandy::Read::PairedEnd'.
#     Error:  Attempt to call undefined import method with arguments ("HASH(0xbbca8f604158)") via package "App::Sandy::Types" (Perhaps you forgot to load the package?) at lib/App/Sandy/Base.pm line 88.
# BEGIN failed--compilation aborted at lib/App/Sandy/Read/PairedEnd.pm line 4.
# Compilation failed in require at /opt/perl-5.40.0/lib/site_perl/5.40.0/Test/UseAllModules.pm line 71.
# BEGIN failed--compilation aborted at /opt/perl-5.40.0/lib/site_perl/5.40.0/Test/UseAllModules.pm line 71.
... etc ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions