[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/21: gnu: commencement: gash-boot: Build fix for ARM.
From: |
guix-commits |
Subject: |
07/21: gnu: commencement: gash-boot: Build fix for ARM. |
Date: |
Wed, 19 Oct 2022 01:40:10 -0400 (EDT) |
janneke pushed a commit to branch wip-arm-bootstrap
in repository guix.
commit 579e3712b0d7341804d76cc212c9edc28f64817c
Author: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Dec 16 11:50:22 2021 +0100
gnu: commencement: gash-boot: Build fix for ARM.
* gnu/packages/commencement.scm (gash-boot)[arguments]: Add 'patch-compat
stage.
---
gnu/packages/commencement.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 9d6ed5fd08..5222d9e88a 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -157,6 +157,19 @@ pure Scheme to Tar and decompression in one easy step.")
(replace 'configure
(bootstrap-configure "Gash" ,(package-version gash)
'("gash") "scripts"))
+ ;; ARM's %bootstrap-guile (2.0.11) does not have EXIT_SUCCESS.
+ (add-after 'unpack 'patch-compat
+ (lambda* _
+ (substitute* "gash/compat.scm"
+ (("exact-integer") "avoid-exact-integer-override-in-2.0.11")
+ (("\\(if-guile-version-below \\(2 0 10\\)")
+"(if-guile-version-below (2 0 10)
+ (begin
+ (define-public (exact-integer? x)
+ (and (integer? x) (exact? x)))))
+
+(if-guile-version-below (2 0 12)
+"))))
(replace 'build (bootstrap-build '("gash")))
(replace 'install (bootstrap-install '("gash") "scripts"))
(add-after 'install 'install-symlinks
- 15/21: gnu: commencement: patch-mesboot: Support ARM., (continued)
- 15/21: gnu: commencement: patch-mesboot: Support ARM., guix-commits, 2022/10/19
- 18/21: gnu: bootstrap: linux-libre-headers-bootstrap: Support ARM., guix-commits, 2022/10/19
- 02/21: gnu: bootstrap: mescc-tools: Support ARM., guix-commits, 2022/10/19
- 01/21: gnu: mes: Update to 0.23.1., guix-commits, 2022/10/19
- 04/21: DRAFT gnu: bootstrap: %bootstrap-mescc-tools: Support ARM., guix-commits, 2022/10/19
- 06/21: DRAFT gnu: bootstrap: %bootstrap-mes: Support ARM., guix-commits, 2022/10/19
- 14/21: gnu: commencement: tcc-boot: Support ARM., guix-commits, 2022/10/19
- 19/21: gnu: commencement: mesboot-headers: Support ARM., guix-commits, 2022/10/19
- 05/21: gnu: bootstrap: %bootstrap-mescc-tools: Update ARM to 1.4.0., guix-commits, 2022/10/19
- 21/21: DRAFT gnu: commencement: gcc-mesboot0: Support ARM., guix-commits, 2022/10/19
- 07/21: gnu: commencement: gash-boot: Build fix for ARM.,
guix-commits <=
- 11/21: gnu: commencement: tcc-boot0: Update to tcc-0.9.26-1136-g1b4f281f., guix-commits, 2022/10/19
- 17/21: gnu: commencement: gcc-core-mesboot0: Support ARM., guix-commits, 2022/10/19
- 10/21: gnu: commencement: tcc-boot0: Use nyacc-1.00.2., guix-commits, 2022/10/19