diff options
author | Jan Nieuwenhuizen <janneke@gnu.org> | 2020-02-21 07:46:16 +0100 |
---|---|---|
committer | Jan Nieuwenhuizen <janneke@gnu.org> | 2020-02-21 22:25:13 +0100 |
commit | a82cf70e8ae4c8dcf03d2633f09dcfc8bb6d6d1e (patch) | |
tree | db8ea3208b6f333a4133c0fad4a5aa7de5c4772f /gnu/packages/commencement.scm | |
parent | c7d9abf830c16a00bcec76cdac603f956ecfc9dd (diff) | |
download | guix-a82cf70e8ae4c8dcf03d2633f09dcfc8bb6d6d1e.tar.gz |
gnu: commencement: bootar: Build fix for i686-linux.
Fixes <https://bugs.gnu.org/39699>. * gnu/packages/commencement.scm (bootar)[i686-linux]: Stub bzip2.
Diffstat (limited to 'gnu/packages/commencement.scm')
-rw-r--r-- | gnu/packages/commencement.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index e3800d84a5..dc5d9a1bcf 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 ".")) |