[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
205/210: gnu: perl-boot0: Remove bootstrap leaks.
From: |
Jan Nieuwenhuizen |
Subject: |
205/210: gnu: perl-boot0: Remove bootstrap leaks. |
Date: |
Sat, 8 Sep 2018 10:36:36 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 100e2d2a929bc372a123184b68f209d0193e2c62
Author: Jan Nieuwenhuizen <address@hidden>
Date: Sat Sep 8 12:54:14 2018 +0200
gnu: perl-boot0: Remove bootstrap leaks.
* gnu/packages/commencement.scm (perl-boot0): Remove bootstrap leaks.
Disable
validate-runpath.
---
gnu/packages/commencement.scm | 56 ++++++++++++++++++++++---------------------
1 file changed, 29 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 7ad8ced..80e8684 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1893,33 +1893,35 @@ exec " gcc "/bin/" program
(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
+ #:validate-runpath? #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.
- 141/210: gnu: Add %bootstrap-diffutils., (continued)
- 141/210: gnu: Add %bootstrap-diffutils., Jan Nieuwenhuizen, 2018/09/08
- 24/210: gnu: Update mescc-tools-boot, mes-boot, tcc-boot for blood-elf., Jan Nieuwenhuizen, 2018/09/08
- 77/210: Revert "gnu: gcc-boot: Update to 3.0.", Jan Nieuwenhuizen, 2018/09/08
- 182/210: gnu: binutils-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 201/210: gnu: file-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 196/210: build: make %boot*-inputs a procedure., Jan Nieuwenhuizen, 2018/09/08
- 183/210: gnu: gcc-core-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 199/210: gnu: diffutils-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 177/210: gnu: mes-boot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 204/210: gnu: gcc-boot0: Workaround libtool install bug., Jan Nieuwenhuizen, 2018/09/08
- 205/210: gnu: perl-boot0: Remove bootstrap leaks.,
Jan Nieuwenhuizen <=
- 187/210: gnu: make-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 208/210: gnu: nyacc: Update to 0.86.0., Jan Nieuwenhuizen, 2018/09/08
- 202/210: gnu: libstdc++-boot0: Copy libstdc++.so.6.0.20 to pass install., Jan Nieuwenhuizen, 2018/09/08
- 206/210: gnu: m4-boot0: New variable., Jan Nieuwenhuizen, 2018/09/08
- 188/210: gnu: binutils-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 185/210: gnu: glibc-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 180/210: gnu: make-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 176/210: mescc-tools-boot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 207/210: gnu: bison-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 181/210: gnu: diffutils-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08