[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/14: bootstrap: perl-boot0: Disable validate-runpath?.
From: |
Jan Nieuwenhuizen |
Subject: |
12/14: bootstrap: perl-boot0: Disable validate-runpath?. |
Date: |
Wed, 19 Sep 2018 01:04:05 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 1f9f80ace790cfdb3e996f65c26727423de0f2ff
Author: Jan Nieuwenhuizen <address@hidden>
Date: Tue Sep 18 23:04:57 2018 +0200
bootstrap: perl-boot0: Disable validate-runpath?.
* gnu/packages/commencement.scm (perl-boot0): Add disable validate-runpath?
to
args, and actually pass args.
---
gnu/packages/commencement.scm | 34 ++++++++++++++++++----------------
1 file changed, 18 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 91e7f5b..42fc43f 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1820,23 +1820,25 @@ exec " gcc "/bin/" program
(name "perl-boot0")
(arguments
;; At the very least, this must not depend on GCC & co.
- (let ((args `(#:disallowed-references
+ (let ((args `(#:validate-runpath? #f
+ #: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))))))))
+ `(,@args
+ ,@(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
- branch wip-bootstrap created (now d7feea5), Jan Nieuwenhuizen, 2018/09/19
- 03/14: gnu: m4-boot0: New variable., Jan Nieuwenhuizen, 2018/09/19
- 05/14: bootstrap: static-bash-for-glibc: Consider %current-system at run time., Jan Nieuwenhuizen, 2018/09/19
- 11/14: bootstrap: bison-boot0: Do not use `ranlib -D'., Jan Nieuwenhuizen, 2018/09/19
- 04/14: bootstrap: Use thunk for inputs in package-with-explicit-inputs., Jan Nieuwenhuizen, 2018/09/19
- 13/14: bootstrap: Replace GNU toolchain seeds with Mes for i686-linux., Jan Nieuwenhuizen, 2018/09/19
- 01/14: bootstrap: %bootstrap-inputs: Wrap input lists into thunks., Jan Nieuwenhuizen, 2018/09/19
- 12/14: bootstrap: perl-boot0: Disable validate-runpath?.,
Jan Nieuwenhuizen <=
- 08/14: gnu: Add linux-libre-headers-bootstrap-tarball., Jan Nieuwenhuizen, 2018/09/19
- 02/14: bootstrap: %bootstrap-inputs+toolchain: Replace %bootstrap-inputs., Jan Nieuwenhuizen, 2018/09/19
- 06/14: guix: package-from-tarball: Allow PROGRAM-TO-TEST to be #f., Jan Nieuwenhuizen, 2018/09/19
- 09/14: bootstrap: Add Mes bootstrap seeds., Jan Nieuwenhuizen, 2018/09/19
- 07/14: guix: copy-linux-headers: Extract procedure, add headers., Jan Nieuwenhuizen, 2018/09/19
- 14/14: doc: Describe the Reduced Binary Seed bootstrap., Jan Nieuwenhuizen, 2018/09/19
- 10/14: bootstrap: Add Mes bootstrap., Jan Nieuwenhuizen, 2018/09/19