The package rpms/flatbuffers.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/flatbuffers.git/commit/?id=b06ea4....
Change:
+%ifarch s390x
Thanks.
Full change:
============
commit 2bc62126339e5c74a67ad4cac791dcc9449d4549
Author: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Tue Jun 21 15:54:29 2022 -0400
Fix Python wheel versioning
diff --git a/flatbuffers.spec b/flatbuffers.spec
index d42d134..09a1f56 100644
--- a/flatbuffers.spec
+++ b/flatbuffers.spec
@@ -133,6 +133,8 @@ popd >/dev/null
%build
+# Needed for correct Python wheel version
+export VERSION='%{version}'
%set_build_flags
# Without this, building the tests fails.
export CXXFLAGS="${CXXFLAGS} -Wno-error=maybe-uninitialized"
commit b06ea4c8a57b13e744252998545e214f8fafdf8f
Author: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Tue Jun 21 15:28:46 2022 -0400
Work around error building tests on s390x
diff --git a/flatbuffers.spec b/flatbuffers.spec
index 5da8ecb..d42d134 100644
--- a/flatbuffers.spec
+++ b/flatbuffers.spec
@@ -136,6 +136,10 @@ popd >/dev/null
%set_build_flags
# Without this, building the tests fails.
export CXXFLAGS="${CXXFLAGS} -Wno-error=maybe-uninitialized"
+%ifarch s390x
+# Temporary workaround; report upstream if not fixed in a newer release
+export CXXFLAGS="${CXXFLAGS} -Wno-error=stringop-overflow"
+%endif
%cmake -GNinja \
-DCMAKE_BUILD_TYPE=Release \
%if %{with tests}