[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/15: gnu: perl-boot0: Remove bootstrap leaks.
From: |
Jan Nieuwenhuizen |
Subject: |
06/15: gnu: perl-boot0: Remove bootstrap leaks. |
Date: |
Sun, 9 Sep 2018 09:21:49 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 5210a03f8678160980c607259d9bc96b6c4fc189
Author: Jan Nieuwenhuizen <address@hidden>
Date: Sun Sep 9 13:42:22 2018 +0200
gnu: perl-boot0: Remove bootstrap leaks.
* gnu/packages/commencement.scm (perl-boot0): Remove bootstrap leaks.
---
gnu/packages/commencement.scm | 55 ++++++++++++++++++++++---------------------
1 file changed, 28 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index c8108f6..dbb9620 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -314,33 +314,34 @@
(native-inputs `()))))
(define perl-boot0
- (let ((perl (package
- (inherit perl)
- (name "perl-boot0")
- (arguments
- ;; At the very least, this must not depend on GCC & co.
- (let ((args `(#:disallowed-references
- ,(list %bootstrap-binutils))))
- (substitute-keyword-arguments (package-arguments perl)
- ((#:phases phases)
- `(modify-phases ,phases
- ;; Pthread support is missing in the bootstrap
compiler
- ;; (broken spec file), so disable it.
- (add-before 'configure 'disable-pthreads
- (lambda _
- (substitute* "Configure"
- (("^libswanted=(.*)pthread" _ before)
- (string-append "libswanted=" before)))
- #t))))
- ;; Do not configure with '-Dusethreads' since pthread
- ;; support is missing.
- ((#:configure-flags configure-flags)
- `(delete "-Dusethreads" ,configure-flags))))))))
- (package-with-bootstrap-guile
- (package-with-explicit-inputs perl
- (%boot0-inputs)
- (current-source-location)
- #:guile %bootstrap-guile))))
+ (package-with-bootstrap-guile
+ (package
+ (inherit perl)
+ (name "perl-boot0")
+ (arguments
+ `(#:guile ,%bootstrap-guile
+ #:implicit-inputs? #f
+ ;; At the very least, this must not depend on GCC & co.
+ #:disallowed-references
+ ,(list %bootstrap-binutils)
+ ,@(substitute-keyword-arguments (package-arguments perl)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ ;; Pthread support is missing in the bootstrap compiler
+ ;; (broken spec file), so disable it.
+ (add-before 'configure 'disable-pthreads
+ (lambda _
+ (substitute* "Configure"
+ (("^libswanted=(.*)pthread" _ before)
+ (string-append "libswanted=" before)))
+ #t))))
+ ;; Do not configure with '-Dusethreads' since pthread
+ ;; support is missing.
+ ((#:configure-flags configure-flags)
+ `(delete "-Dusethreads" ,configure-flags)))))
+ (inputs (%boot0-inputs))
+ (propagated-inputs '())
+ (native-inputs '()))))
(define bison-boot0
;; This Bison is needed to build MiG so we need it early in the process.
- branch wip-bootstrap created (now 1e84ca7), Jan Nieuwenhuizen, 2018/09/09
- 07/15: gnu: m4-boot0: New variable., Jan Nieuwenhuizen, 2018/09/09
- 08/15: gnu: bison-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/09
- 04/15: gnu: findutils-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/09
- 11/15: guix: copy-linux-headers: Prepare for Mes bootstrap., Jan Nieuwenhuizen, 2018/09/09
- 02/15: bootstrap: %bootstrap-inputs+toolchain: Prepare for Mes bootstrap., Jan Nieuwenhuizen, 2018/09/09
- 03/15: gnu: diffutils-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/09
- 06/15: gnu: perl-boot0: Remove bootstrap leaks.,
Jan Nieuwenhuizen <=
- 10/15: guix: package-from-tarball: Allow PROGRAM-TO-TEST to be #f., Jan Nieuwenhuizen, 2018/09/09
- 05/15: gnu: file-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/09
- 09/15: gnu: texinfo-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/09
- 13/15: gnu: Add Mes bootstrap seeds., Jan Nieuwenhuizen, 2018/09/09
- 12/15: gnu: Add linux-libre-headers-bootstrap-tarball., Jan Nieuwenhuizen, 2018/09/09
- 15/15: bootstrap: Replace GNU toolchain seeds with Mes for i686-linux., Jan Nieuwenhuizen, 2018/09/09
- 01/15: bootstrap: %bootstrap-inputs: Prepare for Mes bootstrap., Jan Nieuwenhuizen, 2018/09/09
- 14/15: bootstrap: Add Mes bootstrap., Jan Nieuwenhuizen, 2018/09/09