Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1790415

Summary: Missing dependency of pcp-pmda-bind2 on perl-Time-HiRes, perl-List-MoreUtils and perl-autodie 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: rcKeywords: Bugfix, Triaged
Target Release: 8.0Flags: pm-rhel: mirror+
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:27:32 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:43:08 UTC
Description of problem:
Installation of pcp-pmda-bind2 PMDA on a fresh RHEL-8.2 system fails due to missing dependency on perl-Time-HiRes, perl-List-MoreUtils and perl-autodie packages.

Note: perl-List-MoreUtils is available only in rhel-CRB repo.

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

How reproducible:
Always

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

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

Actual results:
Time::HiRes perl module is not installed
...
List::MoreUtils perl module is not installed
...
Can't locate autodie.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 /var/lib/pcp/pmdas/bind2/pmdabind2.pl line 21.

Expected results:
The installation is passing without errors.

Comment 1 Nathan Scott 2020-02-19 06:00:47 UTC
commit 536f1ee7bee0dc38baaea728ab3c8458ae53256a
Author: Nathan Scott <nathans>
Date:   Wed Feb 19 16:41:07 2020 +1100

    build: update fedora.spec with perl-Time-HiRes/autodie package deps for pcp-pmda-bind2
    
    Remove some unused module imports in the bind2 PMDA as well,
    reducing the dependency set as well.
    
    Resolves Red Hat BZ #1790415

Comment 2 Nathan Scott 2020-03-18 06:27:32 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:04:15 UTC
Verified on pcp-5.1.1-2.el8 build.