gnu: commencement: bootar: Build fix for i686-linux.

Fixes <https://bugs.gnu.org/39699>.

* gnu/packages/commencement.scm (bootar)[i686-linux]: Stub bzip2.
This commit is contained in:
Jan Nieuwenhuizen 2020-02-21 07:46:16 +01:00
parent c7d9abf830
commit a82cf70e8a
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -111,6 +111,16 @@ (define bootar
(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 "."))