[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
206/207: gnu: m4-boot0: New variable.
From: |
Jan Nieuwenhuizen |
Subject: |
206/207: gnu: m4-boot0: New variable. |
Date: |
Sat, 8 Sep 2018 13:26:35 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 9556f558bcaab748d9c074d90c1d1c8e2342a7e4
Author: Jan Nieuwenhuizen <address@hidden>
Date: Sat Sep 8 12:58:57 2018 +0200
gnu: m4-boot0: New variable.
This fixes the bootstrap leaks in m4 declared as part of bison-boot0.
* gnu/packages/commencement.scm (m4-boot0): New variable.
---
gnu/packages/commencement.scm | 37 ++++++++++++++++++++++---------------
1 file changed, 22 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 80e8684..964682a 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1923,25 +1923,32 @@ exec " gcc "/bin/" program
(propagated-inputs '())
(native-inputs '()))))
+(define m4-boot0
+ (package-with-bootstrap-guile
+ (package
+ (inherit m4)
+ (name "m4-boot0")
+ (inputs (%boot0-inputs))
+ (arguments
+ `(#:guile ,%bootstrap-guile
+ #:implicit-inputs? #f
+ ,@(package-arguments m4))))))
+
(define bison-boot0
;; This Bison is needed to build MiG so we need it early in the process.
;; It is also needed to rebuild Bash's parser, which is modified by
;; its CVE patches. Remove it when it's no longer needed.
- (let* ((m4 (package-with-bootstrap-guile
- (package-with-explicit-inputs m4 (%boot0-inputs)
- (current-source-location)
- #:guile %bootstrap-guile)))
- (bison (package (inherit bison)
- (propagated-inputs `(("m4" ,m4)))
- (inputs '()) ;remove Flex...
- (arguments
- '(#:tests? #f ;... and thus disable tests
-
- ;; Zero timestamps in liby.a; this must be done
- ;; explicitly here because the bootstrap Binutils don't
- ;; do that (default is "cru".)
- #:make-flags '("ARFLAGS=crD" "RANLIB=ranlib -D"
- "V=1"))))))
+ (let ((bison (package (inherit bison)
+ (propagated-inputs `(("m4" ,m4-boot0)))
+ (inputs '()) ;remove Flex...
+ (arguments
+ '(#:tests? #f ;... and thus disable tests
+
+ ;; Zero timestamps in liby.a; this must be done
+ ;; explicitly here because the bootstrap Binutils
don't
+ ;; do that (default is "cru".)
+ #:make-flags '("ARFLAGS=crD" "RANLIB=ranlib -D"
+ "V=1"))))))
(package
(inherit (package-with-bootstrap-guile
(package-with-explicit-inputs bison (%boot0-inputs)
- 131/207: gnu: mes: Update to 0.17., (continued)
- 131/207: gnu: mes: Update to 0.17., Jan Nieuwenhuizen, 2018/09/08
- 167/207: gnu: gcc-mesboot: Enable c++ too., Jan Nieuwenhuizen, 2018/09/08
- 119/207: gnu: %mes-seed: Update for mes 0.16.1., Jan Nieuwenhuizen, 2018/09/08
- 94/207: gnu: tcc-boot0: Update for mes 0.16., Jan Nieuwenhuizen, 2018/09/08
- 104/207: gnu: gcc-mesboot: Rename from gcc-boot., Jan Nieuwenhuizen, 2018/09/08
- 126/207: gnu: gcc-mesboot0: Revise dependencies., Jan Nieuwenhuizen, 2018/09/08
- 71/207: gnu: gcc-boot: Update to 2.95.3., Jan Nieuwenhuizen, 2018/09/08
- 174/207: gnu: glibc-mesboot: Update to 2.16.0., Jan Nieuwenhuizen, 2018/09/08
- 128/207: gnu: gcc-mesboot: Revise dependencies., Jan Nieuwenhuizen, 2018/09/08
- 47/207: gnu: %tinycc-seed: Update for mes 0.13., Jan Nieuwenhuizen, 2018/09/08
- 206/207: gnu: m4-boot0: New variable.,
Jan Nieuwenhuizen <=
- 172/207: copy-linux-headers: Update for glibc-2.16.0., Jan Nieuwenhuizen, 2018/09/08
- 141/207: gnu: Add %bootstrap-diffutils., Jan Nieuwenhuizen, 2018/09/08
- 199/207: gnu: diffutils-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 93/207: gnu: Add tcc-boot 0.9.27., Jan Nieuwenhuizen, 2018/09/08
- 187/207: gnu: make-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 154/207: Revert "gnu: Add %bootstrap-diffutils.", Jan Nieuwenhuizen, 2018/09/08
- 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