The package rpms/findutils.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/findutils.git/commit/?id=8de28b81....
Change:
+%ifarch ppc64le
Thanks.
Full change:
============
commit 4194724211ce91dd85e2308a0bd91160d71495b0
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/findutils.spec b/findutils.spec
index 83c862d..bc9c56e 100644
--- a/findutils.spec
+++ b/findutils.spec
@@ -77,6 +77,10 @@ git commit -m "remove ignored files from git"
# apply all patches
%autopatch
+# replace weirdo constant in gnulib tests causing test failures on armv7hl
+sed -e 's/1729576/EPERM/' \
+ -i gnulib-tests/test-{perror2,strerror_r}.c
+
# needed because of findutils-4.5.15-no-locate.patch
autoreconf -fiv
git add --all .
commit 8de28b81abac3462697f96724158325a75c1d662
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/findutils.spec b/findutils.spec
index 1db548b..83c862d 100644
--- a/findutils.spec
+++ b/findutils.spec
@@ -83,6 +83,11 @@ git add --all .
git commit -q -m "after invocation of autoreconf"
%build
+# disable -flto on ppc64le to make test-float pass (#1789115)
+%ifarch ppc64le
+export CFLAGS="$RPM_OPT_FLAGS -fno-lto"
+%endif
+
mkdir build
cd build
%global _configure ../configure
@@ -113,6 +118,7 @@ rm -f %{buildroot}%{_infodir}/dir
%changelog
* Fri Jul 24 2020 Kamil Dudka <kdudka(a)redhat.com> - 1:4.7.0-6
+- disable -flto on ppc64le to make test-float pass (#1789115)
- do not compile with -D__SUPPORT_SNAN__ (#1294016)
* Mon Jul 13 2020 Tom Stellard <tstellar(a)redhat.com> - 1:4.7.0-5
commit eebaae56fd6fa88f5e522daeec7e0fdd8581f348
Author: Kamil Dudka <kdudka(a)redhat.com>
Date: Fri Jul 24 18:46:58 2020 +0200
Related: #1294016 - do not compile with -D__SUPPORT_SNAN__
It seems to break test-isinf on ppc64le this time.
diff --git a/findutils.spec b/findutils.spec
index 033f4a0..1db548b 100644
--- a/findutils.spec
+++ b/findutils.spec
@@ -1,7 +1,7 @@
Summary: The GNU versions of find utilities (find and xargs)
Name: findutils
Version: 4.7.0
-Release: 5%{?dist}
+Release: 6%{?dist}
Epoch: 1
License: GPLv3+
URL:
http://www.gnu.org/software/findutils/
@@ -83,9 +83,6 @@ git add --all .
git commit -q -m "after invocation of autoreconf"
%build
-# prevent test-isinf from failing with gcc-5.3.1 on ppc64le (#1294016)
-export CFLAGS="$RPM_OPT_FLAGS -D__SUPPORT_SNAN__"
-
mkdir build
cd build
%global _configure ../configure
@@ -115,6 +112,9 @@ rm -f %{buildroot}%{_infodir}/dir
%{_infodir}/find-maint.info.*
%changelog
+* Fri Jul 24 2020 Kamil Dudka <kdudka(a)redhat.com> - 1:4.7.0-6
+- do not compile with -D__SUPPORT_SNAN__ (#1294016)
+
* Mon Jul 13 2020 Tom Stellard <tstellar(a)redhat.com> - 1:4.7.0-5
- Use make macros
-
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
commit b0ca54752d3897f2b84bcf7ca2fba4c225afdc0a
Author: Kamil Dudka <kdudka(a)redhat.com>
Date: Fri Jul 24 18:43:26 2020 +0200
make the output of %check more verbose
... and colorful again in case a tty is attached
diff --git a/findutils.spec b/findutils.spec
index af74482..033f4a0 100644
--- a/findutils.spec
+++ b/findutils.spec
@@ -94,7 +94,7 @@ cd build
%make_build
%check
-%make_build -C build -s check
+make %{?_smp_mflags} check -C build V=1
%install
%make_install -C build