The package rpms/yubihsm-shell.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/yubihsm-shell.git/commit/?id=ee43....
Change:
+%ifarch s390x
Thanks.
Full change:
============
commit 4382fe2b656e3bef94dc1e8948a51792b36719ed
Author: Jakub Jelen <jjelen(a)redhat.com>
Date: Thu Aug 6 14:44:45 2020 +0200
yubihsm-shell-2.0.2-7
diff --git a/yubihsm-shell.spec b/yubihsm-shell.spec
index 1b4f5a0..1c405e3 100644
--- a/yubihsm-shell.spec
+++ b/yubihsm-shell.spec
@@ -2,7 +2,7 @@
Name: yubihsm-shell
Version: 2.0.2
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Tools to interact with YubiHSM 2
License: ASL 2.0
@@ -92,6 +92,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/pkcs11/yubihsm_pkcs11.so
%changelog
+* Thu Aug 06 2020 Jakub Jelen <jjelen(a)redhat.com> - 2.0.2-7
+- Workaround FTBFS on s390x (#1865658)
+
* Thu Aug 06 2020 Jakub Jelen <jjelen(a)redhat.com> - 2.0.2-6
- Rebuild after libz3 soname bump (#1865658)
commit ee436a7aefb2502e8e3996e51e2a31a84f526df4
Author: Jakub Jelen <jjelen(a)redhat.com>
Date: Thu Aug 6 14:44:01 2020 +0200
Workaround FTBFS on s390x (#1865658)
diff --git a/yubihsm-shell.spec b/yubihsm-shell.spec
index a444889..1b4f5a0 100644
--- a/yubihsm-shell.spec
+++ b/yubihsm-shell.spec
@@ -46,6 +46,12 @@ gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%build
+#
https://bugzilla.redhat.com/show_bug.cgi?id=1865658#c6
+# The generated code fails to build on s390x in Fedora 33
+# For now, disable this particular check when building this arch
+%ifarch s390x
+export CFLAGS="$CFLAGS -Wno-error=format-overflow"
+%endif
%cmake
%cmake_build