From f436723ce7da2f5e752f5f4b6f0d568a7bea4403 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 4 Jul 2021 00:05:57 +0200 Subject: gnu: make-boot0: Build with "--disable-posix-spawn". Fixes . * gnu/packages/commencement.scm (gnu-make-boot0)[arguments]: Pass "--disable-posix-spawn" on non-x86. --- gnu/packages/commencement.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'gnu/packages/commencement.scm') diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 9e8bbf97be..c4aa8b2a63 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -2417,7 +2417,16 @@ (define gnu-make-boot0 ;; The generated config.status has some problems due to the ;; bootstrap environment. Disable dependency tracking to work ;; around it. - `(cons "--disable-dependency-tracking" ,flags)) + `(cons "--disable-dependency-tracking" + + ;; 'glibc-bootstrap' on non-x86 platforms has a buggy + ;; 'posix_spawn'. Thus, disable it. See + ;; . + ,(match (%current-system) + ((or "i686-linux" "x86_64-linux") + flags) + (_ + `(cons "--disable-posix-spawn" ,flags))))) ((#:phases phases) `(modify-phases ,phases (replace 'build -- cgit v1.2.3