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

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

Open
eserte opened this issue Sep 29, 2024 · 0 comments
Open

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

eserte opened this issue Sep 29, 2024 · 0 comments

Comments

@eserte
Copy link

eserte commented Sep 29, 2024

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