From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8GKmH9f1d2BUmgAAgWs5BA (envelope-from ) for ; Thu, 15 Apr 2021 10:14:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ILNoGdf1d2DdawAAB5/wlQ (envelope-from ) for ; Thu, 15 Apr 2021 08:14:15 +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 2AE041B7AF for ; Thu, 15 Apr 2021 10:14:15 +0200 (CEST) Received: from localhost ([::1]:35390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWx8f-0000ZJ-Pc for larch@yhetil.org; Thu, 15 Apr 2021 04:14:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWx8U-0000Tv-O4 for guix-patches@gnu.org; Thu, 15 Apr 2021 04:14:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53129) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWx8U-0006GD-EI for guix-patches@gnu.org; Thu, 15 Apr 2021 04:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lWx8U-00054j-9a for guix-patches@gnu.org; Thu, 15 Apr 2021 04:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47789] [PATCH 4/6] gnu: Add java-jline-terminal. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Apr 2021 08:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47789 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mike Gerwitz , 47789@debbugs.gnu.org Received: via spool by 47789-submit@debbugs.gnu.org id=B47789.161847438719437 (code B ref 47789); Thu, 15 Apr 2021 08:14:02 +0000 Received: (at 47789) by debbugs.gnu.org; 15 Apr 2021 08:13:07 +0000 Received: from localhost ([127.0.0.1]:36441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWx7b-00053R-7C for submit@debbugs.gnu.org; Thu, 15 Apr 2021 04:13:07 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:60010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWx7Z-00053I-3S for 47789@debbugs.gnu.org; Thu, 15 Apr 2021 04:13:05 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by michel.telenet-ops.be with bizsmtp id swD32400G0mfAB406wD3sC; Thu, 15 Apr 2021 10:13:03 +0200 Message-ID: <5bcade8103a4995b6ba2fe64572c230bcbf52f82.camel@telenet.be> From: Maxime Devos Date: Thu, 15 Apr 2021 10:13:03 +0200 In-Reply-To: <392710e13edd524ecac953dcecee73be459ea852.1618460450.git.mtg@gnu.org> References: <392710e13edd524ecac953dcecee73be459ea852.1618460450.git.mtg@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-WtyTqqVt67IxO8THCv1Q" 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=1618474383; bh=Zk3/N1wa1cEE+A7YENy/mYFRpRU/o/3FofcoweqCbro=; h=Subject:From:To:Date:In-Reply-To:References; b=Z8m2XpuOQdCeLWsQTDt23ZzEgMEGEiWB5S54LYEDUrK15Gf5vZi0RSHqJD332xFJE XgckgOUd37q+3TiUie3p2l6zOja4GNaEqur6zabuBLmYYneRybhoeFXXyd7qsm0Hkc sItPJ4CAJLOaPNH6Fx3O/dbA0UBPDGpPi4KqC54LZExgxOb5klu61asJGgtmJuLsiF y+NWl8DSd5taxt21xg7dwq6/iNTgoPZVqr1J7ozABTRnZMMgKiuq0/XkfLH+2h+8hj Z0oxJnHYfercmxQGLpSTlwfBya3fQogEDAmFxciL1NsJ9/8OlL9UEsk7bJxr2qlyNf EANuOeJu670eA== 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=1618474455; 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=Zk3/N1wa1cEE+A7YENy/mYFRpRU/o/3FofcoweqCbro=; b=A/hzHRcyFz3ugMpzBpjAQjLfTKu/5fAJlmSCkoTkjNvJyB7EGn0MKFcZq8EqSi+0BHFbUk xxXhw+TadhzqfQboDw3pedDqDpxfeNcAbQQ9Dvx0OdFq1e2aKzG99wwUoThrqHXIisD416 DGjBjpOn8XuliCWQ7ZLYl7hXnu5HODqkiH+qG1DnJoZ2T8yRTKEvilaZN/pkvOnLp6VgMa 3W8FHX+6qxRyySgJEmRwDOctQbgEIvTvFMtgaHeArJG54NePvWuf4tRkDitHmQArxBcXBh AUHLXZFbsNGNLRWTtKD6UO14kv2V1LoCeAeMWdeqnkxQe8MrizG3TZ4XP/vu8Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618474455; a=rsa-sha256; cv=none; b=lKfuJ9tDpmMH9bxUYg62sc859xB+6MqTvTwwm/Z7pwCBvhwm16P5WOkkdj1utdjQBQ1sls 0ZepTbaMhYYspKDD+h3+va00KGzuDWhj2ePld6jNRjiIQpoAKTmB/hlaihKK+Y4CUjqygC EtIGBUeDfkBqHVaZS8deh9G9NwTtyDp4dGzluKuPvq3VrQSW2jfeWkXGE0Ol2IuG0Z+nCk 5mTR5dyHnWNg/sVWnu2U0k6TpOHtMj6mI2kW9Ji1T2MwKKd096ZNqbAWqrwLTifTFnhpRz vWs4D+mNbC0C8ewELm/DDs0meSMqVT8jAQvGK4MR1kdIrzpPW6Wpi69t/6+LoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=Z8m2XpuO; 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: -3.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=Z8m2XpuO; 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: 2AE041B7AF X-Spam-Score: -3.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9lV8uI6RP4SQ --=-WtyTqqVt67IxO8THCv1Q Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2021-04-15 at 00:26 -0400, Mike Gerwitz wrote: > + (add-after 'unpack 'patch-paths > + (lambda _ > + (substitute* "terminal/src/main/java/org/jline/utils/OSUtil= s.java" > + (("=3D \"(s?tty|infocmp)\"" _ cmd) > + (string-append "=3D \"" (which cmd) "\""))) (which cmd) is most likely incorrect when cross-compiling, as when cross-compiling, only the inputs in "native-inputs" contribute towards PATH, and "inputs" does not contribute towards PATH (IIUC). You will need something like (lambda* (#:key inputs #:allow-other-keys) ... ... (string-append "=3D \"" (assoc-ref "ncurses" inputs) "/bin/ncurses") ... (string-append "=3D \"" (assoc-ref "ncurses" inputs) "/bin/stty") ... (string-append "=3D \"" (assoc-ref "ncurses" inputs) "/bin/tty") ...) (TODO to self: define a variant which/target which looks at the build input= s instead of native-inputs when cross-compiling.)=20 Greetings, Maxime. --=-WtyTqqVt67IxO8THCv1Q Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYHf1jxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7ioVAQC04n7drXWkSlo87YmP+kNEJN4h rcitHqcUSneyNCL/awD/UGAKzKAQyHpNLRhWZSVoN6ZUFOG6fpcZ34k4tM29wQ4= =dMZQ -----END PGP SIGNATURE----- --=-WtyTqqVt67IxO8THCv1Q--