Bug 800645

Summary: xchat doesn't run without perl-Time-HiRes
Product: Red Hat Enterprise Linux 6 Reporter: Dominik 'Rathann' Mierzejewski <dominik>
Component: xchatAssignee: Debarshi Ray <debarshir>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.4CC: tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-06 10:52:54 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:

Description Dominik 'Rathann' Mierzejewski 2012-03-06 20:52:54 UTC
Description of problem:
xchat fails to start if perl-Time-HiRes is not installed.

Version-Release number of selected component (if applicable):
xchat-2.8.8-1.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. install xchat
2. uninstall perl-Time-HiRes
3. run xchat
  
Actual results:
$ xchat
Can't locate Time/HiRes.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Xchat.pm line 29.
BEGIN failed--compilation aborted at Xchat.pm line 29.

Expected results:
Successful startup.

Additional info:
$ strings /usr/lib64/xchat/plugins/perl.so |grep HiRes
use Time::HiRes ();
$scripts{$package}{loaded_at} = Time::HiRes::time();

A quick solution would be to add explicit Requires: perl(Time::HiRes) to the spec. A long-term solution would be to fix rpmbuild dependency search script to detect this case.

The problem doesn't manifest on Fedora, because Fedora's perl (in F16 at least) comes with perl-Time-HiRes bundled.

Comment 1 RHEL Program Management 2012-07-10 08:30:31 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 2 RHEL Program Management 2012-07-11 02:04:39 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 3 RHEL Program Management 2012-09-07 05:34:59 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 5 Jan Kurik 2017-12-06 10:52:54 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/