[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/16: commencement: gash-boot: Build fix for ARM.
From: |
guix-commits |
Subject: |
09/16: commencement: gash-boot: Build fix for ARM. |
Date: |
Sun, 20 Dec 2020 05:14:53 -0500 (EST) |
janneke pushed a commit to branch wip-arm-bootstrap
in repository guix.
commit ac79863cd30f382bb13f529a036c5161248b96c9
Author: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Wed Dec 16 11:50:22 2020 +0100
commencement: gash-boot: Build fix for ARM.
* gnu/packages/commencement.scm (gash-boot)[arguments]: Add 'patch-compat
stage.
---
gnu/packages/commencement.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 432910d..272e666 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -154,6 +154,20 @@ pure Scheme to Tar and decompression in one easy step.")
(modify-phases %standard-phases
(replace 'configure
(bootstrap-configure ,(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)
+"))
+ #t))
(replace 'build (bootstrap-build "gash"))
(replace 'install (bootstrap-install "gash" "scripts"))
(add-after 'install 'install-symlinks
- 01/16: gnu: mescc-tools: Update to 0.7.0., (continued)
- 01/16: gnu: mescc-tools: Update to 0.7.0., guix-commits, 2020/12/20
- 03/16: gnu: mes: Update to nyacc-1.00.2., guix-commits, 2020/12/20
- 05/16: bootstrap: mescc-tools: Support ARM, update to 0.7.0., guix-commits, 2020/12/20
- 04/16: DRAFT gnu: Add mes-next., guix-commits, 2020/12/20
- 06/16: DRAFT bootstrap: mes-minimal: Support ARM, update to mes-0.22.115., guix-commits, 2020/12/20
- 07/16: DRAFT bootstrap: %bootstrap-mescc-tools: Support ARM., guix-commits, 2020/12/20
- 10/16: DRAFT commencement: bootstrap-mes-rewired: Support ARM., guix-commits, 2020/12/20
- 11/16: DRAFT commencement: mes-boot: Support ARM., guix-commits, 2020/12/20
- 08/16: DRAFT bootstrap: %bootstrap-mes: Support ARM., guix-commits, 2020/12/20
- 12/16: DRAFT commencement: tcc-boot0: Support ARM, update to 0.9.26-1133-gb906ff86., guix-commits, 2020/12/20
- 09/16: commencement: gash-boot: Build fix for ARM.,
guix-commits <=
- 13/16: commencement: gzip-mesboot: Support ARM., guix-commits, 2020/12/20
- 14/16: commencement: make-mesboot0: Support ARM., guix-commits, 2020/12/20
- 15/16: commencement: bzip2-mesboot: Support ARM., guix-commits, 2020/12/20
- 16/16: DRAFT commencement: tcc-boot: Support ARM., guix-commits, 2020/12/20