Bug 1464830
Summary: | rpmbuild --rebuild libusnic_verbs-2.0.1-5.el7.src.rpm failed | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | zguo <zguo> |
Component: | libusnic_verbs | Assignee: | Jarod Wilson <jarod> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Infiniband QE <infiniband-qe> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.4 | CC: | ddutile, dledford, honli, jsquyres, rdma-dev-team |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-12-05 16:29:47 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
zguo
2017-06-26 01:59:09 UTC
> checking for infiniband/driver.h... no
> configure: error: <infiniband/driver.h> not found. libusnic_verbs requires libibverbs.
> error: Bad exit status from /var/tmp/rpm-tmp.z2OuJ1 (%build)
/usr/include/infiniband/driver.h was provided by libibverbs-devel. This header file still exist in upstream rdma-core repo. The header file had been removed when rebase rdma-core-13-1.el7.
Problem persists in current latest upstream libusnic_verbs as well, cc'ing in Cisco's maintainer, no clue yet if this is just a trivial fix or more involved. (In reply to Honggang LI from comment #2) > > checking for infiniband/driver.h... no > > configure: error: <infiniband/driver.h> not found. libusnic_verbs requires libibverbs. > > error: Bad exit status from /var/tmp/rpm-tmp.z2OuJ1 (%build) > > /usr/include/infiniband/driver.h was provided by libibverbs-devel. This > header file still exist in upstream rdma-core repo. The header file had been > removed when rebase rdma-core-13-1.el7. Yes, driver.h does still exist in the rdma-core repo, but it's clearly and intentionally marked as an internal header now, not to be used by anything outside the rdma-core tree. (See: libibverbs/CMakeLists.txt in the rdma-core source tree). I've filed upstream issue: https://github.com/cisco/libusnic_verbs/issues/7 Let me see if I can get a fix to you today. Closed this as "won't fix" in https://github.com/cisco/libusnic_verbs/issues/7#issuecomment-315477871. Here's the deal: Per the commit message in the first commit in the libusnic_verbs repo (https://github.com/cisco/libusnic_verbs/commit/222dabc5c448180c54507a547ea1fa3198cbd2c1), the libusnic_verbs package is only for legacy versions of libibverbs. Newer versions of libibverbs do not need this plugin, because they will not emit a spurious error message about devices in the kernel that do not have a matching provider in libibverbs. Hence, the if the "rdma-core" / newer generation of libibverbs is being used, then this plugin is not required (and should not be used). Meaning: this plugin will not build against rdma-core, and that's ok. Since RHEL 7.4 is apparently using rdma-core, then RHEL 7.4 can drop the libusnic_verbs package. Make sense? Yeah, that makes sense to me. We're currently still shipping libusnic_verbs, I suppose we could just Obsoletes: it via rdma-core? @Jarod: Yes, that makes sense to me. We actually did add that obsoletes a while ago, but this bug didn't get updated. Closing it now. |