[Bug 2303672] New: perl-Acme-Damn-0.08-30.fc41: Attempt to call undefined import method with arguments ("AUTOLOAD") via package "DynaLoader"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2303672

            Bug ID: 2303672
           Summary: perl-Acme-Damn-0.08-30.fc41: Attempt to call undefined
                    import method with arguments ("AUTOLOAD") via package
                    "DynaLoader"
           Product: Fedora
           Version: rawhide
            Status: NEW
         Component: perl-Acme-Damn
          Assignee: emmanuel@xxxxxxxxx
          Reporter: ppisar@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: emmanuel@xxxxxxxxx, perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
  Target Milestone: ---
    Classification: Fedora



Building perl-Acme-Damn-0.08-30.fc41 shows warnings like this:

+ make test
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Damn.bs
blib/arch/auto/Acme/Damn/Damn.bs 644
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness"
"-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')"
t/*.t
Attempt to call undefined import method with arguments ("AUTOLOAD") via package
"DynaLoader" (Perhaps you forgot to load the package?) at
/home/test/fedora/perl-Acme-Damn/perl-Acme-Damn-0.08-build/Acme-Damn-0.08/blib/lib/Acme/Damn.pm
line 8.
t/1compile.t .. ok

This happens also when using Acme::Damn from perl-forks. This is probably a new
run-time warning added in Perl 5.40. splain explains:

    (D deprecated::missing_import_called_with_args) You called the
    import() or unimport() method of a class that has no import method
    defined in its inheritance graph, and passed an argument to the method.
    This is very often the sign of a mispelled package name in a use or
    require statement that has silently succeded due to a case insensitive
    file system.

    Another common reason this may happen is when mistakenly attempting to
    import or unimport a symbol from a class definition or package which
    does not use Exporter or otherwise define its own import or
    unimport method.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2303672

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202303672%23c0

-- 
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite Information]

  Powered by Linux