Bug 756118

Summary: Can't use Unicode::Collate::Locale
Product: [Fedora] Fedora Reporter: James Szinger <jszinger>
Component: perlAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: cweyl, iarnell, jszinger, kasal, lkundrak, mmaslano, ppisar, psabata, rc040203, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: perl-5.14.2-195.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-23 02:24:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Search for locales in @INC none

Description James Szinger 2011-11-22 17:58:22 UTC
Description of problem:

Can't set Unicode::Collate::Locale

Version-Release number of selected component (if applicable):
perl-5.14.2-190.fc16.x86_64


How reproducible:
Always

Steps to Reproduce:
1.
$ perl -MUnicode::Collate::Locale -E'$c=Unicode::Collate::Locale->new( locale=>"sv"); say ref $c'

(all one line)

Actual results:

Unicode/Collate/Locale/sv.pl can't be found at -e line 1

Expected results:

$c is a Unicode::Collate::Locale object

Additional info:

The perl rpm has the files

    /usr/lib64/perl5/Unicode/Collate/Locale.pm
    /usr/share/perl5/Unicode/Collate/Locale/sv.pl

but Locale.pm is looking for /usr/lib64/perl5/Unicode/Collate/Locale/sv.pl

Comment 1 Marcela Mašláňová 2011-11-23 15:43:24 UTC
Thanks for report. I'll look at it.

Comment 2 Petr Šabata 2011-11-23 16:34:30 UTC
Created attachment 535545 [details]
Search for locales in @INC

This patch should fix the issue.

Comment 3 Petr Pisar 2012-02-06 16:16:00 UTC
Fixed as perl-5.14.2-211.fc17 in F17.

Comment 4 Petr Pisar 2012-02-07 15:46:12 UTC
F16 affected.
F15 not affected (the module does not exist there).

Comment 5 Fedora Update System 2012-02-07 16:47:27 UTC
perl-5.14.2-195.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/perl-5.14.2-195.fc16

Comment 6 Fedora Update System 2012-02-08 02:26:02 UTC
Package perl-5.14.2-195.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-5.14.2-195.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-1429/perl-5.14.2-195.fc16
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2012-02-23 02:24:51 UTC
perl-5.14.2-195.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.