Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: any Perl code that attempts to use JSON-RPC-LWP crashes. Version-Release number of selected component (if applicable): perl-JSON-RPC-LWP-0.007-9.fc36.noarch How reproducible: always Steps to Reproduce: 1. perl -MJSON::RPC::LWP -e 1 Actual results: You can only consume roles, MooseX::Deprecated is not a Moose role at /usr/lib64/perl5/vendor_perl/Moose/Exporter.pm line 418 Moose::with('MooseX::Deprecated', 'HASH(0x56498a3cb970)') called at /usr/share/perl5/vendor_perl/JSON/RPC/LWP.pm line 169 require JSON/RPC/LWP.pm at -e line 0 main::BEGIN at /usr/share/perl5/vendor_perl/JSON/RPC/LWP.pm line 0 eval {...} at /usr/share/perl5/vendor_perl/JSON/RPC/LWP.pm line 0 Compilation failed in require. BEGIN failed--compilation aborted. Expected results: No errors
Thanks for the report. I haven't noticed that perl-generators is not able to pick up the Moose specific 'with' for MooseX::Deprecated. Please manually for now dnf install perl-MooseX-Deprecated I'll issue an update with a hardcoded Requires
FEDORA-2022-5239b0e09b has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-5239b0e09b
(In reply to Yanko Kaneti from comment #1) Thanks for your quick response and for workaround, it works like a charm :)
FEDORA-2022-5239b0e09b has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-5239b0e09b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-5239b0e09b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-5239b0e09b has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.