Bug 547121 - Encode module in perl package references nonexisting file
Summary: Encode module in perl package references nonexisting file
Alias: None
Product: Fedora
Classification: Fedora
Component: perl (Show other bugs)
(Show other bugs)
Version: 12
Hardware: All Linux
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
Keywords: Reopened
Depends On:
TreeView+ depends on / blocked
Reported: 2009-12-13 17:29 UTC by Christian Krause
Modified: 2010-07-24 16:52 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-07-22 11:56:23 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
CPAN 11511 None None None Never
Red Hat Bugzilla 435505 None None None Never

Description Christian Krause 2009-12-13 17:29:30 UTC
[ copied from RHEL bug #435505 ]

Description of problem:
Perl's Encode module (/usr/lib/perl5/5.10.0/i386-linux-thread-multi/Encode.pm
) looks for a Encode::ConfigLocal module by calling:

eval { require Encode::ConfigLocal };

This Encode::ConfigLocal module does not exist, but since the require is wrapped
in an eval, it is not a fatal error, but depending on how the perl script is
written, this can generate warning messages, if for example the script is
catching eval errors and logging them.

The problem can be reproduced easily:

perl -e 'BEGIN { $SIG{__DIE__} = sub { print "Die: $_[0]\n"; }; }; use Encode;print "Hello world.\n";'

Die: Can't locate Encode/ConfigLocal.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/5.10.0/i386-linux-thread-multi/Encode.pm line 53.

Hello world.

F11 and F12 are both affected, the status in rawhide I don't know...

The problem got fixed in RHEL:

Upstream tracking bug and suggested patch:

Comment 1 Marcela Mašláňová 2009-12-22 08:04:01 UTC
F-13 (perl-5.10.1) isn't affected.

Comment 2 Marcela Mašláňová 2010-01-11 14:31:25 UTC
This should be fixed in next update in F-12 since perl-5.10.0-88.fc12 or later.

Comment 3 Marcela Mašláňová 2010-03-16 09:20:38 UTC
Please re-open in case this is still bother you.

Comment 4 Christian Krause 2010-03-16 23:12:05 UTC
The servers I'm maintaining are running currently F11 and F12 and on these systems I always have to do some workarounds. So if it would be possible to get an update for F12 and F11, this would be great.

Comment 5 Marcela Mašláňová 2010-03-17 14:35:18 UTC
The mentioned patch is applied, but it gets somehow changed during the build. I'll fix it.

Comment 6 Bug Zapper 2010-04-28 11:34:25 UTC
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '11'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 11's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 11 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 

Comment 7 Christian Krause 2010-06-20 14:23:56 UTC
The bug is still present in F12 (F13 is fixed). It would be great if the fix would land in F12, too.

Comment 8 Marcela Mašláňová 2010-07-22 11:56:23 UTC
In F-12 should be fixed in perl-5.10.0-89.

Comment 9 Christian Krause 2010-07-24 16:52:48 UTC
(In reply to comment #8)
> In F-12 should be fixed in perl-5.10.0-89.    

Yes, I can confirm this. Thanks!

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