Bug 658453 - "use JSON::RPC::Common::TypeConstraints" in perl script leads to error (fix inside)
Summary: "use JSON::RPC::Common::TypeConstraints" in perl script leads to error (fix i...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Moose
Version: 14
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Iain Arnell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-30 12:39 UTC by Ronald Wahl
Modified: 2010-12-10 20:30 UTC (History)
4 users (show)

Fixed In Version: perl-Moose-1.12-2.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-10 20:30:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
fix from upstream (858 bytes, patch)
2010-11-30 12:39 UTC, Ronald Wahl
no flags Details | Diff

Description Ronald Wahl 2010-11-30 12:39:57 UTC
Created attachment 463707 [details]
fix from upstream

Description of problem:
Starting with F14 calling "use JSON::RPC::Common::TypeConstraints" in a perl script leads to an error.

f14:~$ perl
use JSON::RPC::Common::TypeConstraints;
Not a subroutine reference at /usr/lib64/perl5/Moose/Meta/TypeConstraint/Union.pm line 49.
Compilation failed in require at - line 1.
BEGIN failed--compilation aborted at - line 1.

f13:~$ perl
use JSON::RPC::Common::TypeConstraints;

Version-Release number of selected component (if applicable):
perl-5.12.2-139.fc14.x86_64

How reproducible:
Always

Steps to Reproduce:
1. See description
2.
3.
  
Actual results:
Error message

Expected results:
No error message

Additional info:
There is already an upstream commit fixing this (attached).

Comment 1 Iain Arnell 2010-12-01 17:32:36 UTC
Many thanks for finding the upstream fix. I've verified that it works and a new build is on the way.

Comment 2 Fedora Update System 2010-12-01 17:39:57 UTC
perl-Moose-1.12-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/perl-Moose-1.12-2.fc14

Comment 3 Fedora Update System 2010-12-02 19:11:16 UTC
perl-Moose-1.12-2.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update perl-Moose'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/perl-Moose-1.12-2.fc14

Comment 4 Fedora Update System 2010-12-10 20:30:44 UTC
perl-Moose-1.12-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, 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.