From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eBebILoTTmNLMQAAbAwnHQ (envelope-from ) for ; Tue, 18 Oct 2022 04:47:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qFu4ILoTTmMPfgAA9RJhRA (envelope-from ) for ; Tue, 18 Oct 2022 04:47:22 +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 2EB4B1DD57 for ; Tue, 18 Oct 2022 04:47:22 +0200 (CEST) Received: from localhost ([::1]:36130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okcdU-0005Tz-EA for larch@yhetil.org; Mon, 17 Oct 2022 22:47:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okcdD-0005Rv-CB for bug-guix@gnu.org; Mon, 17 Oct 2022 22:47:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okcdC-0002UV-TF for bug-guix@gnu.org; Mon, 17 Oct 2022 22:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okcdC-0005bX-G2 for bug-guix@gnu.org; Mon, 17 Oct 2022 22:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#58591: Java packages do not appear to keep a reference to their inputs Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 18 Oct 2022 02:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58591 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Julien Lepiller Cc: 58591@debbugs.gnu.org Received: via spool by 58591-submit@debbugs.gnu.org id=B58591.166606116721466 (code B ref 58591); Tue, 18 Oct 2022 02:47:02 +0000 Received: (at 58591) by debbugs.gnu.org; 18 Oct 2022 02:46:07 +0000 Received: from localhost ([127.0.0.1]:50665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okccJ-0005aA-1c for submit@debbugs.gnu.org; Mon, 17 Oct 2022 22:46:07 -0400 Received: from mail-qk1-f181.google.com ([209.85.222.181]:38631) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okccE-0005ZJ-3e for 58591@debbugs.gnu.org; Mon, 17 Oct 2022 22:46:06 -0400 Received: by mail-qk1-f181.google.com with SMTP id d13so7903555qko.5 for <58591@debbugs.gnu.org>; Mon, 17 Oct 2022 19:46:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=MWrfqGq4IF7MbK1MljWBKqtDYWCvPG/ZIwxsfZxI3/0=; b=Vq7/6Q0lhIWTRS2goabZ8KdoFWElR1VGJX/ISAjO/MtN5l6jAqhoJXLa15tfIO0LvG vbBkuia0R6tthypKBYrkkqZL2ARQXHWoHez1n20ALlauBjENUYTvfcvOUO7aiieHZhzX FIxr6YZX63uOVJonsmCzzI2v9ZSC2WkGPyOhiZqJ5rgJ6WUlA2LkQ1A9WUj8oeC6ltnG VTJ84Tcen36kQQKPNG+m4VZVjvN3I7hh3/ogjd36XGjnS/L4QuFt/eXPBUQvA7qErGj9 +wTyxJTVZQP8iPUNwo2ZfUYT2gS6ylNgQ74Awt/3smRhuv4ANPRozSC3SZcCi+FyaH2k xkGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=MWrfqGq4IF7MbK1MljWBKqtDYWCvPG/ZIwxsfZxI3/0=; b=vGStn0twYIUmAnD9Eu2E3cH7sUYe7h4Y2fVasewIW3k1kkFL7tH49xVSzQsOmwnZo1 erN/2Ah51lmWs5bhNf9RAzbCdbIUzYVN9s5jfPRFHO+S7I6JdFuie732sosQocNJd59f Z8CLMrx5wPRqFCiwWVdIBnQsl0if1yTIUjURnfpr8AYjKMIVpdLw9SQGtRAFHXwPq0FK iirdFueV396Cte3/fCUdDj3OZkhWtFwBPpJv9K2Pk5Zyw2WaQLvEPVTTQtoTtxtLQ+Bk 95FeN4vv8mPvNzLtxlnHYUOuuL8TaTCAyMx8gH+BDew+pxS7crPTv0xy12xDtQstiu3I u2pw== X-Gm-Message-State: ACrzQf3pF+Kig8gao4ntC6Rj0v3R/t0p6mAQBQTGGNeozCseJ8GtxVet sNwqs+JW1LcC4UthSFMD992kEKO2yQg= X-Google-Smtp-Source: AMsMyM7QPpW803uggKzBlFYOv1VPEZQ8AqFJr79GhpCsu4nQraAF3vXKGJwcE8sAtYoKBGordbj/0g== X-Received: by 2002:a05:620a:25ca:b0:6b8:7633:baf with SMTP id y10-20020a05620a25ca00b006b876330bafmr458008qko.515.1666061156320; Mon, 17 Oct 2022 19:45:56 -0700 (PDT) Received: from hurd (dsl-154-51.b2b2c.ca. [66.158.154.51]) by smtp.gmail.com with ESMTPSA id h22-20020a05620a245600b006b953a7929csm1344375qkn.73.2022.10.17.19.45.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 19:45:55 -0700 (PDT) From: Maxim Cournoyer References: <87v8oixits.fsf@gmail.com> <025A8B84-E6C6-43EC-AAF6-CC93DC2F2BAC@lepiller.eu> Date: Mon, 17 Oct 2022 22:45:54 -0400 In-Reply-To: <025A8B84-E6C6-43EC-AAF6-CC93DC2F2BAC@lepiller.eu> (Julien Lepiller's message of "Tue, 18 Oct 2022 00:03:27 +0200") Message-ID: <87edv5yhlp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666061242; 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: content-transfer-encoding:content-transfer-encoding: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=MWrfqGq4IF7MbK1MljWBKqtDYWCvPG/ZIwxsfZxI3/0=; b=EuXzglE1HJ9G8GyzBVdoJy7a2Her+pKvGGJ4V93G0Gm6M/9Q0V1HtSEQZGNHGsjahOlhYQ Vhlb67HtKgrc1D/kIwVOuTOwCd1cqhh7N4Ef5+XJu87eWDjpVSlixKQXUKxOEpKn9ef5ld O4JepbbuqX6tRSUATl+h2xPk7VKtIVWWrZ1IbK/hk+k2YOMFrGZswpOxamFt2Zg0qgfaAD PPeugURlFTVJqA8PPWqfnCktn8uQsHmrob/kHmlWY5OYTyGjY+0VcZkNOS5j1nnHNBOwNb lK8TXg4K2w1QIWynFjzlYOqVerEpPHLRHauij0LEev9ruP6Tf7Hmuv8poEJvTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666061242; a=rsa-sha256; cv=none; b=Pjdyop2fm/b7qKxERIDf0LM644fYPbvBcjPorhMjHBU1noWQTEMzL90nNWPIsbOAP56T0g Xbic0z7RHx1saP6rloINuxvHNsqKMGMTj66RO/typ2okx+K+J2QaqU0k7pEx5c/0BRjDWu 4PsWME9pRCsCp27WUm7dbJUGfX6UNBytKqvOlkfpQ5afRiYOFNHwTIU1Deq3FRRSWK1fwK iai51MheOQU4iuxrqN3cnl6j5jlRNYwoo/mGSYH8JEvo/qdtZJVkcXGt+tO+YW/2de4ALz mcykNN6IxLHfmYjmyQru/Brolx5Bi52LDMWSgfVIRAl6VWKLM9GolbTIYm1aUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="Vq7/6Q0l"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.08 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="Vq7/6Q0l"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 2EB4B1DD57 X-Spam-Score: 6.08 X-Migadu-Scanner: scn1.migadu.com X-TUID: /GcG9LCVemmc Hi Julien, Julien Lepiller writes: > You're right, java package don't retain references to there input, > that's why we propagate required dependencies (mh=E2=80=A6 sometimes). I = don't > know how they could reference dependencies directly. Could we, along with installing Java classes as directories instead of .jar archive files [0] at a more specific prefix, define a search path specification that'd set CLASSPATH? Currently I don't see anything setting CLASSPATH outside of the build systems, so even if we propagate Java things, I don't see how it'd find them in a profile. [0] Not exactly sure how that's done yet, but it's mentioned here: https:/= /docs.oracle.com/javase/8/docs/technotes/tools/windows/classpath.html -- Thanks, Maxim