Bug 1790426

Summary: Missing dependency of pcp-pmda-gpsd on perl-JSON and perl-Time-HiRes packages
Product: Red Hat Enterprise Linux 8 Reporter: Jan Kurik <jkurik>
Component: pcpAssignee: Nathan Scott <nathans>
Status: CLOSED DUPLICATE QA Contact: Jan Kurik <jkurik>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.2CC: agerstmayr, jkurik, mgoodwin, nathans, patrickm
Target Milestone: rc   
Target Release: 8.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pcp-5.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-18 06:28:40 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 Jan Kurik 2020-01-13 10:59:06 UTC
Description of problem:
Installation of pcp-pmda-gpsd PMDA on a fresh RHEL-8.2 system fails due to missing dependency on perl-JSON and perl-Time-HiRes packages.

Version-Release number of selected component (if applicable):
* pcp-pmda-gpsd-5.0.2-2.el8

How reproducible:
Always

Steps to Reproduce:
1.On a fresh RHEL-8.2 system install pcp-pmda-gpsd
# yum install -y pcp-pmda-gpsd

2. Run an installation script of the PMDA
# cd /var/lib/pcp/pmdas/gpsd/ && ./Install

Actual results:
The installation fails with the following message:

JSON perl module is not installed
...
Can't locate Time/HiRes.pm in @INC (you may need to install the Time::HiRes module) (@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 /var/lib/pcp/pmdas/gpsd/pmdagpsd.pl line 19.

Expected results:
The installation is passing without errors.

Comment 1 Nathan Scott 2020-02-19 06:03:27 UTC
commit fa792e0aa5c86642afff4b9dfc90ce0488b58a62
Author: Nathan Scott <nathans>
Date:   Wed Feb 19 16:51:21 2020 +1100

    build: update fedora.spec with perl-JSON/TimeHiRes package deps for pcp-pmda-gpsd
    
    Resolves Red Hat BZ #1790426

Comment 2 Nathan Scott 2020-03-18 06:28:40 UTC
Minor packaging issue, will be resolved via rebase.

*** This bug has been marked as a duplicate of bug 1792971 ***

Comment 3 Jan Kurik 2020-06-12 15:10:57 UTC
Verified on pcp-5.1.1-2.el8 build.