From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EHz4OQNy9GCgegEAgWs5BA (envelope-from ) for ; Sun, 18 Jul 2021 20:25:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iK+cNQNy9GDffwAAbx9fmQ (envelope-from ) for ; Sun, 18 Jul 2021 18:25:07 +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 9F1BE786E for ; Sun, 18 Jul 2021 20:25:07 +0200 (CEST) Received: from localhost ([::1]:53930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5BTO-0001ip-MM for larch@yhetil.org; Sun, 18 Jul 2021 14:25:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5BTK-0001hn-SZ for guix-patches@gnu.org; Sun, 18 Jul 2021 14:25:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45659) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5BTK-00074C-LF for guix-patches@gnu.org; Sun, 18 Jul 2021 14:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m5BTK-0002Zm-D4 for guix-patches@gnu.org; Sun, 18 Jul 2021 14:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49597] [PATCH core-updates 14/15] gnu: Use 'search-input-file' when looking for .jar files. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Jul 2021 18:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49597 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 49597@debbugs.gnu.org Received: via spool by 49597-submit@debbugs.gnu.org id=B49597.16266326479828 (code B ref 49597); Sun, 18 Jul 2021 18:25:02 +0000 Received: (at 49597) by debbugs.gnu.org; 18 Jul 2021 18:24:07 +0000 Received: from localhost ([127.0.0.1]:57202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5BSR-0002YS-L6 for submit@debbugs.gnu.org; Sun, 18 Jul 2021 14:24:07 -0400 Received: from newton.telenet-ops.be ([195.130.132.45]:55614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5BSQ-0002YK-25 for 49597@debbugs.gnu.org; Sun, 18 Jul 2021 14:24:06 -0400 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by newton.telenet-ops.be (Postfix) with ESMTPS id 4GSV2W0GWHzMqhXd for <49597@debbugs.gnu.org>; Sun, 18 Jul 2021 17:56:19 +0200 (CEST) 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 WfwH250010mfAB406fwHGa; Sun, 18 Jul 2021 17:56:17 +0200 Message-ID: From: Maxime Devos Date: Sun, 18 Jul 2021 17:56:11 +0200 In-Reply-To: <20210716155420.32447-14-ludo@gnu.org> References: <20210716155420.32447-1-ludo@gnu.org> <20210716155420.32447-14-ludo@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-jI/Gfcs7mpLM4nmdc4Ve" 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=1626623777; bh=jjQtoNDR3MCAWLUS1fM6u5lDkqayuilnME3Go0HyCgI=; h=Subject:From:To:Date:In-Reply-To:References; b=fTGayZNB+bv83iQsrrQrsIexH7pBUk5zhDwh+9sdYdbI0dwvyW3+YA80zxys4ddiI O496b4UoQOZ6ACWoDiYmPo8uEi3omUIesaCdR3uJKH8chhik++2HBpkqUJzkAXWniT JXx2JwgDqyU19I47lHanXqG8sDDgIdxQTASVe5pHSCo1+/TYnAbKG5+rtThrih7LAE 8mOxI+s65r7CncUvqLDalMCSYZIhSGDwQePE3QkGShgDw5CPPGPmScEwBduAvmuaB1 ZfllgJ/a083GtwqmxpLuI7tuNqIy91T3CK1aaRexarYPHq0kNt1z2yzinVx/keB6oJ DV/68ZOfW6R/w== 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=1626632707; 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=jjQtoNDR3MCAWLUS1fM6u5lDkqayuilnME3Go0HyCgI=; b=SW1nvOn5iYQzLB2B+2nC96ibVz5ThhKsy+8WBHBmLGQfabGlQ6UpPJ8+akm9omPL8tQv3R pzkE0yepHsm/H887jxCjes13zDZFIbqpsOdCIasxZXEZOXZivdppMo8yspjuRSwzIUmZHB HIdZXO7eXIrLbQpjmb2FM9Dt9UsezmK53FP/CKCOFBPvvtpIDNUOoRKAHZLv13ndEB/Uun RXwpDxYew6DDBk0pnBz8QsMENl0rAxlZbPADQywdMYCVn4XcRVG+DGy+33GytQ0Gd+RjZT vWPlOdMQ14fXyOyGFR9liAutAu3nX3TLUZgtrzH7yAkXRsJRv62Qjl73C+RM9Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626632707; a=rsa-sha256; cv=none; b=bPHmmoaZuSD6XOiR2FiPysoQC6kBtF3RGrDO7Z4dsiOomqxE18TBzBEDg2KnqoaZ2Si1wx XPEfBKd9hxHSkI/HsAOmV/GvaM5FSVxb2vcO6xAfQKCpBpU12WVE56GVXBQ5Tous1W3OhO dodBsFmjgtWRe3j40F/lycp3OIO4v/SZ+pqJH7C33kwG5QRa4oJkgRcP80Lp70I1/cAab5 jQOW+NpuFmdPGZ9YOn+fZ4Hz+tSufpE2oA38Zp94PQxG8sfhHzbNGsw9mMKsXHlQVRXOIY UefWldqLUi7Ikq2nBt2wq6k4PcdlVKngBfqiTRGUchT/ruKA0uoUvZDVfImxww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=fTGayZNB; 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.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=fTGayZNB; 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: 9F1BE786E X-Spam-Score: -3.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: O5vnOaXpA2Y4 --=-jI/Gfcs7mpLM4nmdc4Ve Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm > index fdfd044926..f4a426e559 100644 > --- a/gnu/packages/java.scm > +++ b/gnu/packages/java.scm > @@ -382,8 +382,7 @@ JNI.") > (setenv "JAVAC" > (search-input-file inputs "/bin/jikes")) > (setenv "CLASSPATH" > - (string-append (assoc-ref inputs "jamvm") > - "/lib/rt.jar")) > + (search-input-file inputs "/lib/rt.jar")) > =20 > ;; Ant complains if this file doesn't exist. > (setenv "HOME" "/tmp") This is "ant-bootstrap", right? "jikes" and "jamvm" are in 'native-inputs', so 'search-input-file (or native-inputs inputs) [...]' is required here. > @@ -486,8 +485,7 @@ build process and its dependencies, whereas Make uses= Makefile format.") > (lambda* (#:key inputs #:allow-other-keys) > (setenv "CLASSPATH" > (string-join > - (cons (string-append (assoc-ref inputs "jamvm") > - "/lib/rt.jar") > + (cons (search-input-file inputs "/lib/rt.jar") > (find-files (string-append > (assoc-ref inputs "ant-bootstra= p") > "/lib") Likewise. That issue was present in the original code, though, but something to consider. Greetings, Maxime. --=-jI/Gfcs7mpLM4nmdc4Ve 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+4iGRcl7gUCYPRPGxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7hcUAP9uGLmKTC6L3074DPMu4d3JwCJ2 ipWkTheTbX6+uAC+HQEAgaTA61BVSN7Ei+YUMkn6pS/2+G19OohU3L47trt3dAE= =+FnH -----END PGP SIGNATURE----- --=-jI/Gfcs7mpLM4nmdc4Ve--