[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
166/207: gnu: file-boot0: Do not strip binaries or validate-runpath.
From: |
Jan Nieuwenhuizen |
Subject: |
166/207: gnu: file-boot0: Do not strip binaries or validate-runpath. |
Date: |
Sat, 8 Sep 2018 13:26:24 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 8ef73c2c0824fea8da2be3f71a44d092c7e5cbad
Author: Jan Nieuwenhuizen <address@hidden>
Date: Fri Aug 31 14:45:36 2018 +0200
gnu: file-boot0: Do not strip binaries or validate-runpath.
libtool: finish:
PATH="/gnu/store/8c3q88v30c79kb2j0k4917r551p0l63a-make-boot0-4.2.1/bin:/gnu/store/s06s4r2vz285dp20w5h7clssdbz2biin-binutils-mesboot-2.20.1a/bin:/gnu/store/pv3wp1yfn0bv7zljdjanmm9rmc04v5s3-gcc-mesboot-wrapper-4.7.4/bin:/gnu/store/7swwdnq02lqk4xkd8740fxdj1h4va38l-bootstrap-binaries-0/bin:/sbin"
ldconfig -n /gnu/store/j6qq0pzwx9abpjpd0xly5fp0gkqlx0k4-file-boot0-5.32/lib
/tmp/guix-build-file-boot0-5.32.drv-0/file-5.32/libtool: line 1086:
ldconfig: command not found
----------------------------------------------------------------------
validating RUNPATH of 1 binaries in
"/gnu/store/j6qq0pzwx9abpjpd0xly5fp0gkqlx0k4-file-boot0-5.32/bin"...
/gnu/store/j6qq0pzwx9abpjpd0xly5fp0gkqlx0k4-file-boot0-5.32/bin/file:
error: depends on 'libmagic.so.1', which cannot be found in RUNPATH ()
* gnu/packages/commencement.scm (file-boot0): Do not strip binaries or
validate-runpath.
---
gnu/packages/commencement.scm | 34 +++++++++++++++++++++++++++-------
1 file changed, 27 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 0d44ee1..201eb2b 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1742,13 +1742,33 @@ exec " gcc "/bin/gcc"
(define file-boot0
(package-with-bootstrap-guile
- (package-with-explicit-inputs (package
- (inherit file)
- (name "file-boot0"))
- `(("make" ,gnu-make-boot0)
- ,@%bootstrap-inputs+toolchain)
- (current-source-location)
- #:guile %bootstrap-guile)))
+ (let ((p (package-with-explicit-inputs file
+ `(("make" ,gnu-make-boot0)
+ ,@%bootstrap-inputs+toolchain)
+ #:guile %bootstrap-guile)))
+ (package
+ (inherit p)
+ (name "file-boot0")
+ (arguments `(#:strip-binaries?
+ ,(match (%current-system)
+ ;strip: supported targets: elf32-i386
a.out-i386-linux pei-i386
+ ;elf32-little elf32-big srec
symbolsrec verilog tekhex binary ihex
+ ;trad-core
+ ("i686-linux" #f)
+ (_ #t)) ; attempt to change nothing
+ #:validate-runpath?
+ ,(match (%current-system)
+ ; validating RUNPATH of 1
+ ; binaries in
+ ;
"/gnu/store/j6qq0pzwx9abpjpd0xly5fp0gkqlx0k4-file-boot0-5.32/bin"...
+ ;
/gnu/store/j6qq0pzwx9abpjpd0xly5fp0gkqlx0k4-file-boot0-5.32/bin/file:
+ ; error: depends on
+ ; 'libmagic.so.1', which
+ ; cannot be found in RUNPATH
+ ; ()
+ ("i686-linux" #f)
+ (_ #t))
+ ,@(package-arguments p)))))))
(define %boot0-inputs
- 192/207: gnu: glibc-mesboot: Cleanup., (continued)
- 192/207: gnu: glibc-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 98/207: gnu: binutils-boot0: Inject AR, LD from bootstrap-binaries., Jan Nieuwenhuizen, 2018/09/08
- 113/207: gnu: binutils-mesboot0: Package with bootstrap-guile., Jan Nieuwenhuizen, 2018/09/08
- 118/207: gnu: mescc-tools-boot: Revise dependencies., Jan Nieuwenhuizen, 2018/09/08
- 163/207: Add new cheat: use %bootstrap-glibc for x86 for now., Jan Nieuwenhuizen, 2018/09/08
- 124/207: gnu: gcc-core-mesboot: Revise dependencies., Jan Nieuwenhuizen, 2018/09/08
- 121/207: gnu: tcc-boot0: Revise dependencies., Jan Nieuwenhuizen, 2018/09/08
- 193/207: gnu: glibc-mesboot: Oops, install everything., Jan Nieuwenhuizen, 2018/09/08
- 109/207: REMOVEME: %fake-bootstrap => #t., Jan Nieuwenhuizen, 2018/09/08
- 160/207: gnu: Add mpc-boot 1.0.3., Jan Nieuwenhuizen, 2018/09/08
- 166/207: gnu: file-boot0: Do not strip binaries or validate-runpath.,
Jan Nieuwenhuizen <=
- 63/207: gnu: binutils-boot: Update to 2.10.1., Jan Nieuwenhuizen, 2018/09/08
- 134/207: gnu: mescc-tools-boot: Use gnu-build-system., Jan Nieuwenhuizen, 2018/09/08
- 110/207: Revert "REMOVEME: %fake-bootstrap => #t.", Jan Nieuwenhuizen, 2018/09/08
- 185/207: gnu: glibc-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 140/207: gnu: Add %diffutils-static, %diffutils-static-stripped, %diffutils-bootstrap-tarball., Jan Nieuwenhuizen, 2018/09/08
- 152/207: gnu: make-mesboot: Update to 3.80., Jan Nieuwenhuizen, 2018/09/08
- 188/207: gnu: binutils-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 139/207: gnu: Add %bootstrap-make., Jan Nieuwenhuizen, 2018/09/08
- 100/207: gnu: m4:mesboot: Rename from m4-boot., Jan Nieuwenhuizen, 2018/09/08
- 75/207: Revert "gnu: gcc-boot: Update to 3.4.0.", Jan Nieuwenhuizen, 2018/09/08