The package rpms/guile.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/guile.git/commit/?id=da333a25d0bd....
Change:
+%ifarch armv7hl ppc64le
Thanks.
Full change:
============
commit 3194a9cb8d2b2b05fcbecaccb1d3697e994e9ffd
Author: Miroslav Lichvar <mlichvar(a)redhat.com>
Date: Tue Feb 19 15:43:05 2019 +0100
5:2.0.14-16
diff --git a/guile.spec b/guile.spec
index a23de23..d3e18f7 100644
--- a/guile.spec
+++ b/guile.spec
@@ -2,7 +2,7 @@ Summary: A GNU implementation of Scheme for application extensibility
Name: guile
%define mver 2.0
Version: 2.0.14
-Release: 15%{?dist}
+Release: 16%{?dist}
Epoch: 5
Source:
ftp://ftp.gnu.org/pub/gnu/guile/guile-%{version}.tar.xz
URL:
http://www.gnu.org/software/guile/
@@ -163,6 +163,9 @@ fi
%{_includedir}/guile
%changelog
+* Tue Feb 19 2019 Miroslav Lichvar <mlichvar(a)redhat.com> - 5:2.0.14-16
+- adjust CFLAGS on armv7hl and ppc64le to fix building (#1675089)
+
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 5:2.0.14-15
- Rebuild for readline 8.0
commit da333a25d0bd26590a22e28af5f507464b053cea
Author: Miroslav Lichvar <mlichvar(a)redhat.com>
Date: Tue Feb 19 15:41:26 2019 +0100
adjust CFLAGS on armv7hl and ppc64le to fix building (#1675089)
diff --git a/guile.spec b/guile.spec
index 16c712f..a23de23 100644
--- a/guile.spec
+++ b/guile.spec
@@ -54,6 +54,12 @@ install the guile package.
%build
+# The -O2 option in CFLAGS seems to cause the build to fail on
+# some archs (bug #1675089)
+%ifarch armv7hl ppc64le
+export CFLAGS="$(echo $RPM_OPT_FLAGS | sed 's/-O2/-Os/')"
+%endif
+
%configure --disable-static --disable-error-on-warning
# Remove RPATH