This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch core-updates
in repository guix.

The following commit(s) were added to refs/heads/core-updates by this push:
     new 9782c45292 gnu: coreutils-boot0: Fix building on arm architectures.
9782c45292 is described below

commit 9782c4529249c8300501202112c095a6589845d3
Author: Efraim Flashner <[email protected]>
AuthorDate: Sun Dec 11 22:35:06 2022 +0200

    gnu: coreutils-boot0: Fix building on arm architectures.
    
    * gnu/packages/commencement.scm (coreutils-boot0)[arguments]: When
    building for arm architectures skip building some programs.
---
 gnu/packages/commencement.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index b54c21b258..1362cd99ca 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1969,6 +1969,15 @@ exec " gcc "/bin/" program
     (arguments
      `(#:tests? #f
        #:implicit-inputs? #f
+       ,@(if (target-arm?)
+           ;; Some binaries fail to build.
+           `(#:configure-flags '(,(string-append
+                                    "--enable-no-install-program="
+                                    ;; the defaults
+                                    "arch,coreutils,hostname"
+                                    ;; fails on aarch64
+                                    ",timeout,sort")))
+           '())
        #:guile ,%bootstrap-guile
        ,@(package-arguments coreutils)))))
 

Reply via email to