From c1d1212573b53e70df4a9fff6e1b60a5b59d14e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Pokorn=C3=BD?= Date: Wed, 4 Mar 2020 16:54:58 +0100 Subject: [PATCH] 2.0.3-3 (rev. 1) - omit s390x architecture for now MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ...compilation would fail at this time Signed-off-by: Jan Pokorný --- pacemaker.spec | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/pacemaker.spec b/pacemaker.spec index d7ae4b9..363e070 100644 --- a/pacemaker.spec +++ b/pacemaker.spec @@ -147,6 +147,28 @@ Patch0: Build-fix-unability-to-build-with-Inkscape-1.0-beta-.patch Patch1: https://github.com/ClusterLabs/pacemaker/commit/898d369f3bc770c0db2ad3973c204e6d11ec0e0f.patch#/Build-get-ready-for-implicit-fno-common-with-GCC10.patch Patch2: https://github.com/ClusterLabs/pacemaker/commit/77a79358cc72174cbba0dd44e313f6d06d96dbf4.patch#/Refactor-attrd-properly-declare-global-variables.patch +# with s390x, linker fails without justification: +# libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include +# -I../../include -I../../include -I../../libltdl -I../../libltdl +# -DPCMK_TIME_EMERGENCY_CGT -UPCMK_TIME_EMERGENCY_CGT +# -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include +# -I/usr/include/libxml2 -I/usr/include/heartbeat +# -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include +# -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -O2 -g -pipe -Wall +# -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 +# -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong +# -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 +# -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 +# -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -ggdb +# -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast +# -Wcast-align -Wdeclaration-after-statement -Wendif-labels +# -Wfloat-equal -Wformat-security -Wmissing-prototypes +# -Wmissing-declarations -Wnested-externs -Wno-long-long +# -Wno-strict-aliasing -Wpointer-arith -Wwrite-strings +# -Wunused-but-set-variable -Wformat=2 -Wformat-nonliteral -Werror -c +# utils.c -o libpe_status_la-utils.o >/dev/null 2>&1 +# make[3]: *** [Makefile:808: libpe_status_la-utils.lo] Error 1 +ExcludeArch: s390x Requires: resource-agents Requires: %{name}-libs%{?_isa} = %{version}-%{release} @@ -718,6 +740,7 @@ exit 0 %changelog * Wed March 04 2020 Jan Pokorný - 2.0.3-3 - include upstream fix for buildability with GCC 10 (PR #1968) +- omit s390x architecture for now, compilation would fail at this time * Wed Jan 29 2020 Fedora Release Engineering - 2.0.3-2.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild