[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
207/207: gnu: bison-boot0: Remove bootstrap leaks.
From: |
Jan Nieuwenhuizen |
Subject: |
207/207: gnu: bison-boot0: Remove bootstrap leaks. |
Date: |
Sat, 8 Sep 2018 13:26:36 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit cf580ef33d551293bd23418cbd5e74119ecba2d3
Author: Jan Nieuwenhuizen <address@hidden>
Date: Sat Sep 8 13:03:56 2018 +0200
gnu: bison-boot0: Remove bootstrap leaks.
* gnu/packages/commencement.scm (bison-boot0): Remove bootstrap leaks.
Avoid
ranlib -D. AFAICS there is no such flag in binutils-cross-boot0's ranlib.
---
gnu/packages/commencement.scm | 36 +++++++++++++++++++-----------------
1 file changed, 19 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 964682a..aa2a766 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1938,23 +1938,25 @@ exec " gcc "/bin/" program
;; 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 ((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)
- (current-source-location)
- #:guile %bootstrap-guile)))
- (native-inputs `(("perl" ,perl-boot0))))))
+ (package-with-bootstrap-guile
+ (package
+ (inherit bison)
+ (propagated-inputs `(("m4" ,m4-boot0)))
+ (inputs (%boot0-inputs)) ;remove Flex...
+ (native-inputs `(("perl" ,perl-boot0)))
+ (arguments
+ `(#:guile ,%bootstrap-guile
+ #:implicit-inputs? #f
+ #: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"
+ ,,(match (%current-system)
+ ;; ranlib: '-D': No such file
+ ("i686-linux" "RANLIB=ranlib")
+ (_ "RANLIB=ranlib -D"))
+ "V=1"))))))
(define flex-boot0
;; This Flex is needed to build MiG.
- 203/207: gnu: glibc-mesboot: Drop obsolete sun rpc support., (continued)
- 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, 2018/09/08
- 183/207: gnu: gcc-core-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 207/207: gnu: bison-boot0: Remove bootstrap leaks.,
Jan Nieuwenhuizen <=
- 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
- 162/207: gnu: Add glibc-mesboot 2.3.6. WIP, Jan Nieuwenhuizen, 2018/09/08
- 202/207: gnu: libstdc++-boot0: Copy libstdc++.so.6.0.20 to pass install., Jan Nieuwenhuizen, 2018/09/08