From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mEgmHMPneGAtRgEAgWs5BA (envelope-from ) for ; Fri, 16 Apr 2021 03:26:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oBziFcPneGBMQgAAB5/wlQ (envelope-from ) for ; Fri, 16 Apr 2021 01:26: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 0C4ACE6A4 for ; Fri, 16 Apr 2021 03:26:27 +0200 (CEST) Received: from localhost ([::1]:42462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXDFZ-0005dC-Us for larch@yhetil.org; Thu, 15 Apr 2021 21:26:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXDFG-0005Z7-MM for guix-patches@gnu.org; Thu, 15 Apr 2021 21:26:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56309) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lXDFC-0002vG-GN for guix-patches@gnu.org; Thu, 15 Apr 2021 21:26:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lXDFC-0008OP-D6 for guix-patches@gnu.org; Thu, 15 Apr 2021 21:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47789] [PATCH 4/6] gnu: Add java-jline-terminal. Resent-From: Mike Gerwitz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 16 Apr 2021 01:26: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: Maxime Devos Cc: 47789@debbugs.gnu.org Received: via spool by 47789-submit@debbugs.gnu.org id=B47789.161853636132254 (code B ref 47789); Fri, 16 Apr 2021 01:26:02 +0000 Received: (at 47789) by debbugs.gnu.org; 16 Apr 2021 01:26:01 +0000 Received: from localhost ([127.0.0.1]:39621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXDFB-0008O6-BP for submit@debbugs.gnu.org; Thu, 15 Apr 2021 21:26:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXDF7-0008Nc-Tr for 47789@debbugs.gnu.org; Thu, 15 Apr 2021 21:25:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47736) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXDF0-0002qq-5q; Thu, 15 Apr 2021 21:25:51 -0400 Received: from localhost ([::1]:39211 helo=mikegerwitz-pc) by fencepost.gnu.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lXDEz-0000Td-EX; Thu, 15 Apr 2021 21:25:49 -0400 From: Mike Gerwitz In-Reply-To: <5bcade8103a4995b6ba2fe64572c230bcbf52f82.camel@telenet.be> (Maxime Devos's message of "Thu, 15 Apr 2021 10:13:03 +0200") Date: Thu, 15 Apr 2021 20:55:54 -0400 Message-ID: <877dl3kpyd.fsf@gnu.org> References: <392710e13edd524ecac953dcecee73be459ea852.1618460450.git.mtg@gnu.org> <5bcade8103a4995b6ba2fe64572c230bcbf52f82.camel@telenet.be> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) OpenPGP: id=D6E9B930028A6C38F43B2388FEF635745E6F6D05 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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=1618536387; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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: openpgp:openpgp; bh=t8duFj08KsYXPwhJ1HPJV+gmqn+IMqdqWIjknimws5w=; b=Tq545qS/xIgC1HPLqtP8DoDsvqWQkcE8MMWgDDmFROoO2AaBgTEGFIjZETW1Iy3hAOmuZ7 ud1CX4olYrT7iJV6eLlDYK1R7p9YUEVxVcXeqcnRnyHFO5Asdzue+2YEUt3IKXnqOBXLuu OLR/4istfBnZvw+1Fly1OV5llB3r9kd8+2qgYGnWOTohOjuu0hFK9fyldz01ExnxZvrv7y vBsPkc+k5IjoMvFc2r7opPMoOXXIuSxf4loxP5dUO4qEFblc4fxsynaAnWwO9E9szIBibx AezJ3eNqAc0dQN2gpGJS2/RjPOGb03eLdiCrFyePtJ0RA0uNKUeuPFadIMN6mQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618536387; a=rsa-sha256; cv=none; b=Yl/bPG4SEKlF0UnP/I7dk4k9CEMmxvaUCsFwGpCASE/dY8xncg0SX1ChiYNEsEVJGHcLBe HW6NXNOFsOe/cw966r1eZm+Oc1bu5OXMoY646hIp6E/8IY0Su7RxuN4iaMFVTM+dhMAg5D Q5Ink/gwycGhpddg13PkDeZTJGWB/qvwFWXDMw25MjBadcuQs0oAdaPikIdyoEPCuit2Co Y5Odfx7WCOcd7jinlsNmeBaTXNWjGYD7Hb2q3Turs+g6QWBQfFJe+GaZ83Ts3cWiSWSsxW ZwO6OfPTlBec14Nhry9AWbhAvUS/XdGJW9hMbfdALjxLL/6sNNi38teSkND7sA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: -2.54 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 0C4ACE6A4 X-Spam-Score: -2.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: h06TCbVY0+iN --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, Apr 15, 2021 at 10:13:03 +0200, Maxime Devos wrote: > 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/OSUti= ls.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") Thanks. There are some other Java packages that do this as well. I'll include these changes in the new series. > (TODO to self: define a variant which/target which looks at the build inp= uts > instead of native-inputs when cross-compiling.)=20 +1 =2D-=20 Mike Gerwitz --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEtyLNo03iHAANpWtgjJF7f13FG6IFAmB44J4ACgkQjJF7f13F G6LC0RAAseO3EtswMnl207vCC50IoD5OeM2gcP2LwPIJltMCU0fx1+Q4RsJikMBM JU1wOmO2V1WHUFC/BlFnB6POInVs4h5a4RDdZ2Gz9ZRWQj3bYAcZ2qwnzI8Xki7V 0Re8Qxr7CxVM6nQz63MFdNKFh5SAtDDjbQw20gAWKFPisuDvQHIFIanza2pIeO83 rFpMTnMuF66D15f9wJSx+dSgTEX8nnHqvFVqm2CiegXtAQKhyF63yXymLRNF4UIH nxtkul0tL+/97wqgVG2U/taoQpXKr6jLRZQKHjpBvmGbrPezZdsNjq4s0hxiTNXm SSFXh02/J037RUbFgH73XmF/34X7Mkn81Hhs6zSaSuPnAXuPfNTwZjrXrdy4sSJM Tg4WNlgQLP34Av8z0udf/blf8FlKv9P+QaOp+T+NAKVo71I21AE1eP5dJW2NktF3 4HV68nB6GMl5kChAsOwtoVYvCCbIs8uodRQrCnzv5vqVZvMpR/ihXErzJvstrTbn bOde2Dkj3hQKY2EMDoa3z5GEW1FFz1Y9VV0jjpf3C4+7dJQQ+a5NTPk8bXKKxztE K90VceYj0w0Qb1ZdF/6boRulzMNUUHAQaO99C/1nEvlq2LrD+lNtantQoFnP+jV4 SJzpQvQYE7fm6vzmGmmS+jSRGht57T/qDtDibVhTnGYxVb2bZUA= =SSbi -----END PGP SIGNATURE----- --=-=-=--