Bug 1274839
Summary: | Missing buildrequire libpsm2-devel | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Branislav Náter <bnater> |
Component: | openmpi | Assignee: | Michal Schmidt <mschmidt> |
Status: | CLOSED NOTABUG | QA Contact: | Mike Stowell <mstowell> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 7.2 | CC: | jshortt, mstowell |
Target Milestone: | rc | ||
Target Release: | 7.3 | ||
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: | 2017-03-22 16:50:51 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
Branislav Náter
2015-10-23 15:39:44 UTC
The libpsm2 source package surely generates the libpsm2-devel binary package. Need to check if it appears in the expected repositories... libpsm2-devel is in the optional channel, but that was not the issue. The problem is due to a known limitation in how a src.rpm can express BuildRequires that are arch-specific. openmpi.spec has: %ifarch x86_64 BuildRequires: infinipath-psm-devel libpsm2-devel %endif If Koji/Brew chooses to create the src.rpm on an x86_64 host, the resulting src.rpm will have libpsm2-devel listed among its Requires. Otherwise it will not. For instance: # rpm -qip openmpi-1.10.3-3.el7.src.rpm | grep Arch Architecture: ppc This src.srpm was created on a ppc machine. And indeed there is no mention of libpsm2-devel in its Requires: # rpm -qRp openmpi-1.10.3-3.el7.src.rpm | grep psm # If however I first install the src.rpm, and recreate it from the spec file on my local x86_64 host, it will have the Requires recorded: # rpm -i openmpi-1.10.3-3.el7.src.rpm ... # cd ~/rpmbuild/SPECS # rpmbuild -bs openmpi.spec Wrote: /root/rpmbuild/SRPMS/openmpi-1.10.3-3.el7.src.rpm # rpm -qRp ../SRPMS/openmpi-1.10.3-3.el7.src.rpm | grep psm infinipath-psm-devel libpsm2-devel For an older discussion about this topic with RPM developers, see bug 948709. |