[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
207/211: gnu: bison-boot0: Remove bootstrap leaks.
From: |
Jan Nieuwenhuizen |
Subject: |
207/211: gnu: bison-boot0: Remove bootstrap leaks. |
Date: |
Sat, 8 Sep 2018 11:09:59 -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.
- 199/211: gnu: diffutils-boot0: Remove bootstrap leaks., (continued)
- 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
- 180/211: gnu: make-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 181/211: gnu: diffutils-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 162/211: gnu: Add glibc-mesboot 2.3.6. WIP, Jan Nieuwenhuizen, 2018/09/08
- 185/211: gnu: glibc-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 207/211: gnu: bison-boot0: Remove bootstrap leaks.,
Jan Nieuwenhuizen <=
- 193/211: gnu: glibc-mesboot: Oops, install everything., Jan Nieuwenhuizen, 2018/09/08
- 189/211: gnu: make-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 172/211: copy-linux-headers: Update for glibc-2.16.0., Jan Nieuwenhuizen, 2018/09/08
- 198/211: gnu: Add gcc-mesboot-4.9.4., Jan Nieuwenhuizen, 2018/09/08
- 202/211: gnu: libstdc++-boot0: Copy libstdc++.so.6.0.20 to pass install., Jan Nieuwenhuizen, 2018/09/08
- 145/211: bootstrap: Integrate mes bootstrap for i686-linux., Jan Nieuwenhuizen, 2018/09/08
- 191/211: gnu: glibc-headers-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 192/211: gnu: glibc-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 194/211: oops: fixup glibc-bootstrap-system-2.16.0.patch name., Jan Nieuwenhuizen, 2018/09/08
- 179/211: gnu: tcc-boot: Cleanup., Jan Nieuwenhuizen, 2018/09/08