From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 26 03:38:33 2020 Received: (at submit) by debbugs.gnu.org; 26 Mar 2020 07:38:33 +0000 Received: from localhost ([127.0.0.1]:58065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHN60-0000MR-WA for submit@debbugs.gnu.org; Thu, 26 Mar 2020 03:38:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:39975) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHN5y-0000MJ-R2 for submit@debbugs.gnu.org; Thu, 26 Mar 2020 03:38:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59486) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHN5x-0007be-JN for bug-guix@gnu.org; Thu, 26 Mar 2020 03:38:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHN5w-00069W-3T for bug-guix@gnu.org; Thu, 26 Mar 2020 03:38:29 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:57353) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jHN5v-00069A-Td for bug-guix@gnu.org; Thu, 26 Mar 2020 03:38:28 -0400 X-Originating-IP: 78.199.129.170 Received: from mimimi (moi44-1-78-199-129-170.fbx.proxad.net [78.199.129.170]) (Authenticated sender: mail@ambrevar.xyz) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id B79531C0007; Thu, 26 Mar 2020 07:38:24 +0000 (UTC) From: Pierre Neidhardt To: bug-guix@gnu.org Subject: [java-iroha] Gradle fails with "Could not find tools.jar" Date: Thu, 26 Mar 2020 08:38:23 +0100 Message-ID: <878sjny39s.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.197 X-Spam-Score: 2.7 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi! I'm trying to build https://github.com/hyperledger/iroha-java manually with Gradle (tried with Guix but I'm stuck), and I get the following error: --88--- Execution failed for task ':client:compileJava'. Could not find tools.jar. --8, Julien Lepiller X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi! I'm trying to build https://github.com/hyperledger/iroha-java manually with Gradle (tried with Guix but I'm stuck), and I get the following error: --88--- Execution failed for task ':client:compileJava'. Could not find tools.jar. --88--- Execution failed for task ':client:compileJava'. Could not find tools.jar. =2D-8<---------------cut here---------------end--------------->8--- Then it suggests that the Java installation might be wrong. I tried with icedtea 3.7.0, openjdk 9 and openjdk 12, to no avail. Are our JDK packages wrong missing some jars? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl58W+8ACgkQm9z0l6S7 zH+fUwf6AzBNetLkT+0r3+XN7hWE6kMgMlPragjjI+ZlrYV1J4Oj3oufsaeuA6rZ ujsLOr6fPLL+686bCY6eYq9EfGURbbxkU60NROyJ8qFHsgyAw3Jocc+2L8g+tNqS X9bxrai1yBabsJgxnUfOzcBzVL8Si6uPGdfyVWrS/fgJU3WF5kqOrJ2ZIjfSIy2C PQw6zGpLBjbLLbe6jA86o2zWKTpA/deQyKmA+UWJuxoA83QB0/QyVA6c74a8+aKi q4v2mIB3Cu59apCjhqexCqPl0JigB11YJLJrhQyAzP6hxVQ+9PFx4ccuVDl8PPWg F17WChxpIgaH9hjKwBhsqelNGaJIdw== =OUfn -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 26 06:22:21 2020 Received: (at 40234) by debbugs.gnu.org; 26 Mar 2020 10:22:21 +0000 Received: from localhost ([127.0.0.1]:58132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHPeX-0004qu-BA for submit@debbugs.gnu.org; Thu, 26 Mar 2020 06:22:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHPeV-0004qi-OQ for 40234@debbugs.gnu.org; Thu, 26 Mar 2020 06:22:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jHPeQ-00019w-1M; Thu, 26 Mar 2020 06:22:14 -0400 Received: from 2001-1c02-0b03-a700-f532-4553-7f2a-9b68.cable.dynamic.v6.ziggo.nl ([2001:1c02:b03:a700:f532:4553:7f2a:9b68]:53724) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jHPeP-0007I0-Ko; Thu, 26 Mar 2020 06:22:13 -0400 Message-ID: Subject: Re: bug#40234: [java-iroha] Gradle fails with "Could not find tools.jar" From: Roel Janssen To: Pierre Neidhardt , 40234@debbugs.gnu.org Date: Thu, 26 Mar 2020 11:22:06 +0100 In-Reply-To: <878sjny39s.fsf@ambrevar.xyz> References: <878sjny39s.fsf@ambrevar.xyz> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40234 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Thu, 2020-03-26 at 08:38 +0100, Pierre Neidhardt wrote: > Hi! > > I'm trying to build https://github.com/hyperledger/iroha-java manually > with Gradle (tried with Guix but I'm stuck), and I get the following > error: > > --8<---------------cut here---------------start------------->8--- > Execution failed for task ':client:compileJava'. > Could not find tools.jar. > --8<---------------cut here---------------end--------------->8--- > > Then it suggests that the Java installation might be wrong. > I tried with icedtea 3.7.0, openjdk 9 and openjdk 12, to no avail. > > Are our JDK packages wrong missing some jars? > The "tools.jar" is only in de icedtea:jdk output. You might also need to set environment variable JAVA_HOME to the Guix profile root that contains icedtea:jdk. Kind regards, Roel Janssen From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 26 07:41:43 2020 Received: (at 40234) by debbugs.gnu.org; 26 Mar 2020 11:41:43 +0000 Received: from localhost ([127.0.0.1]:58153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHQtL-0000ec-7J for submit@debbugs.gnu.org; Thu, 26 Mar 2020 07:41:43 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:50575) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHQtI-0000eN-Pu for 40234@debbugs.gnu.org; Thu, 26 Mar 2020 07:41:41 -0400 X-Originating-IP: 78.199.129.170 Received: from mimimi (moi44-1-78-199-129-170.fbx.proxad.net [78.199.129.170]) (Authenticated sender: mail@ambrevar.xyz) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 3F68FE0006; Thu, 26 Mar 2020 11:41:33 +0000 (UTC) From: Pierre Neidhardt To: Roel Janssen , 40234@debbugs.gnu.org Subject: Re: bug#40234: [java-iroha] Gradle fails with "Could not find tools.jar" In-Reply-To: References: <878sjny39s.fsf@ambrevar.xyz> Date: Thu, 26 Mar 2020 12:41:33 +0100 Message-ID: <87wo77z6ky.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Roel Janssen writes: > The "tools.jar" is only in de icedtea:jdk output. > You might also need to set environment variable JAVA_HOME to the Guix profile > root that contains icedtea:jdk. Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: gnu.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.196 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.196 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 40234 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Roel Janssen writes: > The "tools.jar" is only in de icedtea:jdk output. > You might also need to set environment variable JAVA_HOME to the Guix profile > root that contains icedtea:jdk. Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.196 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.196 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Roel Janssen writes: > The "tools.jar" is only in de icedtea:jdk output. > You might also need to set environment variable JAVA_HOME to the Guix pro= file > root that contains icedtea:jdk. Thanks, this is probably related! However =2D-8<---------------cut here---------------start------------->8--- env JAVA_HOME=3D/home/ambrevar/.guix-extra-profiles/dev/dev ./gradlew jar =2D-8<---------------cut here---------------end--------------->8--- fails with the same error. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl58lO0ACgkQm9z0l6S7 zH8l4wf+ICUTDde8uhWqoCTXrxbnHyqNf0vEBcf4u7DQTR6SXgKhkFGDiWntTiNS P4ovm4TPd3lAJGEgfnW9mzphUlWSfipKbfAkFpUfXXLcptIg5UunlnzK8NVWj8Nx wRoFl07DP22y4oR4xd5hOX7DLcbU9Wdyw5gGvqChMtzoa/5wH4X0yqtUgeS3gHXd 4Q0m6stLRsIa1qptkDVeJirUVDLWV6BUyM+o5D/wnN4W6bMQZxI1yy4E75i/z+/d I7CNIzG2MJwMTtyOmMrNwsxYCeyuUdQwoJZV1ws0bLMmFgCbK453hbO+9ZzzZuXO N3V0HecvqB3G3hei493YpzjO9Ox7hA== =MnbP -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 26 07:42:42 2020 Received: (at 40234) by debbugs.gnu.org; 26 Mar 2020 11:42:42 +0000 Received: from localhost ([127.0.0.1]:58157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHQuI-0000gU-Ip for submit@debbugs.gnu.org; Thu, 26 Mar 2020 07:42:42 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:57855) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHQuH-0000gI-1Y for 40234@debbugs.gnu.org; Thu, 26 Mar 2020 07:42:41 -0400 X-Originating-IP: 78.199.129.170 Received: from mimimi (moi44-1-78-199-129-170.fbx.proxad.net [78.199.129.170]) (Authenticated sender: mail@ambrevar.xyz) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 4253F6000B; Thu, 26 Mar 2020 11:42:33 +0000 (UTC) From: Pierre Neidhardt To: Roel Janssen , 40234@debbugs.gnu.org Subject: Re: bug#40234: [java-iroha] Gradle fails with "Could not find tools.jar" In-Reply-To: References: <878sjny39s.fsf@ambrevar.xyz> Date: Thu, 26 Mar 2020 12:42:32 +0100 Message-ID: <87tv2bz6jb.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: By the way, should JAVA_HOME be a native-search-path set by the JDKs? -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.195 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.195 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 40234 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: By the way, should JAVA_HOME be a native-search-path set by the JDKs? -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.195 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.195 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable By the way, should JAVA_HOME be a native-search-path set by the JDKs? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl58lSgACgkQm9z0l6S7 zH9h6QgAgDomSGOZ8mDwfHJe4yrcmNUNUCtqQvLqzLiB34xai1UGGkenATHi8mkn 0z/RNG3h95WrlAlXmp08oodv0cd9DMbP+OKOPw7mOnlismDUvdcdUptS/Q6boUEV wTNOM/JvZhcqaPZ8GVk1O9eV5JTr/U+j2CV0bYsJaDj6MMBwG/1e2vPBIKp7vXbu zW9m3EtFWvzJbmtaPYHy5JoA0BVKlXZpl5Peed/V8mb5zHwZXsTYhvg1D2LgoA6Z BMUKOL50mvzZQqhbOSnZQFPXvkB5l3YX4q2y6Yu9sZP5V3xu3DIW5M950WSC1wv6 VVIdhKr9j3zfgDdvTZ1DWwp+RvJJ6Q== =Iv/U -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 26 07:52:44 2020 Received: (at 40234) by debbugs.gnu.org; 26 Mar 2020 11:52:44 +0000 Received: from localhost ([127.0.0.1]:58161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHR40-0000wf-Ft for submit@debbugs.gnu.org; Thu, 26 Mar 2020 07:52:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHR3z-0000wR-CN for 40234@debbugs.gnu.org; Thu, 26 Mar 2020 07:52:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jHR3t-0003Ja-8J; Thu, 26 Mar 2020 07:52:37 -0400 Received: from 2001-1c02-0b03-a700-f532-4553-7f2a-9b68.cable.dynamic.v6.ziggo.nl ([2001:1c02:b03:a700:f532:4553:7f2a:9b68]:55032) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jHR3s-0000y3-Lu; Thu, 26 Mar 2020 07:52:37 -0400 Message-ID: Subject: Re: bug#40234: [java-iroha] Gradle fails with "Could not find tools.jar" From: Roel Janssen To: Pierre Neidhardt , 40234@debbugs.gnu.org Date: Thu, 26 Mar 2020 12:52:32 +0100 In-Reply-To: <87wo77z6ky.fsf@ambrevar.xyz> References: <878sjny39s.fsf@ambrevar.xyz> <87wo77z6ky.fsf@ambrevar.xyz> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40234 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Thu, 2020-03-26 at 12:41 +0100, Pierre Neidhardt wrote: > Roel Janssen writes: > > > The "tools.jar" is only in de icedtea:jdk output. > > You might also need to set environment variable JAVA_HOME to the Guix > > profile > > root that contains icedtea:jdk. > > Thanks, this is probably related! > > However > > --8<---------------cut here---------------start------------->8--- > env JAVA_HOME=/home/ambrevar/.guix-extra-profiles/dev/dev ./gradlew jar > --8<---------------cut here---------------end--------------->8--- > > fails with the same error. > Uh, I looked through one of my Java-related packages and found this snippet: ---------- ;; Set JAVA_HOME to help maven find the JDK. (setenv "JAVA_HOME" (string-append (assoc-ref inputs "icedtea") "/jre")) ---------- So perhaps JAVA_HOME needs to point to /jre. (Sorry for the previous suggestion..) I'm not sure why I added this snippet though, but perhaps it's worth a try. Kind regards, Roel Janssen From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 26 08:46:25 2020 Received: (at 40234) by debbugs.gnu.org; 26 Mar 2020 12:46:25 +0000 Received: from localhost ([127.0.0.1]:58187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHRtx-0002MF-4H for submit@debbugs.gnu.org; Thu, 26 Mar 2020 08:46:25 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:41065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHRtt-0002M1-SA for 40234@debbugs.gnu.org; Thu, 26 Mar 2020 08:46:22 -0400 X-Originating-IP: 78.199.129.170 Received: from mimimi (moi44-1-78-199-129-170.fbx.proxad.net [78.199.129.170]) (Authenticated sender: mail@ambrevar.xyz) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id C617060005; Thu, 26 Mar 2020 12:46:14 +0000 (UTC) From: Pierre Neidhardt To: Roel Janssen , 40234@debbugs.gnu.org Subject: Re: bug#40234: [java-iroha] Gradle fails with "Could not find tools.jar" In-Reply-To: References: <878sjny39s.fsf@ambrevar.xyz> <87wo77z6ky.fsf@ambrevar.xyz> Date: Thu, 26 Mar 2020 13:46:12 +0100 Message-ID: <87o8sjz3l7.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: It worked! Thanks a lot! So what do you think of adding (native-search-paths (list (search-path-specification (variable "JAVA_HOME") (files '("jre"))))) Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.195 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.195 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 40234 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: It worked! Thanks a lot! So what do you think of adding (native-search-paths (list (search-path-specification (variable "JAVA_HOME") (files '("jre"))))) Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.195 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.195 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable It worked! Thanks a lot! So what do you think of adding (native-search-paths (list (search-path-specification (variable "JAVA_HOME") (files '("jre"))))) to icedtea-* and openjdk-*? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl58pBQACgkQm9z0l6S7 zH8ZQwf6A2HGtKTcroEi8rfchI8WiTA3r+aEEcQh5YSxLxUUdhrkzN5jZepuoehp jFNsIf05KKno99LBK/ObLrqkh3ZXt4Jx9HIPVzt8WD5Vj4TGZYgB+Y6cNlvD5pC2 KmrP/I/GnBuEMyIS7PXNi3x/zjwkRwj0+PVnsuMHsWSv89N3jYvM0yHOYnnyejDT chPhbSb+w5SIacQ4DCMKr1gcIlJAcQymj9AwZjZ/bza7gJauVqgFzw9mJBD89lsV 1ItFqQ+oPS8omhC+JoQXgj/vgFRbwiI4HdLf4LzVJ8IIqJezEGkjxYaw0aGd98Vv RUaktflIKRCFbXpiQKTtfNO/SDnstA== =Vgk6 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 26 09:40:00 2020 Received: (at 40234) by debbugs.gnu.org; 26 Mar 2020 13:40:00 +0000 Received: from localhost ([127.0.0.1]:58264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHSjo-0003p0-Jo for submit@debbugs.gnu.org; Thu, 26 Mar 2020 09:40:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42303) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHSjn-0003oo-AG for 40234@debbugs.gnu.org; Thu, 26 Mar 2020 09:39:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33890) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jHSjh-00017b-Fh; Thu, 26 Mar 2020 09:39:53 -0400 Received: from 2001-1c02-0b03-a700-f532-4553-7f2a-9b68.cable.dynamic.v6.ziggo.nl ([2001:1c02:b03:a700:f532:4553:7f2a:9b68]:56598) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jHSjh-0004SU-0w; Thu, 26 Mar 2020 09:39:53 -0400 Message-ID: <9bf49c49ba6cb5627985c12e0867ae5565b5bb98.camel@gnu.org> Subject: Re: bug#40234: [java-iroha] Gradle fails with "Could not find tools.jar" From: Roel Janssen To: Pierre Neidhardt , 40234@debbugs.gnu.org Date: Thu, 26 Mar 2020 14:39:48 +0100 In-Reply-To: <87o8sjz3l7.fsf@ambrevar.xyz> References: <878sjny39s.fsf@ambrevar.xyz> <87wo77z6ky.fsf@ambrevar.xyz> <87o8sjz3l7.fsf@ambrevar.xyz> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40234 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Thu, 2020-03-26 at 13:46 +0100, Pierre Neidhardt wrote: > It worked! Thanks a lot! > > So what do you think of adding > > (native-search-paths (list (search-path-specification > (variable "JAVA_HOME") > (files '("jre"))))) > > to icedtea-* and openjdk-*? > I'm not sure if JAVA_HOME is only needed to build things (so only for the JDK), or whether it's also useful for JRE. I agree that it would be good to set when the JDK variant is installed. Kind regards, Roel Janssen From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 02 03:25:27 2020 Received: (at 40234) by debbugs.gnu.org; 2 Apr 2020 07:25:27 +0000 Received: from localhost ([127.0.0.1]:39072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJuEB-0005GB-KG for submit@debbugs.gnu.org; Thu, 02 Apr 2020 03:25:27 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:56765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJuEA-0005Fk-2P for 40234@debbugs.gnu.org; Thu, 02 Apr 2020 03:25:26 -0400 Received: from mimimi (moi44-1-78-199-129-170.fbx.proxad.net [78.199.129.170]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 39470100017; Thu, 2 Apr 2020 07:25:18 +0000 (UTC) From: Pierre Neidhardt To: Roel Janssen , 40234@debbugs.gnu.org Subject: Re: bug#40234: [java-iroha] Gradle fails with "Could not find tools.jar" In-Reply-To: <9bf49c49ba6cb5627985c12e0867ae5565b5bb98.camel@gnu.org> References: <878sjny39s.fsf@ambrevar.xyz> <87wo77z6ky.fsf@ambrevar.xyz> <87o8sjz3l7.fsf@ambrevar.xyz> <9bf49c49ba6cb5627985c12e0867ae5565b5bb98.camel@gnu.org> Date: Thu, 02 Apr 2020 09:25:17 +0200 Message-ID: <87mu7ubb8i.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Roel Janssen writes: >> So what do you think of adding >> >> (native-search-paths (list (search-path-specification >> (variable "JAVA_HOME") >> (files '("jre"))))) >> >> to icedtea-* and openjdk-*? >> > > I'm not sure if [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: gnu.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.231 listed in list.dnswl.org] 1.5 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 40234 Cc: guix-devel@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Roel Janssen writes: >> So what do you think of adding >> >> (native-search-paths (list (search-path-specification >> (variable "JAVA_HOME") >> (files '("jre"))))) >> >> to icedtea-* and openjdk-*? >> > > I'm not sure if [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.231 listed in list.dnswl.org] 1.5 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Roel Janssen writes: >> So what do you think of adding >>=20 >> (native-search-paths (list (search-path-specification >> (variable "JAVA_HOME") >> (files '("jre"))))) >>=20 >> to icedtea-* and openjdk-*? >>=20 > > I'm not sure if JAVA_HOME is only needed to build things (so only for the= JDK), > or whether it's also useful for JRE. > > I agree that it would be good to set when the JDK variant is installed. Is it possible to set the search-path only for a given output? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl6Fk10ACgkQm9z0l6S7 zH8jUAf/ZyYmoh4VAOwK3s+sfJLL0Yrl2SDsogqsyQKDRgLsbrNrKdeBtlYC64gt 4QBioP0x0Ocx0VwhKFi5CuK4C+x6j6abmwndHPWcPCn23Epj5B0I1JbAGs5NJQCV 4J1ySDt8Ix99lAkghsNzO8LDrVYw60HMXajkbPIvnYYNmdqF6VW0iGCIKFZEUwtg CkeyNwqWT1+HA6OVupQzJXqK1gTLViIf7MVzygbV6hCSX3xMhCmDuVPjuxJwWR1B JXt3OKIZjTfCLOT5OkWWXfT5i+GX78BqbkxvaRCDpzr0ZcSBlEeS1+P22EYBJ7oh 4iDRqWn3UE6kf6uwehYVM7fTgXkArg== =NV8D -----END PGP SIGNATURE----- --=-=-=--