The package rpms/espresso.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/espresso.git/commit/?id=34259b40e....
Change:
+ExcludeArch: s390x
Thanks.
Full change:
============
commit 34259b40e3b0bbf528205d5408ca6eb1d312d1cd
Author: Christoph Junghans <junghans(a)votca.org>
Date: Thu Jun 11 12:43:01 2020 -0600
fix build with boost-1.73
diff --git a/3725.patch b/3725.patch
new file mode 100644
index 0000000..9ce21bc
--- /dev/null
+++ b/3725.patch
@@ -0,0 +1,22 @@
+From 48f042382bfe19c54139c10e29d492864d054678 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jean-No=C3=ABl=20Grad?= <jgrad(a)icp.uni-stuttgart.de>
+Date: Fri, 22 May 2020 17:03:17 +0200
+Subject: [PATCH] Fix Variant bug revealed by boost 1.73
+
+---
+ src/script_interface/Variant.hpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/script_interface/Variant.hpp b/src/script_interface/Variant.hpp
+index e400af836a..6c1751aca1 100644
+--- a/src/script_interface/Variant.hpp
++++ b/src/script_interface/Variant.hpp
+@@ -72,7 +72,7 @@ inline bool is_none(Variant const &v) { return
is_type<None>(v); }
+
+ template <typename T, typename U>
+ std::vector<Variant> pack_pair(const std::pair<T, U> &pair) {
+- return {{pair.first, pair.second}};
++ return {pair.first, pair.second};
+ }
+
+ template <typename T, typename U>
diff --git a/espresso.spec b/espresso.spec
index bb0796a..8052f69 100644
--- a/espresso.spec
+++ b/espresso.spec
@@ -4,8 +4,10 @@
Name: espresso
Version: 4.1.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Extensible Simulation Package for Research on Soft matter
+# segfault on s390x:
https://github.com/espressomd/espresso/issues/3753
+ExcludeArch: s390x
License: GPLv3+
URL:
http://espressomd.org
@@ -13,6 +15,8 @@ URL:
http://espressomd.org
Source0:
https://github.com/%{name}md/%{name}/archive/%{commit}/%{name}-%{commit}....
%else
Source0:
https://github.com/%{name}md/%{name}/releases/download/%{version}/%{name}...
+#
https://github.com/espressomd/espresso/pull/3725.patch on boost-1.73
+Patch0:
https://github.com/espressomd/espresso/pull/3725.patch
%endif
@@ -105,6 +109,7 @@ This package contains %{name} compiled against MPICH2.
%setup -q -n espresso-%{commit}
%else
%setup -q -n %{name}
+%patch0 -p1
%endif
%build
@@ -157,6 +162,9 @@ done
%{python3_sitearch}/mpich/%{name}md/
%changelog
+* Thu Jun 11 2020 Christoph Junghans <junghans(a)votca.org> - 4.1.2-4
+- fix build with boost-1.73
+
* Tue May 26 2020 Miro Hrončok <mhroncok(a)redhat.com> - 4.1.2-3
- Rebuilt for Python 3.9