Bug 2131742 - perl-JSON-RPC-LWP is not usable at all
Summary: perl-JSON-RPC-LWP is not usable at all
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-JSON-RPC-LWP
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Yanko Kaneti
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-03 14:29 UTC by Vadim Raskhozhev
Modified: 2022-10-11 11:32 UTC (History)
1 user (show)

Fixed In Version: perl-JSON-RPC-LWP-0.007-10.fc36
Clone Of:
Environment:
Last Closed: 2022-10-11 11:32:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Vadim Raskhozhev 2022-10-03 14:29:59 UTC
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

Comment 1 Yanko Kaneti 2022-10-03 15:24:25 UTC
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

Comment 2 Fedora Update System 2022-10-03 15:41:54 UTC
FEDORA-2022-5239b0e09b has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-5239b0e09b

Comment 3 Vadim Raskhozhev 2022-10-03 17:25:17 UTC
(In reply to Yanko Kaneti from comment #1)

Thanks for your quick response and for workaround, it works like a charm :)

Comment 4 Fedora Update System 2022-10-04 01:45:04 UTC
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.

Comment 5 Fedora Update System 2022-10-11 11:32:46 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.