[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/33: gnu: commencement: glibc-intermediate: Build fixes for the Hurd.
From: |
guix-commits |
Subject: |
23/33: gnu: commencement: glibc-intermediate: Build fixes for the Hurd. |
Date: |
Fri, 13 Mar 2020 02:45:56 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd
in repository guix.
commit 68aa59c4da7ce156cd31a798d870548c1e7b0580
Author: Jan Nieuwenhuizen <address@hidden>
AuthorDate: Mon Mar 2 23:59:56 2020 -0500
gnu: commencement: glibc-intermediate: Build fixes for the Hurd.
* gnu/packages/commencement.scm (glibc-intermediate): Configure with
--disable-werror, update pthreads workaround.
---
gnu/packages/commencement.scm | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 760fe02..0473904 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -3236,7 +3236,9 @@ the bootstrap environment."
((#:configure-flags flags)
`(append (list ,(string-append "--host=" (boot-triplet))
,(string-append "--build="
- (nix-system->gnu-triplet)))
+ (nix-system->gnu-triplet))
+ ,(if (hurd-system?) "--disable-werror"
+ ""))
,flags))
((#:phases phases)
`(modify-phases ,phases
@@ -3247,13 +3249,14 @@ the bootstrap environment."
(unsetenv "CPATH")
;; Tell 'libpthread' where to find 'libihash' on Hurd
systems.
- ,@(if (hurd-triplet? (%current-system))
- `((substitute* "libpthread/Makefile"
- (("LDLIBS-pthread.so =.*")
- (string-append "LDLIBS-pthread.so = "
- (assoc-ref %build-inputs
"kernel-headers")
- "/lib/libihash.a\n"))))
- '())
+ ,@(if (hurd-system?)
+ '((substitute* '("sysdeps/mach/Makefile"
+ "sysdeps/mach/hurd/Makefile")
+ (("LDLIBS-pthread.so =.*")
+ (string-append "LDLIBS-pthread.so = "
+ (assoc-ref %build-inputs
"kernel-headers")
+ "/lib/libihash.a\n"))))
+ '())
;; 'rpcgen' needs native libc headers to be built.
(substitute* "sunrpc/Makefile"
@@ -3274,7 +3277,7 @@ the bootstrap environment."
,@(%boot1-inputs)
;; A native MiG is needed to build Glibc on Hurd.
- ,@(if (hurd-triplet? (%current-system))
+ ,@(if (hurd-system?)
`(("mig" ,mig-boot0))
'())
- 01/33: gnu: flex-2.6.1: Build fix for the Hurd., (continued)
- 01/33: gnu: flex-2.6.1: Build fix for the Hurd., guix-commits, 2020/03/13
- 10/33: gnu: cross-libc: Build fix for the Hurd., guix-commits, 2020/03/13
- 06/33: gnu: less: Build fix for the Hurd., guix-commits, 2020/03/13
- 13/33: gnu: pciutils: Build fixes for the Hurd., guix-commits, 2020/03/13
- 19/33: gnu: commencement: gcc-boot0: Build fix for the Hurd., guix-commits, 2020/03/13
- 04/33: gnu: java-jansi-native: Compile fix for the Hurd., guix-commits, 2020/03/13
- 11/33: gnu: shadow: Add linux-pam dependency for the Hurd., guix-commits, 2020/03/13
- 08/33: gnu: glibc: Add and update patches for the Hurd., guix-commits, 2020/03/13
- 20/33: gnu: commencement: gnumach-headers-boot0: Build from tarball., guix-commits, 2020/03/13
- 24/33: gnu: commencement: hurd-source: Update to latest git., guix-commits, 2020/03/13
- 23/33: gnu: commencement: glibc-intermediate: Build fixes for the Hurd.,
guix-commits <=
- 28/33: gnu: hurd: Update to hurd-headers version: 0.9-91a51672., guix-commits, 2020/03/13
- 25/33: gnu: commencement: gnumach-headers-boot0: Update to 1.8-116-g28b53508., guix-commits, 2020/03/13
- 29/33: daemon: Do not use clone on the Hurd., guix-commits, 2020/03/13
- 32/33: gnu: bootstrap: gcc-static: Use gcc-5., guix-commits, 2020/03/13
- 33/33: DRAFT gnu: bootstrap: Add support for the Hurd., guix-commits, 2020/03/13
- 16/33: gnu: screen: Build fix for the Hurd., guix-commits, 2020/03/13
- 05/33: gnu: make: Support for the Hurd., guix-commits, 2020/03/13
- 02/33: gnu: grub: Support for the Hurd., guix-commits, 2020/03/13
- 12/33: gnu: coreutils: Remove libcap dependency for the Hurd., guix-commits, 2020/03/13
- 07/33: gnu: fontconfig: Build fix for the Hurd., guix-commits, 2020/03/13