The package rpms/mlton.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/mlton.git/commit/?id=144d931e3ccf....
Change:
+%ifarch ppc64le
Thanks.
Full change:
============
commit 38ee2d4194af239981abac68695fba3b8de6bcf6
Author: Adam Goode <adam(a)spicenitz.org>
Date: Sun Apr 28 00:39:32 2019 -0400
Update bootstrap sources for ppc64le patch
diff --git a/sources b/sources
index d46ec60..2ee7f0a 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
SHA512 (mlton-20180207.src.tgz) =
3599159950e857d257abce92abf5c548dd9c0b0cdc4ba0d7cdf9badb5d997f73386cd1ff79f563221b394dd831cb344e287927f90683b0715678edb3ca0ae15a
-SHA512 (mlton-bootstrap-ppc64le-redhat-linux.tar.gz) =
ff08220d66b35f6cd5bd15780729acca27b7eb108370faa012ca580067064e077cc4609f030aee7fc4d6c0af8f4843d689a2775799d0c5112a634937498d7040
+SHA512 (mlton-bootstrap-ppc64le-redhat-linux.tar.gz) =
1d2d59884f0b7adc1fc9bdc295df35cf431cc5dc2814bc72cb140ac0eade88e0bf2dd98c8a119458714ef5759a1f0b555f2d033027540213f3ace9bfa8af6a4e
commit 3046a8e4b4b59cf834a60dcc28b0ecd35ebd56e7
Author: Adam Goode <adam(a)spicenitz.org>
Date: Sun Apr 28 00:17:11 2019 -0400
Add missing ppc64le patch
diff --git a/0001-Enable-ppc64le-variant-in-bin-platform.patch
b/0001-Enable-ppc64le-variant-in-bin-platform.patch
new file mode 100644
index 0000000..118add5
--- /dev/null
+++ b/0001-Enable-ppc64le-variant-in-bin-platform.patch
@@ -0,0 +1,29 @@
+From 498aabf5e22f1ddd7f72560f0c95c4ae5fc36c8e Mon Sep 17 00:00:00 2001
+From: Adam Goode <agoode(a)google.com>
+Date: Wed, 28 Mar 2018 13:47:34 -0400
+Subject: [PATCH] Enable ppc64le variant in bin/platform
+
+---
+ bin/platform | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/bin/platform b/bin/platform
+index 90725db60..f648d35f4 100755
+--- a/bin/platform
++++ b/bin/platform
+@@ -112,10 +112,10 @@ mips*)
+ # big-endian and little-endian detect via headers
+ HOST_ARCH=mips
+ ;;
+-powerpc64)
++powerpc64*)
+ HOST_ARCH=powerpc64
+ ;;
+-ppc64)
++ppc64*)
+ HOST_ARCH=powerpc64
+ ;;
+ powerpc)
+--
+2.20.1
+
diff --git a/mlton.spec b/mlton.spec
index 3e6ec96..a394dc7 100644
--- a/mlton.spec
+++ b/mlton.spec
@@ -30,8 +30,11 @@ Patch3: 0003-Set-LIB_REL_BIN-in-mlton-script-when-installing.patch
Patch4: 0004-Fix-use-of-MKDIR-and-RM-variables-in-.-Makefile.bina.patch
Patch5: 0005-Set-LIB_REL_BIN-in-mlton-script-when-installing.patch
+#
https://github.com/MLton/mlton/pull/255
+Patch10: 0001-Enable-ppc64le-variant-in-bin-platform.patch
+
#
https://github.com/MLton/mlton/pull/258
-Patch 10: 0001-Introduce-RISC-V-support.patch
+Patch20: 0001-Introduce-RISC-V-support.patch
# Filter out false dependencies.
%global __provides_exclude_from ^(%{_docdir}|%{_libdir}/mlton/sml)/.*$
@@ -108,7 +111,7 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/mlton/sml/ckit-lib/regression
%changelog
* Sat Apr 27 2019 Adam Goode <adam(a)spicenitz.org> - 20180207-11
-- Rebootstrap ppc64le (RHBZ #1676288)
+- Add missing patch and re-bootstrap for ppc64le (RHBZ #1676288)
* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> -
20180207-10
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
commit 144d931e3ccfa756fca5cd17fed37cce98607a29
Author: Adam Goode <adam(a)spicenitz.org>
Date: Sat Apr 27 16:50:25 2019 -0400
Try to rebootstrap ppc64le to fix segfault
diff --git a/.gitignore b/.gitignore
index 97a3461..ef72522 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/mlton-20180207.src.tgz
+/mlton-bootstrap-ppc64le-redhat-linux.tar.gz
diff --git a/mlton.spec b/mlton.spec
index 243b8ae..3e6ec96 100644
--- a/mlton.spec
+++ b/mlton.spec
@@ -1,8 +1,10 @@
-%global bootstrap 0
+%ifarch ppc64le
+%global bootstrap 1
+%endif
Name: mlton
Version: 20180207
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: Optimizing compiler for Standard ML
License: MIT
@@ -11,7 +13,7 @@ Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.src.tgz
# Generated sources (non-binary) for bootstrapping.
# See
http://mlton.org/PortingMLton#_bootstrap
-#Source100: mlton-bootstrap-riscv64-redhat-linux.tar.gz
+Source100: mlton-bootstrap-ppc64le-redhat-linux.tar.gz
BuildRequires: gcc gmp-devel tex(latex)
@@ -53,7 +55,7 @@ sed -i -e '1 s;^#! */usr/bin/env *;#!/usr/bin/;' bin/*
%if 0%{?bootstrap}
-%ifarch riscv64
+%ifarch ppc64le
%setup -T -D -q -a 100
%endif
@@ -105,6 +107,9 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/mlton/sml/ckit-lib/regression
%changelog
+* Sat Apr 27 2019 Adam Goode <adam(a)spicenitz.org> - 20180207-11
+- Rebootstrap ppc64le (RHBZ #1676288)
+
* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> -
20180207-10
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
diff --git a/sources b/sources
index 7e331e5..d46ec60 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
SHA512 (mlton-20180207.src.tgz) =
3599159950e857d257abce92abf5c548dd9c0b0cdc4ba0d7cdf9badb5d997f73386cd1ff79f563221b394dd831cb344e287927f90683b0715678edb3ca0ae15a
+SHA512 (mlton-bootstrap-ppc64le-redhat-linux.tar.gz) =
ff08220d66b35f6cd5bd15780729acca27b7eb108370faa012ca580067064e077cc4609f030aee7fc4d6c0af8f4843d689a2775799d0c5112a634937498d7040