Bug 464635

Summary: perl-Term-ReadLine-Gnu fails to initialize
Product: [Fedora] Fedora EPEL Reporter: b.candler
Component: perl-Term-ReadLine-GnuAssignee: Lubomir Rintel <lkundrak>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: el5CC: lkundrak
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-30 07:25:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
strace of Term::ReadLine invocation none

Description b.candler 2008-09-29 19:13:29 UTC
Description of problem:

perl-Term-ReadLine-Gnu doesn't seem to work correctly at all under CentOS 5.
(Initial symptoms detected when trying yasql, but recipe below shows how to replicate)

Version-Release number of selected component (if applicable):
perl-Term-ReadLine-Gnu-1.17a-2.el5.i386.rpm

How reproducible: Completely


Steps to Reproduce:
1. Install CentOS 5, yum install perl-Term-ReadLine-Gnu
2. $ perl -MTerm::ReadLine -e 'new Term::ReadLine("test")'
  
Actual results: Cannot do `initialize' in Term::ReadLine::Gnu at -e line 1


Expected results: Blank (Object should be created successfully)


Additional info:
Possibly a known problem, but I can't find the solution.
http://markmail.org/message/ycvyuf6zjies7amn

Comment 1 Lubomir Rintel 2008-09-29 20:44:07 UTC
Thanks for the report. I'm not able to reproduce this (same version, on CentOS), and therefore don't have much clue where to start to.

Which terminal do you use?

Could you please run the following command and attach the "log" file to this bug report, so I can compare what's different in the way the package works on your system compared to mine?

strace -f -o log perl -MTerm::ReadLine -e 'new Term::ReadLine("test")'

Thanks

Comment 2 b.candler 2008-09-30 07:18:44 UTC
Created attachment 318044 [details]
strace of Term::ReadLine invocation

Comment 3 b.candler 2008-09-30 07:25:59 UTC
Thank you. strace shows it failing looking for Term::ReadLine::Perl

Doing a 'locate', I see I have an old version /usr/lib/perl5/site_perl/5.8.5/Term/ReadLine/Perl.pm which is not owned by any package.

I zapped the 5.8.5 directory and now the module is working fine.

Please close the ticket, and I apologise for the dumb report.

Regards,

Brian.