[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/26: commencement: gash-boot: Build fix for ARM.
From: |
guix-commits |
Subject: |
09/26: commencement: gash-boot: Build fix for ARM. |
Date: |
Mon, 28 Dec 2020 13:58:08 -0500 (EST) |
janneke pushed a commit to branch wip-arm-bootstrap
in repository guix.
commit 32863ed11c55684ac772175fafa4f629f85eb5b5
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
- branch wip-arm-bootstrap created (now 5be822e), guix-commits, 2020/12/28
- 01/26: gnu: mescc-tools: Update to 0.7.0., guix-commits, 2020/12/28
- 05/26: bootstrap: mescc-tools: Support ARM, update to 0.7.0., guix-commits, 2020/12/28
- 02/26: gnu: Add nyacc-1.00.2., guix-commits, 2020/12/28
- 03/26: gnu: mes: Update to nyacc-1.00.2., guix-commits, 2020/12/28
- 04/26: DRAFT gnu: Add mes-next., guix-commits, 2020/12/28
- 08/26: DRAFT bootstrap: %bootstrap-mes: Support ARM., guix-commits, 2020/12/28
- 09/26: commencement: gash-boot: Build fix for ARM.,
guix-commits <=
- 10/26: DRAFT commencement: bootstrap-mes-rewired: Support ARM., guix-commits, 2020/12/28
- 11/26: DRAFT commencement: mes-boot: Support ARM., guix-commits, 2020/12/28
- 12/26: commencement: tcc-boot0: Support ARM, update to 0.9.26-1136-g0fbeb2dd., guix-commits, 2020/12/28
- 07/26: DRAFT bootstrap: %bootstrap-mescc-tools: Support ARM., guix-commits, 2020/12/28
- 06/26: DRAFT bootstrap: mes-minimal: Support ARM, update to mes-0.22-118., guix-commits, 2020/12/28
- 13/26: commencement: gzip-mesboot: Support ARM., guix-commits, 2020/12/28
- 14/26: commencement: make-mesboot0: Support ARM., guix-commits, 2020/12/28
- 16/26: commencement: bash-mesboot0: Support ARM., guix-commits, 2020/12/28
- 18/26: commencement: diffutils-mesboot: Support ARM., guix-commits, 2020/12/28
- 22/26: commencement: gcc-core-mesboot0: Support ARM., guix-commits, 2020/12/28