[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
205/211: gnu: perl-boot0: Remove bootstrap leaks.
From: |
Jan Nieuwenhuizen |
Subject: |
205/211: gnu: perl-boot0: Remove bootstrap leaks. |
Date: |
Sat, 8 Sep 2018 11:09:59 -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.
- 211/211: gnu: mes-boot0: Support Nyacc 0.86.0., (continued)
- 211/211: gnu: mes-boot0: Support Nyacc 0.86.0., Jan Nieuwenhuizen, 2018/09/08
- 196/211: build: make %boot*-inputs a procedure., Jan Nieuwenhuizen, 2018/09/08
- 210/211: gnu: nyacc-boot: Update to 0.86.0., Jan Nieuwenhuizen, 2018/09/08
- 206/211: gnu: m4-boot0: New variable., Jan Nieuwenhuizen, 2018/09/08
- 201/211: gnu: file-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 204/211: gnu: gcc-boot0: Workaround libtool install bug., Jan Nieuwenhuizen, 2018/09/08
- 203/211: gnu: glibc-mesboot: Drop obsolete sun rpc support., Jan Nieuwenhuizen, 2018/09/08
- 208/211: gnu: nyacc: Update to 0.86.0., Jan Nieuwenhuizen, 2018/09/08
- 199/211: gnu: diffutils-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 183/211: gnu: gcc-core-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 205/211: gnu: perl-boot0: Remove bootstrap leaks.,
Jan Nieuwenhuizen <=
- 197/211: Oops, libstdc++ build fixes WIP, Jan Nieuwenhuizen, 2018/09/08
- 177/211: gnu: mes-boot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 190/211: gnu: gcc-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 180/211: gnu: make-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 181/211: gnu: diffutils-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 162/211: gnu: Add glibc-mesboot 2.3.6. WIP, Jan Nieuwenhuizen, 2018/09/08
- 185/211: gnu: glibc-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 207/211: gnu: bison-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 193/211: gnu: glibc-mesboot: Oops, install everything., Jan Nieuwenhuizen, 2018/09/08
- 189/211: gnu: make-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08