From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oEYVNh96x2D/ZwAAgWs5BA (envelope-from ) for ; Mon, 14 Jun 2021 17:47:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OE2PMR96x2AiEwAAbx9fmQ (envelope-from ) for ; Mon, 14 Jun 2021 15:47:43 +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 1861F26016 for ; Mon, 14 Jun 2021 17:47:43 +0200 (CEST) Received: from localhost ([::1]:56556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsooQ-0007yM-4O for larch@yhetil.org; Mon, 14 Jun 2021 11:47:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsog4-000324-BN for guix-patches@gnu.org; Mon, 14 Jun 2021 11:39:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36070) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsog4-0007jq-2E for guix-patches@gnu.org; Mon, 14 Jun 2021 11:39:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lsog4-0004JH-0K for guix-patches@gnu.org; Mon, 14 Jun 2021 11:39:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49025] [PATCH 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: Mon, 14 Jun 2021 15:39: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.162368511616436 (code B ref 49025); Mon, 14 Jun 2021 15:39:03 +0000 Received: (at 49025) by debbugs.gnu.org; 14 Jun 2021 15:38:36 +0000 Received: from localhost ([127.0.0.1]:47587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsofY-0004Gz-M6 for submit@debbugs.gnu.org; Mon, 14 Jun 2021 11:38:35 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:41494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsofX-0004AR-Qb for 49025@debbugs.gnu.org; Mon, 14 Jun 2021 11:38:32 -0400 Received: from butterfly.local ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by michel.telenet-ops.be with bizsmtp id H3eX250080mfAB4063eX3f; Mon, 14 Jun 2021 17:38:31 +0200 Message-ID: From: Maxime Devos Date: Mon, 14 Jun 2021 17:38:31 +0200 In-Reply-To: References: Content-Type: multipart/mixed; boundary="=-Cj6srlUTSTwtPQPD9N94" 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=1623685111; bh=RKxkeCHfovsAToDBHfs64Zan6oKgzXW30j7DLxYwIyo=; h=Subject:From:To:Date:In-Reply-To:References; b=YyHJPyLZgXSXnnDpUnxQHuR/H3rgGYDxxtovR+eMDxG7qgv7jlFLs270hekq05O/J Uzc6BoZZ4Z7Q6Sy+Zix5yC/AMhfPppMOexHC+Gx5Yht4Y0SYBs0flQS8XeFJuykQqN ncpFryNHpWCUlfP9VlmRahiOZv3PjqcltAAw0tdSVwXZI2fIPkhxBD17mY3XRO/TkG yvtH9YvoeFxNymq0rPtphtrbAhUCYlqtmHRF5mGyRg0+U4JUnrYNyalSYn+Ay7JD+Z kY0dMuGXUcIgKNKh51cTD6EnJN0ar2B6nnrIwuGIGW7VCv07Vysa9booyzS5Y3FY+f cJ/4Llgm3XQ1A== 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=1623685663; 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=RKxkeCHfovsAToDBHfs64Zan6oKgzXW30j7DLxYwIyo=; b=BgEEhLxAtcKEftyzwp53gRmDrVfOjfyJkkTbVBoJhAKd79h9VDaxfQ5UsvKF7umB3UhX5I fvdtnhoqHormoYFQeMkOmmxypx1TVf9nhMafAF15uJWFH1GkpuPFTw0+DuFrJyqlRWCtWk paoMuAx1n9uR8wpkTgvqhYzLfO6q7pdhmEMW2CPA1Agpk+4aa1Sr962h9Snsiu9jn9Vxsb 2GDaq9g5EMrWRpIttUSDSjsBXvi37/aQ6TjSSzgh2ceDfKWTzVS/cU3DOJnexxmLtlp+Rb EwYE9T5mO2p6Jl+iXv4hV8raDI7IuY/qIZUTOfb2pWx78wq9q8CNWzaxJMm8ZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623685663; a=rsa-sha256; cv=none; b=jkpQoLjGs0/EQ/eIjs1LAiS1gOynFEH1LWzXnpcX3mc9Qb/q4F0GlZ35E7xZM1ELL0QM8s wybggzOPl9j341cAIoCnJ61CSNS2iBd8x2MyBJ/jC8xMPePu5fluE9QF9Qfcom6BBHIGJN ctAEPGOdV5Q3jcuCmmX+kbFHhq6mQTnjPg8JkQHjcwWI+wnDdGooLpvgOru6PKkFHmB+9F KxlA8AovqPF0VUmX9JnRgCDsQb6/8K8t4FF4xbmxhhIvOJSsDUZvxgVO1hbOphc8FS2Zid 4c33JFBpTmM/LF992SDE8Wzn0BkHq5WdjPCUlo2t79IH3LSE1ebpg71Kf1ATyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=YyHJPyLZ; 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=YyHJPyLZ; 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: 1861F26016 X-Spam-Score: -1.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: j3AmZ4roVvXg --=-Cj6srlUTSTwtPQPD9N94 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit %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(-) --=-Cj6srlUTSTwtPQPD9N94 Content-Disposition: attachment; filename="0024-readline-Fix-build-error-when-cross-compiling.patch" Content-Transfer-Encoding: 8bit Content-Type: text/x-patch; name="0024-readline-Fix-build-error-when-cross-compiling.patch"; charset="UTF-8" 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. --=-Cj6srlUTSTwtPQPD9N94--