From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:39685) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inNyi-0005mW-L6 for guix-patches@gnu.org; Fri, 03 Jan 2020 09:31:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inNyg-0003yS-UF for guix-patches@gnu.org; Fri, 03 Jan 2020 09:31:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34556) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1inNyf-0003xd-T4 for guix-patches@gnu.org; Fri, 03 Jan 2020 09:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1inNyf-0003ZX-PZ for guix-patches@gnu.org; Fri, 03 Jan 2020 09:31:01 -0500 Subject: [bug#38893] [PATCH] gnu: make-bootstrap: Add cross-libc:static to the inputs. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:37846) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inNy0-00058O-Tb for guix-patches@gnu.org; Fri, 03 Jan 2020 09:30:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inNxz-0001GO-Qj for guix-patches@gnu.org; Fri, 03 Jan 2020 09:30:20 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:39280) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1inNxz-0001BC-JG for guix-patches@gnu.org; Fri, 03 Jan 2020 09:30:19 -0500 Received: by mail-wm1-x330.google.com with SMTP id 20so8744941wmj.4 for ; Fri, 03 Jan 2020 06:30:19 -0800 (PST) From: Mathieu Othacehe Date: Fri, 3 Jan 2020 15:30:10 +0100 Message-Id: <20200103143010.15985-1-m.othacehe@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38893@debbugs.gnu.org Cc: Mathieu Othacehe This is a follow-up of 4610ab7c9a5327df0d475262817bc081a5891aa8. 'getpw' & co fail with a cross-compiled statically-linked guile. * gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc)[inputs]: Add "cross-libc:static". --- gnu/packages/make-bootstrap.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm index d149a7ec1a..0144a6e9a2 100644 --- a/gnu/packages/make-bootstrap.scm +++ b/gnu/packages/make-bootstrap.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2018, 2019 Mark H Weaver ;;; Copyright © 2018, 2019 Jan (janneke) Nieuwenhuizen ;;; Copyright © 2019 Marius Bakke +;;; Copyright © 2020 Mathieu Othacehe ;;; ;;; This file is part of GNU Guix. ;;; @@ -137,7 +138,10 @@ for `sh' in $PATH, and without nscd, and with static NSS modules." (define (inputs) (if (%current-target-system) ; is this package cross built? `(("cross-libc" - ,(cross-bootstrap-libc (%current-target-system)))) + ,(cross-bootstrap-libc (%current-target-system))) + ("cross-libc:static" + ,(cross-bootstrap-libc (%current-target-system)) + "static")) '())) (define (native-inputs) -- 2.24.1