[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
205/207: gnu: perl-boot0: Remove bootstrap leaks.
From: |
Jan Nieuwenhuizen |
Subject: |
205/207: gnu: perl-boot0: Remove bootstrap leaks. |
Date: |
Sat, 8 Sep 2018 13:26:35 -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.
- 181/207: gnu: diffutils-mesboot: Cleanup., (continued)
- 181/207: gnu: diffutils-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 66/207: gnu: binutils-boot: Update to 2.30., Jan Nieuwenhuizen, 2018/09/08
- 203/207: gnu: glibc-mesboot: Drop obsolete sun rpc support., Jan Nieuwenhuizen, 2018/09/08
- 157/207: Revert "gnu: Add %make-static, %make-static-stripped, %make-bootstrap-tarball.", Jan Nieuwenhuizen, 2018/09/08
- 177/207: gnu: mes-boot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 123/207: gnu: binutils-mesboot0: Revise dependencies., Jan Nieuwenhuizen, 2018/09/08
- 120/207: gnu: mes-boot: Update to 0.16.1; revise dependencies., Jan Nieuwenhuizen, 2018/09/08
- 171/207: %bootstrap-linux-libre-headers: Update, Jan Nieuwenhuizen, 2018/09/08
- 158/207: gnu: Add make-mesboot0 3.80, Jan Nieuwenhuizen, 2018/09/08
- 198/207: gnu: Add gcc-mesboot-4.9.4., Jan Nieuwenhuizen, 2018/09/08
- 205/207: gnu: perl-boot0: Remove bootstrap leaks.,
Jan Nieuwenhuizen <=
- 183/207: gnu: gcc-core-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 207/207: gnu: bison-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 197/207: Oops, libstdc++ build fixes WIP, Jan Nieuwenhuizen, 2018/09/08
- 89/207: gnu: %tinycc-seed: Update for mes 0.16., Jan Nieuwenhuizen, 2018/09/08
- 179/207: gnu: tcc-boot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 125/207: gnu: glibc-mesboot: Revise dependencies., Jan Nieuwenhuizen, 2018/09/08
- 178/207: gnu: tcc-boot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 201/207: gnu: file-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 164/207: gnu: Add gcc-mesboot-wrapper 4.7.4., Jan Nieuwenhuizen, 2018/09/08
- 195/207: glibc-mesboot: do not validate runpath, Jan Nieuwenhuizen, 2018/09/08