[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/18: gnu: commencement: gash-boot: Build fix for ARM.
From: |
guix-commits |
Subject: |
06/18: gnu: commencement: gash-boot: Build fix for ARM. |
Date: |
Wed, 19 Oct 2022 01:38:49 -0400 (EDT) |
janneke pushed a commit to branch wip-aarch64-bootstrap
in repository guix.
commit 34256c83401171a9c9bb2abf6460de6445b6edab
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 29e081b6d8..e0aaa0388d 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
- branch wip-aarch64-bootstrap created (now 117e60d304), guix-commits, 2022/10/19
- 02/18: DRAFT gnu: bootstrap: mescc-tools-static: Remove packages and tarball., guix-commits, 2022/10/19
- 01/18: DRAFT gnu: bootstrap: bootstrap-tarballs: Remove mes and mescc-tools., guix-commits, 2022/10/19
- 04/18: gnu: mes: Update to 0.24., guix-commits, 2022/10/19
- 15/18: gnu: bootstrap: linux-libre-headers-bootstrap: Support ARM., guix-commits, 2022/10/19
- 10/18: gnu: commencement: make-mesboot0: Support ARM., guix-commits, 2022/10/19
- 07/18: gnu: commencement: gzip-mesboot: Support ARM., guix-commits, 2022/10/19
- 16/18: gnu: commencement: mesboot-headers: Support ARM., guix-commits, 2022/10/19
- 11/18: gnu: commencement: tcc-boot: Support ARM., guix-commits, 2022/10/19
- 06/18: gnu: commencement: gash-boot: Build fix for ARM.,
guix-commits <=
- 03/18: DRAFT gnu: bootstrap: mes-minimal: Remove packages and tarball., guix-commits, 2022/10/19
- 12/18: gnu: commencement: patch-mesboot: Support ARM., guix-commits, 2022/10/19
- 13/18: gnu: commencement: binutils-mesboot0: Support ARM., guix-commits, 2022/10/19
- 08/18: gnu: commencement: mes-boot: Update to 0.24.1, support ARM., guix-commits, 2022/10/19
- 18/18: gnu: commencement: gcc-mesboot0: Support ARM., guix-commits, 2022/10/19
- 14/18: gnu: commencement: gcc-core-mesboot0: Support ARM., guix-commits, 2022/10/19
- 09/18: gnu: commencement: tcc-boot0: Update to 0.9.26-1134, support ARM., guix-commits, 2022/10/19
- 05/18: gnu: mes: Update to 0.24.1., guix-commits, 2022/10/19
- 17/18: DRAFT gnu: commencement: glibc-mesboot0: Support ARM., guix-commits, 2022/10/19