[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
166/192: gnu: file-boot0: Do not strip binaries or validate-runpath.
From: |
Jan Nieuwenhuizen |
Subject: |
166/192: gnu: file-boot0: Do not strip binaries or validate-runpath. |
Date: |
Mon, 3 Sep 2018 16:25:20 -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
- 126/192: gnu: gcc-mesboot0: Revise dependencies., (continued)
- 126/192: gnu: gcc-mesboot0: Revise dependencies., Jan Nieuwenhuizen, 2018/09/03
- 131/192: gnu: mes: Update to 0.17., Jan Nieuwenhuizen, 2018/09/03
- 117/192: gnu: Remove gcc-mesboot-4.1.0., Jan Nieuwenhuizen, 2018/09/03
- 141/192: gnu: Add %bootstrap-diffutils., Jan Nieuwenhuizen, 2018/09/03
- 156/192: Revert "gnu: Add %bootstrap-make.", Jan Nieuwenhuizen, 2018/09/03
- 127/192: gnu: binutils-mesboot: Revise dependencies., Jan Nieuwenhuizen, 2018/09/03
- 147/192: gnu: %tinycc-seed: Update for mes 0.17.1., Jan Nieuwenhuizen, 2018/09/03
- 144/192: gnu: bootstrap-tarballs: Update inputs for i686-linux., Jan Nieuwenhuizen, 2018/09/03
- 159/192: gcc-mesboot: use package-full-name "-" :-), Jan Nieuwenhuizen, 2018/09/03
- 170/192: gnu: make-mesboot: Update to 3.82., Jan Nieuwenhuizen, 2018/09/03
- 166/192: gnu: file-boot0: Do not strip binaries or validate-runpath.,
Jan Nieuwenhuizen <=
- 169/192: bootstrap: Evaluate %bootstrap-inputs+toolchain at build time., Jan Nieuwenhuizen, 2018/09/03
- 181/192: gnu: diffutils-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/03
- 140/192: gnu: Add %diffutils-static, %diffutils-static-stripped, %diffutils-bootstrap-tarball., Jan Nieuwenhuizen, 2018/09/03
- 149/192: gnu: tcc-boot: Update for mes 0.17.1., Jan Nieuwenhuizen, 2018/09/03
- 143/192: gnu: Add %bootstrap-linux-libre-headers., Jan Nieuwenhuizen, 2018/09/03
- 155/192: Revert "gnu: Add %diffutils-static, %diffutils-static-stripped, %diffutils-bootstrap-tarball.", Jan Nieuwenhuizen, 2018/09/03
- 165/192: Revert "gnu: make-boot0: Set LOADLIBES for i686-linux.", Jan Nieuwenhuizen, 2018/09/03
- 168/192: gnu: gcc-mesboot-wrapper: Wrap g++ too., Jan Nieuwenhuizen, 2018/09/03
- 172/192: copy-linux-headers: Update for glibc-2.16.0., Jan Nieuwenhuizen, 2018/09/03
- 171/192: %bootstrap-linux-libre-headers: Update, Jan Nieuwenhuizen, 2018/09/03