sandy icon indicating copy to clipboard operation
sandy copied to clipboard

Error: Attempt to call undefined import method with arguments

Open eserte opened this issue 1 year ago • 0 comments

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 ...

eserte avatar Sep 29 '24 16:09 eserte