[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/14: REMOVEME gnu: commencement: bash-mesboot: Avoid rebuild.
From: |
guix-commits |
Subject: |
06/14: REMOVEME gnu: commencement: bash-mesboot: Avoid rebuild. |
Date: |
Thu, 5 Dec 2024 04:27:03 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit ee3d7b313e77bd994bc4f5139f1767a949a24390
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Dec 3 20:18:03 2024 +0100
REMOVEME gnu: commencement: bash-mesboot: Avoid rebuild.
XXX This avoids a boot0-world rebuild, for the gcc-14 transition we only
need
to rebuild starting from gcc-boot0.
IWBN if we could program commencement in a way that it's more robust wrt
base
package changes (or more flexible to counter such changes?).
Before we point the build farm to core-packages-team, we probably want to
remove this patch.
* gnu/packages/commencement.scm (bash-mesboot): Change into package
definition
in order to undo #:configure-flags change made in bash-minimal.
Change-Id: I2517e7fd9e2fa3579279b2c85c4f2121ceee1a76
---
gnu/packages/commencement.scm | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 79342e213a..c5af5b6109 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1851,7 +1851,22 @@ exec " gcc "/bin/" program
;; These packages are needed to complete the rest of the bootstrap.
;; In the future, Gash et al. could handle it directly, but it's not
;; ready yet.
-(define bash-mesboot (mesboot-package "bash-mesboot" static-bash))
+(define bash-mesboot
+ (let ((bash (mesboot-package "bash-mesboot" static-bash)))
+ (package
+ (inherit bash)
+ (arguments
+ (substitute-keyword-arguments (package-arguments bash)
+ ;; XXX REMOVEME Avoid a boot0-world rebuild for now by removing this
+ ;; unnecessary gcc-14 fix.
+ ((#:configure-flags flags)
+ `(cons*
+ "--disable-shared" "LDFLAGS=-static"
+ (list
+ ,@(fold delete
+ (primitive-eval (gexp->approximate-sexp flags))
+ '("CFLAGS=-g -O2 -Wno-implicit-function-declaration"
+ "--disable-shared" "LDFLAGS=-static"))))))))))
(define sed-mesboot (mesboot-package "sed-mesboot" sed))
;; "sed" from Gash-Utils lacks the 'w' command as of 0.2.0.
- branch core-packages-team created (now f2c7f31515), guix-commits, 2024/12/05
- 01/14: gnu: commencement: gcc-boot0: Build fix for x86_64-linux with gcc-14., guix-commits, 2024/12/05
- 02/14: gnu: commencement: gcc-final: Fix build for x86_64-linux with gcc-14., guix-commits, 2024/12/05
- 06/14: REMOVEME gnu: commencement: bash-mesboot: Avoid rebuild.,
guix-commits <=
- 05/14: DRAFT gnu: gcc: Update gcc, gcc-toolchain to 14., guix-commits, 2024/12/05
- 10/14: REMOVEME gnu: Add libffi-previous for guile to prevent rebuild at this time., guix-commits, 2024/12/05
- 11/14: gnu: gettext-minimal: Fix build for x86_64-linux with gcc-14., guix-commits, 2024/12/05
- 03/14: gnu: bash-minimal: Fix build for x86_64-linux with gcc-14., guix-commits, 2024/12/05
- 08/14: gnu: zip: Fix build with gcc-14., guix-commits, 2024/12/05
- 04/14: gnu: libffi: Fix build for x86_64-linux with gcc-14., guix-commits, 2024/12/05
- 12/14: gnu: gettext[-minimal]: Update to 0.23., guix-commits, 2024/12/05
- 13/14: gnu: unzip: Fix build with gcc-14., guix-commits, 2024/12/05
- 07/14: REMOVEME gnu: commencement: static-bash-for-glibc: Avoid rebuild., guix-commits, 2024/12/05
- 09/14: gnu: libffi: Update to 3.4.6., guix-commits, 2024/12/05