From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eCyJGJ/GzGB0RAAAgWs5BA (envelope-from ) for ; Fri, 18 Jun 2021 18:15:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +KjwE5/GzGBfVQAAbx9fmQ (envelope-from ) for ; Fri, 18 Jun 2021 16:15:27 +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 DAF011C9C0 for ; Fri, 18 Jun 2021 18:15:26 +0200 (CEST) Received: from localhost ([::1]:48852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luH9R-0008K4-PV for larch@yhetil.org; Fri, 18 Jun 2021 12:15:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luH5K-0000Y1-BA for guix-patches@gnu.org; Fri, 18 Jun 2021 12:11:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46301) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luH5K-0002A7-29 for guix-patches@gnu.org; Fri, 18 Jun 2021 12:11:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1luH5J-0002zj-Uc for guix-patches@gnu.org; Fri, 18 Jun 2021 12:11:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49025] [[PATCH v2 core-updates] 24/37] readline: Fix build error when cross-compiling. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Jun 2021 16:11:09 +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 Cc: othacehe@gnu.org, Maxime Devos Received: via spool by 49025-submit@debbugs.gnu.org id=B49025.162403264511248 (code B ref 49025); Fri, 18 Jun 2021 16:11:09 +0000 Received: (at 49025) by debbugs.gnu.org; 18 Jun 2021 16:10:45 +0000 Received: from localhost ([127.0.0.1]:57801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luH4v-0002vG-Es for submit@debbugs.gnu.org; Fri, 18 Jun 2021 12:10:45 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:49896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luH4Y-0002rE-V7 for 49025@debbugs.gnu.org; Fri, 18 Jun 2021 12:10:23 -0400 Received: from localhost.localdomain ([188.188.242.184]) by baptiste.telenet-ops.be with bizsmtp id Jg9t250053zRM2s01gANP3; Fri, 18 Jun 2021 18:10:22 +0200 From: Maxime Devos Date: Fri, 18 Jun 2021 18:09:23 +0200 Message-Id: <20210618160936.18972-24-maximedevos@telenet.be> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210618160936.18972-1-maximedevos@telenet.be> References: <20210618160936.18972-1-maximedevos@telenet.be> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1624032622; bh=OE2XkfDDREhGi22ahelmmYnT5woDpIc1bL8b6o9Sgmw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:Reply-To; b=cIg40XrBTwzH2j3FfX32xW9zTOInB+AHE5iw+WH6KHKGToOTZ2mRyTn9Putk09wa5 4nGlQXYrrzHD0omq+2P7N9zm1hl9X71cBiI1eOKEevph4haZ0i0vq5GOcUu9fRQq3z mURE4zdAU5RNoUU+XDXrVriGlJLqQKCFAlX1Uc53N7/4dDj0Q9H7sVO749BGucetO8 BV4S8xNCNDaQjUi3HHOjuftplaYHYSugS7wF1eEPFimUS+3W7AzYCD/HpT8ULYG2bM PpKKwezSxCbIUD2RijmIyumCnSf0hvd7mtt+PBd50sb0AmoHaxiC5suAhk3q/1OBmn kCv1SmT8o+7fg== 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: , Reply-To: 49025@debbugs.gnu.org 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=1624032927; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=OE2XkfDDREhGi22ahelmmYnT5woDpIc1bL8b6o9Sgmw=; b=legGB9GdwBaD9BI24LG3ZJtI7h+3KnigGDycL3CloNFO7r7lwwOX2m+F8/FMbxRrx52qG4 14tD1blx55Cjf1GXx6gbLGTjidZdvLAt+42oOzcBhWhm85a03La9JNNq7t1gSOildpqWY8 E28yq+ckfrt4MbinIz/kW7yCTv4gJAxoOnx+5EuulD2eLKaatpYuka4vhfScFZdMa+6noj T2sNFHm6a4pfSvs/fsHlhqSGnjLUN7ffXplu44ABsFQo+MreYt/PLwia8KALKg7XshTQ0+ 1WU6BCUWUG+rP02+LNJn6JscDZSa0iqv31klrQa6+Vc/neXf3d+kl9uTJvfT+g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624032927; a=rsa-sha256; cv=none; b=YH9gt+6wHnNZ5ycHBr7iH5Jdr5s8s8wPi7wVgC6AQTrVsfUWbaePhXcAhnoFQBI1eZ8/iv WdkpsACaBm4xgSzbFNtXV+dmUmkSvYG0a6AsEyTL40El/d6ODkJPrM+EAel36WBfDofzyZ T8Sw/I86iiw/DkMBBUTai8eTcU69DA4574X3BSRmuBTaVZDtZHad5zaUmxY6zCAZvHjKF1 7hvwz2jNC9TrYoBetQXuAjixyMz1FC2/BfCpTggXDEWxh32uQ1bBuG5Dh1nHkteqN3z83j 3TS1R64Qeq6RRLSWuUaV9ZQmTXi6/K57T4hsf2f9U/9ht0uj+8mw9f3fvcWUuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=cIg40XrB; 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.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=cIg40XrB; 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: DAF011C9C0 X-Spam-Score: 1.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: 54EYmWU+TK3l %build-inputs does not exist when cross-compiling, so use this-package-input instead. * gnu/packages/readline.scm (readline)[arguments]<#:configure-flags>: Use this-package-input instead of %build-inputs. --- gnu/packages/readline.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/packages/readline.scm b/gnu/packages/readline.scm index 6cfa24c666..f9f2797247 100644 --- a/gnu/packages/readline.scm +++ b/gnu/packages/readline.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2016 Jan Nieuwenhuizen ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2019, 2020 Marius Bakke +;;; Copyright © 2021 Maxime Devos ;;; ;;; This file is part of GNU Guix. ;;; @@ -77,9 +78,10 @@ (build-system gnu-build-system) (propagated-inputs `(("ncurses" ,ncurses))) (arguments `(#:configure-flags - ,#~(list (string-append "LDFLAGS=-Wl,-rpath -Wl," - (assoc-ref %build-inputs "ncurses") - "/lib") + ,#~(list (string-append + "LDFLAGS=-Wl,-rpath -Wl," + #$(this-package-input "ncurses") + "/lib") ;; This test does an 'AC_TRY_RUN', which aborts when ;; cross-compiling, so provide the correct answer. -- 2.32.0