Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1485693 - papi is FTBFS on armv7hl because libibmad is not available
Summary: papi is FTBFS on armv7hl because libibmad is not available
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: papi
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: William Cohen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: HostAndPlatform 1484155
TreeView+ depends on / blocked
 
Reported: 2017-08-27 09:13 UTC by Igor Gnatenko
Modified: 2017-09-11 13:56 UTC (History)
3 users (show)

Fixed In Version: papi-5.5.1-6.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-28 15:01:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Igor Gnatenko 2017-08-27 09:13:22 UTC
Since recently, rdma-core became non available on armv7hl arch, libibmad did so as well... So papi is FTBFS now..

Comment 1 Honggang LI 2017-08-28 03:04:40 UTC
Following simple patch disables rdma support for ARM32. Please consider apply it. I had a working scratch building for it. Thanks.

https://koji.fedoraproject.org/koji/taskinfo?taskID=21506257

diff --git a/papi.spec b/papi.spec
index e751041..70cbf53 100644
--- a/papi.spec
+++ b/papi.spec
@@ -2,7 +2,7 @@
 Summary: Performance Application Programming Interface
 Name: papi
 Version: 5.5.1
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: BSD
 Group: Development/System
 Requires: papi-libs = %{version}-%{release}
@@ -22,8 +22,10 @@ BuildRequires: libpfm-static >= 4.6.0-1
 %endif
 # Following required for net component
 BuildRequires: net-tools
+%ifnarch %{arm}
 # Following required for inifiband component
 BuildRequires: libibmad-devel
+%endif
 BuildRequires: perl-generators
 #Right now libpfm does not know anything about s390 and will fail
 ExcludeArch: s390 s390x
@@ -87,7 +89,9 @@ autoconf
 pushd components
 #pushd cuda; ./configure; popd
 #pushd host_micpower; ./configure; popd
+%ifnarch %{arm}
 pushd infiniband_umad; %configure; popd
+%endif

Comment 2 William Cohen 2017-08-28 15:01:55 UTC
This fix looks reasonable. papi is back to building on rawhide (https://koji.fedoraproject.org/koji/buildinfo?buildID=962325). Thanks.

Comment 3 Honggang LI 2017-08-29 01:22:26 UTC
(In reply to William Cohen from comment #2)
> This fix looks reasonable. papi is back to building on rawhide
> (https://koji.fedoraproject.org/koji/buildinfo?buildID=962325). Thanks.

This is a f28 build. Could you please backport this patch to f27 branch of papi?

Comment 4 William Cohen 2017-09-11 13:56:18 UTC
Fedora 27 papi has also been rebuilt with this patch:

https://koji.fedoraproject.org/koji/buildinfo?buildID=962646


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