[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
206/211: gnu: m4-boot0: New variable.
From: |
Jan Nieuwenhuizen |
Subject: |
206/211: gnu: m4-boot0: New variable. |
Date: |
Sat, 8 Sep 2018 11:09:59 -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)
- branch wip-bootstrap created (now 18e7a8b), Jan Nieuwenhuizen, 2018/09/08
- 17/211: bump: mlibc: Mescc-tools support: chmod., Jan Nieuwenhuizen, 2018/09/08
- 23/211: gnu: mescc-tools-boot: Update to bootstrap from M1 binaries., Jan Nieuwenhuizen, 2018/09/08
- 14/211: bump tcc-boot: mlibc: GNU Gcc support: setjmp, longjmp., Jan Nieuwenhuizen, 2018/09/08
- 02/211: gnu: Add mescc-tools-boot., Jan Nieuwenhuizen, 2018/09/08
- 133/211: bootstrap: Move mes seeds to bootstrap.scm, Jan Nieuwenhuizen, 2018/09/08
- 209/211: gnu: mes: Update to 0.17.1., Jan Nieuwenhuizen, 2018/09/08
- 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 <=
- 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, 2018/09/08
- 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