Bug 756118 - Can't use Unicode::Collate::Locale
Summary: Can't use Unicode::Collate::Locale
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl
Version: 16
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-22 17:58 UTC by James Szinger
Modified: 2012-02-23 02:24 UTC (History)
10 users (show)

Fixed In Version: perl-5.14.2-195.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-23 02:24:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Search for locales in @INC (830 bytes, patch)
2011-11-23 16:34 UTC, Petr Šabata
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
CPAN 72666 0 None None None Never

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.


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