The package rpms/hotspot.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/hotspot.git/commit/?id=2aefa849f8....
Change:
+ExcludeArch: s390 s390x
Thanks.
Full change:
============
commit 2aefa849f887664b2c3237df54ab8777d249ac20
Author: Than Ngo <than(a)redhat.com>
Date: Thu Jul 13 11:43:08 2017 +0200
- fix build issue on ppc64
- enable ppc64 build
diff --git a/hotspot-v1.0.0-powerpc.patch b/hotspot-v1.0.0-powerpc.patch
new file mode 100644
index 0000000..e395b50
--- /dev/null
+++ b/hotspot-v1.0.0-powerpc.patch
@@ -0,0 +1,12 @@
+diff -up hotspot-v1.0.0/3rdparty/perfparser/app/perfunwind.cpp.than
hotspot-v1.0.0/3rdparty/perfparser/app/perfunwind.cpp
+--- hotspot-v1.0.0/3rdparty/perfparser/app/perfunwind.cpp.than 2017-07-13
05:27:09.483868319 -0400
++++ hotspot-v1.0.0/3rdparty/perfparser/app/perfunwind.cpp 2017-07-13 05:28:06.064841541
-0400
+@@ -113,7 +113,7 @@ PerfUnwind::PerfUnwind(QIODevice *output
+ // Write minimal header, consisting of magic and data stream version we're
going to use.
+ const char magic[] = "QPERFSTREAM";
+ output->write(magic, sizeof(magic));
+- qint32 dataStreamVersion =
qToLittleEndian(QDataStream::Qt_DefaultCompiledVersion);
++ qint32 dataStreamVersion = qToLittleEndian((qint32)
QDataStream::Qt_DefaultCompiledVersion);
+ output->write(reinterpret_cast<const char *>(&dataStreamVersion),
sizeof(qint32));
+ }
+ }
diff --git a/hotspot.spec b/hotspot.spec
index ee55337..3122341 100644
--- a/hotspot.spec
+++ b/hotspot.spec
@@ -1,13 +1,14 @@
Name: hotspot
Version: 1.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: The Linux perf GUI for performance analysis
License: GPLv2+
URL:
https://github.com/KDAB/hotspot
Source0:
https://github.com/KDAB/%{name}/releases/download/v%{version}/%{name}-v%{...
+Patch0: hotspot-v1.0.0-powerpc.patch
BuildRequires: extra-cmake-modules
BuildRequires: kf5-kcoreaddons-devel
@@ -22,7 +23,7 @@ BuildRequires: qt5-qtbase-devel
BuildRequires: elfutils-devel
# Workaround for undefined reference on some architectures
-ExcludeArch: s390 s390x ppc64
+ExcludeArch: s390 s390x
%description
A standalone GUI for performance data. Attempting to provide a UI like
@@ -54,5 +55,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog
+* Thu Jul 13 2017 Than Ngo <than(a)redhat.com> - 1.0.0-2
+- fix build issue on ppc64
+- enable ppc64 build
+
* Tue Jul 11 2017 Jan Grulich <jgrulich(a)redhat.com> - 1.0.0-1
- Initial version