The package rpms/qrmumps.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/qrmumps.git/commit/?id=d13c8b8f8f....
Change:
+%ifarch %{openblas_arches}
Thanks.
Full change:
============
commit d13c8b8f8fd4d1899b6ed48cc5cdb301d4a2bd24
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Sun Jan 26 18:28:03 2020 +0100
Workaround for GCC 10 (-fallow-argument-mismatch)
diff --git a/qrmumps.spec b/qrmumps.spec
index 3a4d9ee..8f6c6e1 100644
--- a/qrmumps.spec
+++ b/qrmumps.spec
@@ -1,25 +1,15 @@
-# OpenBLAS available on these architectures
-# This is a custom macro
-# Tests are failed if compiled against OpenBlas on s390x
-%if 0%{?fedora} && 0%{?fedora} > 26
-%{!?openblas_arch:%global openblas_arch x86_64 %{ix86} %{power64} aarch64}
-%else
-%{!?openblas_arch:%global openblas_arch x86_64 %{ix86} %{power64} aarch64}
-%endif
-%if 0%{?rhel}
-%{!?openblas_arch:%global openblas_arch x86_64 %{ix86} %{power64} aarch64}
-%endif
-
# Testing
-%if 0%{?fedora} > 27
-%global with_check 0
-%else
%global with_check 1
+
+# Workarounf for GCC-10
+#
https://gcc.gnu.org/gcc-10/porting_to.html
+%if 0%{?fedora} && 0%{?fedora} > 31
+%global build_fflags %{build_fflags} -fallow-argument-mismatch
%endif
Name: qrmumps
Version: 2.0
-Release: 16%{?dist}
+Release: 17%{?dist}
Summary: A multithreaded multifrontal QR solver
License: LGPLv3+
URL:
http://buttari.perso.enseeiht.fr/qr_mumps/
@@ -36,7 +26,7 @@ Source3:
http://www.cise.ufl.edu/research/sparse/MM/Meszaros/pltexpa.tar.gz
Source4:
http://www.cise.ufl.edu/research/sparse/MM/Yoshiyasu/image_interp.tar.gz
BuildRequires: gcc-gfortran
-%ifarch %{openblas_arch}
+%ifarch %{openblas_arches}
BuildRequires: openblas-devel
%else
BuildRequires: blas-devel
@@ -89,7 +79,7 @@ cp -p %{SOURCE1} makeincs/Make.inc.fedora
%build
-%ifarch %{openblas_arch}
+%ifarch %{openblas_arches}
export LIBBLAS=-lopenblas
export INCBLAS=-I%{_includedir}/openblas
%else
@@ -103,8 +93,8 @@ make BUILD=build PLAT=fedora ARITH='d s c z' \
topdir=$PWD \
CC=gcc \
FC=gfortran \
- FCFLAGS="%{optflags} -Wno-unused-variable -I%{_fmoddir} -fopenmp -fPIC
-Wl,-z,now" \
- CFLAGS="%{optflags} -fopenmp -fPIC -Wl,-z,now" \
+ FCFLAGS="%{build_fflags} -Wno-unused-variable -fopenmp" \
+ CFLAGS="%{build_cflags} -fopenmp" \
CDEFS=" -Dhave_metis -Dhave_scotch -Dhave_colamd" \
FDEFS=" -Dhave_metis -Dhave_scotch -Dhave_colamd" \
LCOLAMD=-lcolamd \
@@ -140,7 +130,7 @@ popd
%check
pushd build/testing
-%ifarch %{openblas_arch}
+%ifarch %{openblas_arches}
export LIBBLAS=-lopenblas
export INCBLAS=-I%{_includedir}/openblas
%else
@@ -222,6 +212,9 @@ install -pm 644 build/include/*.mod
$RPM_BUILD_ROOT%{_fmoddir}/%{name}
%doc doc/pdf/*.pdf
%changelog
+* Sun Jan 26 2020 Antonio Trande <sagitter(a)fedoraproject.org> - 2.0-17
+- Workaround for GCC 10 (-fallow-argument-mismatch)
+
* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.0-16
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild