From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wMHXCpDgpWK+VwEAbAwnHQ (envelope-from ) for ; Sun, 12 Jun 2022 14:48:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QFW1CpDgpWLddgEAauVa8A (envelope-from ) for ; Sun, 12 Jun 2022 14:48:16 +0200 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 D4ED5F264 for ; Sun, 12 Jun 2022 14:48:14 +0200 (CEST) Received: from localhost ([::1]:39084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0N0n-0004ZR-UU for larch@yhetil.org; Sun, 12 Jun 2022 08:48:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0N0c-0004ZJ-8l for guix-patches@gnu.org; Sun, 12 Jun 2022 08:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32894) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0N0c-0005QI-0E for guix-patches@gnu.org; Sun, 12 Jun 2022 08:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o0N0b-0007ZG-Up for guix-patches@gnu.org; Sun, 12 Jun 2022 08:48:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55927] [PATCH] gnu: icedtea-7: Add native-search-paths. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jun 2022 12:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55927 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55927@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165503804028893 (code B ref -1); Sun, 12 Jun 2022 12:48:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Jun 2022 12:47:20 +0000 Received: from localhost ([127.0.0.1]:55024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0Mzw-0007Vw-1p for submit@debbugs.gnu.org; Sun, 12 Jun 2022 08:47:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:46580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0Mzt-0007Vn-PZ for submit@debbugs.gnu.org; Sun, 12 Jun 2022 08:47:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0Mzt-0004X8-HZ for guix-patches@gnu.org; Sun, 12 Jun 2022 08:47:17 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:57476) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0Mzq-00057e-VU for guix-patches@gnu.org; Sun, 12 Jun 2022 08:47:17 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 1cebef2d for ; Sun, 12 Jun 2022 12:45:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:message-id:mime-version:content-type; s=dkim; bh=bVr v09ES3Pr1J9VDYTzUMk4A90B6TcGg9gtKKIxT4qM=; b=kQKZMQdTAf38AiV0k6a Mr3LybuUu+EoLhA5sqLm1YQdtBSOCdFQjIGFEDVXOM3+EOFMKVrOwMGQtq361uUq an+ABTtYBpaG79BcKfMmbohJoXpcVXtEeIk5bg8mO49QD5+Lzs0bHjt4p5+MgP5t WeiTHlTy7EoV1FwLWRVjRXOtVy3tvr1o0ca8PZi8E2LOFOfP7EYHnAZl+XXzJiCp Im9n+jyDXPCS6p2dda5OXL+9vNC24mdmk3FYG31bZN7LzLASbQbx8+y88K4Ouf9e D5k1Xvb2JphvI2darWEzN7anh9ezMhfCw0d0Z4ARuruSAjTn31FvlaoSLiDEcBRG atg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 8718f76d (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Sun, 12 Jun 2022 12:45:43 +0000 (UTC) Date: Sun, 12 Jun 2022 14:45:39 +0200 From: Julien Lepiller Message-ID: <20220612144539.55d5bcc0@sybil.lepiller.eu> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/LbJ2scuhcQCJl++0ytBPPx5" Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655038095; 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:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=QvOAa17l8VquHeWLTN5tBIjShBE6mWPiDP/jIVlwn7E=; b=VP6WkPgNESz17ktMIZvv3Hk8xaTdp8tmzg4dBRkUPfvIWcZpB3L2fQ6UJ4r/8Fa5LE7Qe0 iUxGDN6DBDSlMccSTDTMqOsRnoDqct81cQ/9kI7PH6raXg5IP7eScPrMFsO39vJphcqrDG +Qn3yAttEmt7S/QaOBRWXVzeAR76FhuXOwRKpDBuZTB/b9CSyVDRe0vVjp+Jbcl1Smfwmq TFTw9slJICttoM7xO2pOcjGHDyB538wMarBWUIzSHr4Hqw7mJc8DtM6DqStuYTnMEZpJw8 KoO2k4fjMECLHfLS/i8P79GGj1VHZxwk9ubAwuDw8AQV4BPflGKDC2I8zG2d3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655038095; a=rsa-sha256; cv=none; b=qERkdgSFzbTGjq/2glXDl4u0d24fElhuXqU+slaq9N1ZM7jjPXEuRtE4OpQ++qY5cyh3AK oa+DpyvxnvmM9Z6D61g1+NtNlpPwICarBxJlwz0a0ItDzQPrKYOS/FKlCrSzZnFKb5v5la DHqgqcN2umJ0ZxanO198aI9Deb9azyP1nSsEcUVu1T1LOv3m7HRQTnIAfePt6MUbwLP9VS 1pVOeriPWp/m3ggichzbzCnJK829AEyT6jbxoTcTKVDDckQ8Ixkr18smoGT3SktL2gnXQ9 qNdOc1LiZ3CD2N6/NRKKRs+fjkrTOANNMt1RxfSFOVf0cowMCE+qYgNGG9Eeig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=kQKZMQdT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=kQKZMQdT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D4ED5F264 X-Spam-Score: 5.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: B0CxJLyCfw6q --MP_/LbJ2scuhcQCJl++0ytBPPx5 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Guix! This short patch adds a CLASSPATH native-search-path to our icedtea and openjdk packages. It lets users build java on their machine using Guix-provided dependencies and the JVM/JDK won't complain anymore it can't find the dependencies :) Unfortunately, this requires rebuilding all of Java, so it should go to staging. I tested the patch on my computer and rebuilt all packages up to java-jmh. No breakage to report, except a two undeterministic test failures in jmh and commons-collections4. --MP_/LbJ2scuhcQCJl++0ytBPPx5 Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-gnu-icedtea-7-Add-native-search-paths.patch >From 8c35ca59ab1977eb56d4a157fda774645f7702fd Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sun, 12 Jun 2022 14:39:42 +0200 Subject: [PATCH] gnu: icedtea-7: Add native-search-paths. This is inherited by other icedtea and openjdk versions. * gnu/packages/java.scm (icedtea-7): Add CLASSPATH support. --- gnu/packages/java.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index fcac0c2367..ad7ecc3d84 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -798,6 +798,12 @@ (define-public icedtea-7 (outputs '("out" ; Java Runtime Environment "jdk" ; Java Development Kit "doc")) ; all documentation + (native-search-paths + (list (search-path-specification + (variable "CLASSPATH") + (files '("lib/m2" "share/java")) + (file-type 'regular) + (file-pattern ".*\\.jar$")))) (arguments `(;; There are many test failures. Some are known to ;; fail upstream, others relate to not having an X -- 2.35.1 --MP_/LbJ2scuhcQCJl++0ytBPPx5--