Bug 1567528
Summary: | opensm FTBFS on 7.5 | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Tuomo Soini <tis> | ||||
Component: | opensm | Assignee: | Honggang LI <honli> | ||||
Status: | CLOSED ERRATA | QA Contact: | Mike Stowell <mstowell> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 7.5 | CC: | ddutile, honli, johnny, mstowell, rdma-dev-team, riehecky, zguo | ||||
Target Milestone: | rc | ||||||
Target Release: | 7.6 | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | opensm-3.3.20-3.el7 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-10-30 11:15:46 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1532680 | ||||||
Attachments: |
|
Minor issue in my report - libibumad-devel should be libibmad-devel https://bugzilla.redhat.com/show_bug.cgi?id=1540934 https://src.fedoraproject.org/cgit/rpms/opensm.git/commit/?id=30331ffe74f1c752db8cd5faa71f76473f116d6f Issue had been fixed in Fedora. Will backport it for RHEL-7.6. Thanks Honggang: Is a fix needed for 7.6? Pushing fix soon? (In reply to Don Dutile from comment #4) > Honggang: > Is a fix needed for 7.6? Yes > Pushing fix soon? Yes, I'm waiting for Mellanox's feedback of bz1543619 and bz1550163. Will fix this issue while rebase opensm to address those two features. If I can't get feedback from Mellanox in next week, will fix this issue separately. (In reply to Honggang LI from comment #5) But this bz is for OOB build, correct? Brew is building opensm for 7.5 ? (In reply to Don Dutile from comment #6) > (In reply to Honggang LI from comment #5) > But this bz is for OOB build, correct? Yes, no functional change for opensm. > Brew is building opensm for 7.5 ? I don't know. But this bug was found with rhel-7.5 distro. = Reproduced = $ rpmbuild --rebuild opensm-3.3.20-2.el7.src.rpm Installing opensm-3.3.20-2.el7.src.rpm warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root [...] error: Failed build dependencies: libibmad-devel >= 1.3.12 is needed by opensm-3.3.20-2.el7.x86_64 = Verified = $ rpmbuild --rebuild opensm-3.3.20-3.el7.src.rpm Installing opensm-3.3.20-3.el7.src.rpm warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root [...] + umask 022 + cd /root/rpmbuild/BUILD + cd /root/rpmbuild/BUILD + rm -rf opensm-3.3.20 + /usr/bin/gzip -dc /root/rpmbuild/SOURCES/opensm-3.3.20.tar.gz + /usr/bin/tar -xf - + STATUS=0 [...] Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.myDqhy + umask 022 + cd /root/rpmbuild/BUILD + rm -rf opensm-3.3.20 + exit 0 $ echo $? 0 $ ls rpmbuild/RPMS/x86_64/ opensm-3.3.20-3.el7.x86_64.rpm opensm-devel-3.3.20-3.el7.x86_64.rpm opensm-static-3.3.20-3.el7.x86_64.rpm opensm-debuginfo-3.3.20-3.el7.x86_64.rpm opensm-libs-3.3.20-3.el7.x86_64.rpm 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, 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/RHBA-2018:3208 |
Created attachment 1421832 [details] Suggested fix for build issue If you try to rebuild opensm-3.3.20-2.el7 you hit FTBFS because of wrong dependency. checking infiniband/umad.h usability... no checking infiniband/umad.h presence... no checking for infiniband/umad.h... no checking for umad_init in -libumad... no BUILDSTDERR: configure: error: umad_init() not found. libosmvendor of type openib requires libibumad. opensm has BR: libibumad-devel. libibumad-devel has been provided by rdma-core-devel before. But on on 7.5 virtual provide for libibmad-devel has switched to wrong package (infiniband-diags-devel) and opensm can't be build. Attached patch fixes opensm to use correct BuildRequires. This might not be correct fix. Correct fix might also be removing new virtual Provide and obsolete from infiniband-diags-devel.