The package rpms/python-graph-tool.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/python-graph-tool.git/commit/?id=....
Change:
+ExcludeArch: %{ix86} armv7hl ppc64le
Thanks.
Full change:
============
commit d41b471b202cbbc5e916cfdba1cb13d0a7cc0a29
Author: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Fri Aug 27 16:16:09 2021 -0400
Re-enable s390x (fix RHBZ#1771034)
Work around resource limits to re-enable s390x, and get closer to the
root causes on the remaining excluded architectures
diff --git a/python-graph-tool.spec b/python-graph-tool.spec
index 054f3b3..09814a2 100644
--- a/python-graph-tool.spec
+++ b/python-graph-tool.spec
@@ -42,7 +42,7 @@ documentation.}
Name: python-%{modname}
Version: 2.43
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Efficient network analysis tool written in Python
License: LGPLv3+
@@ -51,17 +51,60 @@ Source0:
https://downloads.skewed.de/%{modname}/%{modname}-%{version}.tar
# Remove the compilation flags upstream sets
Patch0: 0001-remove-upstream-compilation-flags.patch
-# Fails on i686: issue filed:
https://git.skewed.de/count0/graph-tool/issues/617
-#
https://bugzilla.redhat.com/show_bug.cgi?id=1771023
-# Fails on armv7hl: virtual memory exhausted
+# Need to reduce debugging symbols to make compiling possible on these
+# architectures at all. See:
+#
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.o...
+#
+# Works around:
+# Fails on armv7hl:
+# virtual memory exhausted
#
https://bugzilla.redhat.com/show_bug.cgi?id=1771024
-# Fails on ppc64le: note: variable tracking size limit exceeded with
'-fvar-tracking-assignments', retrying without
+# Fails on ppc64le:
+# note: variable tracking size limit exceeded with
+# '-fvar-tracking-assignments', retrying without
#
https://bugzilla.redhat.com/show_bug.cgi?id=1771031
-# Fails on s390x: note: variable tracking size limit exceeded with
'-fvar-tracking-assignments', retrying without
+# Fails on s390x:
+# note: variable tracking size limit exceeded with
+# '-fvar-tracking-assignments', retrying without
#
https://bugzilla.redhat.com/show_bug.cgi?id=1771034
-# Takes ~23 hours on x86_64 if we get unlucky and get a 6 core 16gig machine, ~4 hours if
we get a 48 core 128gig machine
+%ifarch armv7hl ppc64le s390x
+%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
+%endif
+
+# Fails on i686, armv7hl
+# ../../../src/pcg-cpp/include/pcg_random.hpp:1247:40: error: call to
+# non-'constexpr' function 'pcg_extras::uint_x4<U, V>
+# pcg_extras::operator-(const pcg_extras::uint_x4<U, V>&, const
+# pcg_extras::uint_x4<U, V>&) [with UInt = unsigned int; UIntX2 = long
+# long unsigned int]'
+# 1247 | (state_type(1U) << table_pow2) - state_type(1U);
+# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
+# In file included from ../../../src/pcg-cpp/include/pcg_extras.hpp:84,
+# from ../../../src/pcg-cpp/include/pcg_random.hpp:114,
+# from ../../../src/graph/random.hh:21,
+# from graph_motifs.hh:26,
+# from graph_motifs.cc:24:
+# ../../../src/pcg-cpp/include/pcg_uint128.hpp:642:22: note:
+# 'pcg_extras::uint_x4<U, V> pcg_extras::operator-(const
+# pcg_extras::uint_x4<U, V>&, const pcg_extras::uint_x4<U, V>&)
[with
+# UInt = unsigned int; UIntX2 = long long unsigned int]' declared here
+# 642 | uint_x4<UInt,UIntX2> operator-(const uint_x4<UInt,UIntX2>&
a,
+# | ^~~~~~~~
+# issue filed:
https://git.skewed.de/count0/graph-tool/issues/617
+#
https://bugzilla.redhat.com/show_bug.cgi?id=1771023
+#
https://bugzilla.redhat.com/show_bug.cgi?id=1771024
+#
+# Fails on ppc64le:
+# /usr/include/boost/math/tools/promotion.hpp:138:10:
+# error: static assertion failed:
+# Sorry, but this platform does not have sufficient long double support for
+# the special functions to be reliably implemented.
+#
https://bugzilla.redhat.com/show_bug.cgi?id=1771031
+#
+# Takes ~23 hours on x86_64 if we get unlucky and get a 6 core 16gig machine,
+# ~4 hours if we get a 48 core 128gig machine
# Takes ~45 hours on aarch64
-ExcludeArch: i686 armv7hl ppc64le s390x
+ExcludeArch: %{ix86} armv7hl ppc64le
BuildRequires: make
BuildRequires: git-core
@@ -124,6 +167,10 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
%{_libdir}/pkgconfig/%{modname}-py%{python3_version}.pc
%changelog
+* Fri Aug 27 2021 Benjamin A. Beasley <code(a)musicinmybrain.net> - 2.43-2
+- Work around resource limits to re-enable s390x, and get closer to the root
+ causes on the remaining excluded architectures
+
* Tue Aug 10 2021 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.43-1
- Update to latest release
- Remove unneeded patches