guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates updated: gnu: commencement: bootar: Build fix for i6


From: guix-commits
Subject: branch core-updates updated: gnu: commencement: bootar: Build fix for i686-linux.
Date: Fri, 21 Feb 2020 16:25:40 -0500

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

janneke 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 a82cf70  gnu: commencement: bootar: Build fix for i686-linux.
a82cf70 is described below

commit a82cf70e8ae4c8dcf03d2633f09dcfc8bb6d6d1e
Author: Jan Nieuwenhuizen <address@hidden>
AuthorDate: Fri Feb 21 07:46:16 2020 +0100

    gnu: commencement: bootar: Build fix for i686-linux.
    
    Fixes <https://bugs.gnu.org/39699>.
    
    * gnu/packages/commencement.scm (bootar)[i686-linux]: Stub bzip2.
---
 gnu/packages/commencement.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index e3800d8..dc5d9a1 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -111,6 +111,16 @@
                       (guile (string-append guile-dir "/bin/guile")))
                  (invoke guile "--no-auto-compile" source)
                  (chdir "bootar")
+                 ;; (commencement bzip2) breaks tar on x86, see
+                 ;; https://bugs.gnu.org/39699
+                 (delete-file "scripts/bzip2.in")
+                 (delete-file "compression/bzip2.scm")
+                 (with-output-to-file "compression/bzip2.scm"
+                   (lambda _
+                     (display "(define-module (compression bzip2))
+(define-public is-bzip2-file? (const #f))
+(define-public make-bzip2-input-port (const #f))
+")))
                  #t)))
            (replace 'configure (bootstrap-configure ,version "." "scripts"))
            (replace 'build (bootstrap-build "."))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]