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 1845420 - libibverbs is missing Perl dependencies
Summary: libibverbs is missing Perl dependencies
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rdma-core
Version: 8.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.3
Assignee: Honggang LI
QA Contact: Afom T. Michael
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-09 08:00 UTC by Petr Pisar
Modified: 2020-11-04 01:38 UTC (History)
2 users (show)

Fixed In Version: rdma-core-29.0-3.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 01:38:09 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:4456 0 None None None 2020-11-04 01:38:14 UTC

Description Petr Pisar 2020-06-09 08:00:03 UTC
# /usr/bin/rxe_cfg --help
Can't locate Getopt/Long.pm in @INC (you may need to install the Getopt::Long module) (@INC contains: /usr/local/lib64/perl5/5.30 /usr/local/share/perl5/5.30 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /usr/bin/rxe_cfg line 40.
BEGIN failed--compilation aborted at /usr/bin/rxe_cfg line 40.

# rpm -qf /usr/bin/rxe_cfg 
libibverbs-29.0-2.el8.x86_64

# rpm -q --requires libibverbs |grep perl
/usr/bin/perl

/usr/bin/rxe_cfg script requires additional Perl modules (e.g. Getopt::Long) besides /usr/bin/perl interpreter and they should be declared on RPM level (e.g. libibverbs package should require "perl(Getopt::Long)"). These are the missing dependencies:

perl(File::Basename)
perl(File::Path)
perl(Getopt::Long)
perl(strict)
perl(warnings)

Either list them in the spec file explicitly, or build-require perl-generators that should autodetect them during a build.

Comment 11 Afom T. Michael 2020-06-30 23:32:06 UTC
Moving to verified as the perl dependency has been resolved  & rxe_cfg is in libibverbs-utils - shown below. 

[root@rdma-qe-07 ~]$ cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.3 Beta (Ootpa)
[root@rdma-qe-07 ~]$ uname -r
4.18.0-214.el8.x86_64
[root@rdma-qe-07 ~]$ grep DIST /etc/motd | tr -d " "
DISTRO=RHEL-8.3.0-20200616.0
[root@rdma-qe-07 ~]$ rpm -qa | grep -E "rdma|ibverbs"
rdma-core-devel-29.0-3.el8.x86_64
librdmacm-utils-29.0-3.el8.x86_64
rdma-core-29.0-3.el8.x86_64
libibverbs-29.0-3.el8.x86_64
librdmacm-29.0-3.el8.x86_64
libibverbs-utils-29.0-3.el8.x86_64
[root@rdma-qe-07 ~]$ lsmod | grep rxe
rdma_rxe              131072  0
ip6_udp_tunnel         16384  1 rdma_rxe
udp_tunnel             16384  1 rdma_rxe
ib_uverbs             143360  11 rdma_rxe,rdma_ucm,mlx5_ib
ib_core               393216  14 rdma_cm,ib_ipoib,rdma_rxe,rpcrdma,ib_srpt,ib_srp,iw_cm,ib_iser,ib_umad,ib_isert,rdma_ucm,ib_uverbs,mlx5_ib,ib_cm
[root@rdma-qe-07 ~]$ which rxe_cfg 
/usr/bin/rxe_cfg
[root@rdma-qe-07 ~]$ rpm -qf /usr/bin/rxe_cfg 
libibverbs-utils-29.0-3.el8.x86_64
[root@rdma-qe-07 ~]$ rxe_cfg --help
  Name   Link  Driver  Speed  NMTU  IPv4_addr     RDEV  RMTU  
  lom_1  yes   tg3            1500  10.16.41.234              
  lom_2  yes   tg3            1500                            
[root@rdma-qe-07 ~]$ rpm -q --requires libibverbs-utils
/usr/bin/perl
ethtool
iproute
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libc.so.6(GLIBC_2.7)(64bit)
libc.so.6(GLIBC_2.8)(64bit)
libibverbs(x86-64) = 29.0-3.el8
libibverbs.so.1()(64bit)
libibverbs.so.1(IBVERBS_1.0)(64bit)
libibverbs.so.1(IBVERBS_1.1)(64bit)
libibverbs.so.1(IBVERBS_1.6)(64bit)
libibverbs.so.1(IBVERBS_PRIVATE_25)(64bit)
perl(File::Basename)
perl(File::Path)
perl(Getopt::Long)
perl(strict)
perl(warnings)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
rtld(GNU_HASH)
[root@rdma-qe-07 ~]$ repoquery --deplist libibverbs-utils
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

beaker-tasks                                                        46 MB/s | 7.7 MB     00:00    
Brew Buildsystem for rhel 8                                        624 kB/s | 3.8 kB     00:00    
Brew Buildsystem for rhel 8                                         73 MB/s |  12 MB     00:00    
Last metadata expiration check: 0:00:01 ago on Tue 30 Jun 2020 07:09:43 PM EDT.
package: libibverbs-utils-29.0-3.el8.x86_64
  dependency: /usr/bin/perl
   provider: perl-interpreter-4:5.26.3-416.el8.x86_64
   provider: perl-interpreter-4:5.26.3-416.el8.x86_64
  dependency: ethtool
   provider: ethtool-2:5.0-2.el8.x86_64
   provider: ethtool-2:5.0-2.el8.x86_64
  dependency: iproute
   provider: iproute-5.3.0-5.el8.x86_64
  dependency: libc.so.6(GLIBC_2.14)(64bit)
   provider: glibc-2.28-127.el8.x86_64
   provider: glibc-2.28-127.el8.x86_64
  dependency: libibverbs(x86-64) = 29.0-3.el8
   provider: libibverbs-29.0-3.el8.x86_64
   provider: libibverbs-29.0-3.el8.x86_64
  dependency: libibverbs.so.1()(64bit)
   provider: libibverbs-29.0-3.el8.x86_64
   provider: libibverbs-29.0-3.el8.x86_64
  dependency: libibverbs.so.1(IBVERBS_1.0)(64bit)
   provider: libibverbs-29.0-3.el8.x86_64
   provider: libibverbs-29.0-3.el8.x86_64
  dependency: libibverbs.so.1(IBVERBS_1.1)(64bit)
   provider: libibverbs-29.0-3.el8.x86_64
   provider: libibverbs-29.0-3.el8.x86_64
  dependency: libibverbs.so.1(IBVERBS_1.6)(64bit)
   provider: libibverbs-29.0-3.el8.x86_64
   provider: libibverbs-29.0-3.el8.x86_64
  dependency: libibverbs.so.1(IBVERBS_PRIVATE_25)(64bit)
   provider: libibverbs-29.0-3.el8.x86_64
   provider: libibverbs-29.0-3.el8.x86_64
  dependency: perl(File::Basename)
   provider: perl-interpreter-4:5.26.3-416.el8.x86_64
   provider: perl-interpreter-4:5.26.3-416.el8.x86_64
  dependency: perl(File::Path)
   provider: perl-File-Path-2.15-2.el8.noarch
   provider: perl-File-Path-2.15-2.el8.noarch
  dependency: perl(Getopt::Long)
   provider: perl-Getopt-Long-1:2.50-4.el8.noarch
   provider: perl-Getopt-Long-1:2.50-4.el8.noarch
  dependency: perl(strict)
   provider: perl-libs-4:5.26.3-416.el8.i686
   provider: perl-libs-4:5.26.3-416.el8.x86_64
   provider: perl-libs-4:5.26.3-416.el8.x86_64
  dependency: perl(warnings)
   provider: perl-libs-4:5.26.3-416.el8.i686
   provider: perl-libs-4:5.26.3-416.el8.x86_64
   provider: perl-libs-4:5.26.3-416.el8.x86_64
  dependency: rtld(GNU_HASH)
   provider: glibc-2.28-127.el8.i686
   provider: glibc-2.28-127.el8.x86_64
   provider: glibc-2.28-127.el8.x86_64

package: libibverbs-utils-29.0-3.el8.x86_64
  dependency: /usr/bin/perl
   provider: perl-interpreter-4:5.26.3-416.el8.x86_64
   provider: perl-interpreter-4:5.26.3-416.el8.x86_64
  dependency: ethtool
   provider: ethtool-2:5.0-2.el8.x86_64
   provider: ethtool-2:5.0-2.el8.x86_64
  dependency: iproute
   provider: iproute-5.3.0-5.el8.x86_64
  dependency: libc.so.6(GLIBC_2.14)(64bit)
   provider: glibc-2.28-127.el8.x86_64
   provider: glibc-2.28-127.el8.x86_64
  dependency: libibverbs(x86-64) = 29.0-3.el8
   provider: libibverbs-29.0-3.el8.x86_64
   provider: libibverbs-29.0-3.el8.x86_64
  dependency: libibverbs.so.1()(64bit)
   provider: libibverbs-29.0-3.el8.x86_64
   provider: libibverbs-29.0-3.el8.x86_64
  dependency: libibverbs.so.1(IBVERBS_1.0)(64bit)
   provider: libibverbs-29.0-3.el8.x86_64
   provider: libibverbs-29.0-3.el8.x86_64
  dependency: libibverbs.so.1(IBVERBS_1.1)(64bit)
   provider: libibverbs-29.0-3.el8.x86_64
   provider: libibverbs-29.0-3.el8.x86_64
  dependency: libibverbs.so.1(IBVERBS_1.6)(64bit)
   provider: libibverbs-29.0-3.el8.x86_64
   provider: libibverbs-29.0-3.el8.x86_64
  dependency: libibverbs.so.1(IBVERBS_PRIVATE_25)(64bit)
   provider: libibverbs-29.0-3.el8.x86_64
   provider: libibverbs-29.0-3.el8.x86_64
  dependency: perl(File::Basename)
   provider: perl-interpreter-4:5.26.3-416.el8.x86_64
   provider: perl-interpreter-4:5.26.3-416.el8.x86_64
  dependency: perl(File::Path)
   provider: perl-File-Path-2.15-2.el8.noarch
   provider: perl-File-Path-2.15-2.el8.noarch
  dependency: perl(Getopt::Long)
   provider: perl-Getopt-Long-1:2.50-4.el8.noarch
   provider: perl-Getopt-Long-1:2.50-4.el8.noarch
  dependency: perl(strict)
   provider: perl-libs-4:5.26.3-416.el8.i686
   provider: perl-libs-4:5.26.3-416.el8.x86_64
   provider: perl-libs-4:5.26.3-416.el8.x86_64
  dependency: perl(warnings)
   provider: perl-libs-4:5.26.3-416.el8.i686
   provider: perl-libs-4:5.26.3-416.el8.x86_64
   provider: perl-libs-4:5.26.3-416.el8.x86_64
  dependency: rtld(GNU_HASH)
   provider: glibc-2.28-127.el8.i686
   provider: glibc-2.28-127.el8.x86_64
   provider: glibc-2.28-127.el8.x86_64
[root@rdma-qe-07 ~]$ 
root@rdma-qe-07 ~]$ repoquery --deplist libibverbs-utils | grep -i  perl | awk -F ":" '/provider:/ {print $2}' | uniq 
Last metadata expiration check: 0:04:46 ago on Tue 30 Jun 2020 07:09:43 PM EDT.
 perl-interpreter-4
 perl-File-Path-2.15-2.el8.noarch
 perl-Getopt-Long-1
 perl-libs-4
 perl-interpreter-4
 perl-File-Path-2.15-2.el8.noarch
 perl-Getopt-Long-1
 perl-libs-4
[root@rdma-qe-07 ~]$ rpm -q perl-interpreter perl-File-Path perl-Getopt-Long perl-libs 
perl-interpreter-5.26.3-416.el8.x86_64
perl-File-Path-2.15-2.el8.noarch
perl-Getopt-Long-2.50-4.el8.noarch
perl-libs-5.26.3-416.el8.x86_64
[root@rdma-qe-07 ~]$

Comment 12 Afom T. Michael 2020-06-30 23:35:10 UTC
(In reply to Afom T. Michael from comment #11)
> Moving to verified as the perl dependency has been resolved  & rxe_cfg is in
> libibverbs-utils - shown below. 
> 
> [root@rdma-qe-07 ~]$ cat /etc/redhat-release 
> Red Hat Enterprise Linux release 8.3 Beta (Ootpa)
> [root@rdma-qe-07 ~]$ uname -r
> 4.18.0-214.el8.x86_64
> [root@rdma-qe-07 ~]$ grep DIST /etc/motd | tr -d " "
> DISTRO=RHEL-8.3.0-20200616.0
> [root@rdma-qe-07 ~]$ rpm -qa | grep -E "rdma|ibverbs"
> rdma-core-devel-29.0-3.el8.x86_64
> librdmacm-utils-29.0-3.el8.x86_64
> rdma-core-29.0-3.el8.x86_64
> libibverbs-29.0-3.el8.x86_64
> librdmacm-29.0-3.el8.x86_64
> libibverbs-utils-29.0-3.el8.x86_64
> [root@rdma-qe-07 ~]$ lsmod | grep rxe
> rdma_rxe              131072  0
> ip6_udp_tunnel         16384  1 rdma_rxe
> udp_tunnel             16384  1 rdma_rxe
> ib_uverbs             143360  11 rdma_rxe,rdma_ucm,mlx5_ib
> ib_core               393216  14
> rdma_cm,ib_ipoib,rdma_rxe,rpcrdma,ib_srpt,ib_srp,iw_cm,ib_iser,ib_umad,
> ib_isert,rdma_ucm,ib_uverbs,mlx5_ib,ib_cm
> [root@rdma-qe-07 ~]$ which rxe_cfg 
> /usr/bin/rxe_cfg
> [root@rdma-qe-07 ~]$ rpm -qf /usr/bin/rxe_cfg 
> libibverbs-utils-29.0-3.el8.x86_64
> [root@rdma-qe-07 ~]$ rxe_cfg --help
>   Name   Link  Driver  Speed  NMTU  IPv4_addr     RDEV  RMTU  
>   lom_1  yes   tg3            1500  10.16.41.234              
>   lom_2  yes   tg3            1500   

[root@rdma-dev-25 ~]$ rxe_cfg --help
  Name          Link  Driver   Speed   NMTU  IPv4_addr      RDEV  RMTU  
  bnxt_roce     yes   bnxt_en  10GigE  9000  172.31.40.125              
  bnxt_roce.43  yes   802.1Q   10GigE  9000  172.31.43.125              
  bnxt_roce.45  yes   802.1Q   10GigE  9000  172.31.45.125              
  lom_1         yes   tg3              1500  10.16.45.223               
  lom_2         no    tg3              1500                             
  lom_3         no    tg3              1500                             
  lom_4         no    tg3              1500                             
[root@rdma-dev-25 ~]$

Comment 15 errata-xmlrpc 2020-11-04 01:38:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (rdma-core bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:4456


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