The package rpms/coreutils.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/coreutils.git/commit/?id=6d3ccf4f....
Change:
+%ifarch ppc64le
Thanks.
Full change:
============
commit 27d47106a2236427a9cd3ca492bd2b84a93c98b1
Author: Kamil Dudka <kdudka(a)redhat.com>
Date: Fri Jul 24 18:54:53 2020 +0200
replace weirdo constant in gnulib tests
... causing test failures on armv7hl
diff --git a/coreutils.spec b/coreutils.spec
index deaa27a..7a9cfae 100644
--- a/coreutils.spec
+++ b/coreutils.spec
@@ -153,6 +153,10 @@ sed src/dircolors.hin \
# apply all patches
%autopatch -p1
+# replace weirdo constant in gnulib tests causing test failures on armv7hl
+sed -e 's/1729576/EPERM/' \
+ -i gnulib-tests/test-{perror2,strerror_r}.c
+
(echo ">>> Fixing permissions on tests") 2>/dev/null
find tests -name '*.sh' -perm 0644 -print -exec chmod 0755 '{}'
'+'
(echo "<<< done") 2>/dev/null
commit 6d3ccf4f6f2f5c7033d914a2976dc1e16bc396ac
Author: Kamil Dudka <kdudka(a)redhat.com>
Date: Fri Jul 24 18:51:12 2020 +0200
Related: #1789115 - disable -flto on ppc64le to make test-float pass
diff --git a/coreutils.spec b/coreutils.spec
index b7aaec3..deaa27a 100644
--- a/coreutils.spec
+++ b/coreutils.spec
@@ -1,7 +1,7 @@
Summary: A set of basic GNU tools commonly used in shell scripts
Name: coreutils
Version: 8.32
-Release: 8%{?dist}
+Release: 9%{?dist}
License: GPLv3+
Url:
https://www.gnu.org/software/coreutils/
Source0:
https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
@@ -162,6 +162,11 @@ autoreconf -fiv
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fpic"
+# disable -flto on ppc64le to make test-float pass (#1789115)
+%ifarch ppc64le
+CFLAGS="$CFLAGS -fno-lto"
+%endif
+
# Upstream suggests to build with -Dlint for static analyzers:
#
https://lists.gnu.org/archive/html/coreutils/2018-06/msg00110.html
# ... and even for production binary RPMs:
@@ -266,6 +271,9 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
%license COPYING
%changelog
+* Fri Jul 24 2020 Kamil Dudka <kdudka(a)redhat.com> - 8.32-9
+- disable -flto on ppc64le to make test-float pass (#1789115)
+
* Mon Jul 13 2020 Tom Stellard <tstellar(a)redhat.com> - 8.32-8
- Use make macros
-
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
commit fac4ffd39e9d9422627146736411054402650cf6
Author: Kamil Dudka <kdudka(a)redhat.com>
Date: Fri Jul 24 19:15:28 2020 +0200
fix the last change log entry
diff --git a/coreutils.spec b/coreutils.spec
index 4851b15..b7aaec3 100644
--- a/coreutils.spec
+++ b/coreutils.spec
@@ -266,7 +266,7 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
%license COPYING
%changelog
-* Mon Jul 13 2020 Tom Stellard <tstellar(a)redhat.com>
+* Mon Jul 13 2020 Tom Stellard <tstellar(a)redhat.com> - 8.32-8
- Use make macros
-
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro