From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ANutJtt+x2C6bQAAgWs5BA (envelope-from ) for ; Mon, 14 Jun 2021 18:07:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sM0AItt+x2ATUAAA1q6Kng (envelope-from ) for ; Mon, 14 Jun 2021 16:07:55 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4B6C034FE3 for ; Mon, 14 Jun 2021 18:07:55 +0200 (CEST) Received: from localhost ([::1]:51988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsp7y-0001uV-Ar for larch@yhetil.org; Mon, 14 Jun 2021 12:07:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsp7A-0001n2-0P for guix-patches@gnu.org; Mon, 14 Jun 2021 12:07:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36157) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsp79-0008N3-P9 for guix-patches@gnu.org; Mon, 14 Jun 2021 12:07:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lsp79-000556-K4 for guix-patches@gnu.org; Mon, 14 Jun 2021 12:07:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49025] [PATCH core-updates 33/37] tk: Do not use %build-inputs when cross-compiling. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Jun 2021 16:07:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49025 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49025@debbugs.gnu.org Received: via spool by 49025-submit@debbugs.gnu.org id=B49025.162368679419458 (code B ref 49025); Mon, 14 Jun 2021 16:07:03 +0000 Received: (at 49025) by debbugs.gnu.org; 14 Jun 2021 16:06:34 +0000 Received: from localhost ([127.0.0.1]:47697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsp6f-00053g-H9 for submit@debbugs.gnu.org; Mon, 14 Jun 2021 12:06:33 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:45738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsogN-00049r-GW for 49025@debbugs.gnu.org; Mon, 14 Jun 2021 11:39:38 -0400 Received: from butterfly.local ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by laurent.telenet-ops.be with bizsmtp id H3fN2500q0mfAB4013fPjQ; Mon, 14 Jun 2021 17:39:23 +0200 Message-ID: From: Maxime Devos Date: Mon, 14 Jun 2021 17:39:22 +0200 In-Reply-To: References: Content-Type: multipart/mixed; boundary="=-CIyqiPxcN3zcv2U0GQ+q" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1623685163; bh=ScieVaZk7mDw2fXbsDGfiO9S33uDMZnuFk/yBrk0aHY=; h=Subject:From:To:Date:In-Reply-To:References; b=aUX/V2K3xjCnf/HzhpxegfsyvRstb80w/3p/lievDKcmokW/5Z0+AOZgn/o00aioo RxeJLwwdTZzZwHoRVjsttRgq7Z647GUaDAmoDdRO5hIdhSEumWjEksM6z07EAH6cxs tXpXkrFqxyd8fWcBmJhP9ZPnYVvxqHS62qy6RCqTIA6HU1ldlNSBchgIOvggpGeNOc QYc6vf82wtkmv5R19YA/y9dKduJ48GBaP8QWGT4bI9N3WHSNDWUnGXka31Jmg25Tde MqMttdZNvo8BNCf9fp4yejMQDR9p87+uUNddfoVYPFjiDnWU7JbHeVXD36DyuD8Tvu +f/bCUk2jXj5g== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623686875; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=ScieVaZk7mDw2fXbsDGfiO9S33uDMZnuFk/yBrk0aHY=; b=mEYC9tJUCa2laaGzjgE16EaEwOowNzN7HuVU+KypFujiAk3xSkh1SDBLwIsUWELkLIoMtE A71Poeb1Sjm5vNwN0x1yqBSxt6dy2jRgRjsuG21cpUILVbchrFIUacXjc2MedLO6IouNgh Tl8jNgTr8KaOdjK/0nUGtcpim5/pLqrwwIjoepUoX0umWADfpVnhcdsSiBJG/zACoKaw+s B/0Wwaxmq8jcrNwCiw9wmdLI+DRz4VWQTeQYWLFlerfk0zIIYGMns0bd+HBEp0dK26RY9k QR1vtNkmHYMcOwpAAlhwdfYw1MEhrbeRxuMZsVcFy2P3w3lKiVJQoiH4zF3z3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623686875; a=rsa-sha256; cv=none; b=AgSxRfiSOZbCNVBgM+B4WBneQ72bBWdDa1+U5hCI4Jia7jaBEJYi9ozE/dJrNUO8ibhGHr tU3i2ZeLpTgykDSRdpr1bTvYbbLWdcn5YGuIBcgVCnZKFRQnMrUEUiUWKNHWWxSfq5Abx0 +qbRGOeELW0zUjEJuMIAdl3Rnilctoz5UPPOCUKhtPjnbU3uunc0ept1YxlCLVnFugdXwK 93r1DEBETR3/M8eRVAKtxwsYteClE/h491kj2/Yfrn+E0kB8VgaaOS1HB360+k/U+yANSj seSBWPNRAd2K2y4NacpO2JKBG5V82ImQY2zV2v/EAkENryl9P829GgJkpTua1A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b="aUX/V2K3"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b="aUX/V2K3"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 4B6C034FE3 X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: bPi7S2bTifjv --=-CIyqiPxcN3zcv2U0GQ+q Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit %build-inputs does not exists when cross-compiling, so use #$(this-package-input ...) instead. * gnu/packages/tcl.scm (tk)[arguments]<#:configure-flags>: Use 'this-package-input' instead of '%build-inputs' when cross-compiling. --- gnu/packages/tcl.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --=-CIyqiPxcN3zcv2U0GQ+q Content-Disposition: attachment; filename="0033-tk-Do-not-use-build-inputs-when-cross-compiling.patch" Content-Transfer-Encoding: 7bit Content-Type: text/x-patch; name="0033-tk-Do-not-use-build-inputs-when-cross-compiling.patch"; charset="us-ascii" diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm index c87a8187f2..91ba8bbb3f 100644 --- a/gnu/packages/tcl.scm +++ b/gnu/packages/tcl.scm @@ -29,6 +29,7 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix utils) + #:use-module (guix gexp) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system perl) @@ -232,7 +233,9 @@ X11 GUIs.") #:configure-flags ,#~ (list (string-append "--with-tcl=" - (assoc-ref %build-inputs "tcl") + #$(if (%current-target-system) + (this-package-input "tcl") + #~(assoc-ref %build-inputs "tcl")) "/lib") ;; This is needed when cross-compiling, see: ;; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719247 --=-CIyqiPxcN3zcv2U0GQ+q--