[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
207/210: gnu: bison-boot0: Remove bootstrap leaks.
From: |
Jan Nieuwenhuizen |
Subject: |
207/210: gnu: bison-boot0: Remove bootstrap leaks. |
Date: |
Sat, 8 Sep 2018 10:36: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.
- 204/210: gnu: gcc-boot0: Workaround libtool install bug., (continued)
- 204/210: gnu: gcc-boot0: Workaround libtool install bug., Jan Nieuwenhuizen, 2018/09/08
- 205/210: gnu: perl-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 187/210: gnu: make-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 208/210: gnu: nyacc: Update to 0.86.0., Jan Nieuwenhuizen, 2018/09/08
- 202/210: gnu: libstdc++-boot0: Copy libstdc++.so.6.0.20 to pass install., Jan Nieuwenhuizen, 2018/09/08
- 206/210: gnu: m4-boot0: New variable., Jan Nieuwenhuizen, 2018/09/08
- 188/210: gnu: binutils-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 185/210: gnu: glibc-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 180/210: gnu: make-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 176/210: mescc-tools-boot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 207/210: gnu: bison-boot0: Remove bootstrap leaks.,
Jan Nieuwenhuizen <=
- 181/210: gnu: diffutils-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 172/210: copy-linux-headers: Update for glibc-2.16.0., Jan Nieuwenhuizen, 2018/09/08
- 190/210: gnu: gcc-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 186/210: gnu: gcc-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 189/210: gnu: make-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 194/210: oops: fixup glibc-bootstrap-system-2.16.0.patch name., Jan Nieuwenhuizen, 2018/09/08
- 209/210: gnu: nyacc-boot: Update to 0.86.0., Jan Nieuwenhuizen, 2018/09/08
- 203/210: gnu: glibc-mesboot: Drop obsolete sun rpc support., Jan Nieuwenhuizen, 2018/09/08
- 192/210: gnu: glibc-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 210/210: gnu: mes-boot0: Support Nyacc 0.86.0., Jan Nieuwenhuizen, 2018/09/08