From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 iLdtDC0FTmP1JgEAbAwnHQ (envelope-from ) for ; Tue, 18 Oct 2022 03:45:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sM9aDC0FTmNxeQAAauVa8A (envelope-from ) for ; Tue, 18 Oct 2022 03:45:17 +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 D47FA1C231 for ; Tue, 18 Oct 2022 03:45:16 +0200 (CEST) Received: from localhost ([::1]:60172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okbfM-0008RS-2b for larch@yhetil.org; Mon, 17 Oct 2022 21:45:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50456) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okbfD-0008Ow-FG for bug-guix@gnu.org; Mon, 17 Oct 2022 21:45:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51540) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okbfC-0000gM-NO for bug-guix@gnu.org; Mon, 17 Oct 2022 21:45:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okbfC-0003vO-EH for bug-guix@gnu.org; Mon, 17 Oct 2022 21:45: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: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 18 Oct 2022 01:45: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 , Maxim Cournoyer , 58591@debbugs.gnu.org Received: via spool by 58591-submit@debbugs.gnu.org id=B58591.166605748415048 (code B ref 58591); Tue, 18 Oct 2022 01:45:02 +0000 Received: (at 58591) by debbugs.gnu.org; 18 Oct 2022 01:44:44 +0000 Received: from localhost ([127.0.0.1]:50618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okbeu-0003ue-9H for submit@debbugs.gnu.org; Mon, 17 Oct 2022 21:44:44 -0400 Received: from world.peace.net ([64.112.178.59]:43740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okber-0003uK-P9 for 58591@debbugs.gnu.org; Mon, 17 Oct 2022 21:44:42 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1okbek-0002ie-49; Mon, 17 Oct 2022 21:44:34 -0400 From: Mark H Weaver In-Reply-To: <025A8B84-E6C6-43EC-AAF6-CC93DC2F2BAC@lepiller.eu> References: <87v8oixits.fsf@gmail.com> <025A8B84-E6C6-43EC-AAF6-CC93DC2F2BAC@lepiller.eu> Date: Mon, 17 Oct 2022 21:43:28 -0400 Message-ID: <87pmepsy78.fsf@netris.org> 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=1666057517; 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: 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; bh=KVMIvSFrSp9mF8kTAPbNdFN5k+Ch1c7N9MytNn2WsWU=; b=kqjYpzoReYk6xHvoYfZTMaqu7kqjMNvIXewR+/41zE4qNbcrEbUNmVfdh8yKUzG+CfDMhs TGrWsfz6EPdv/dCiUCWi/6SnmjQdAFz1jrLoVPwVhzELjL3B4TQCqBausL+I2XtIfpwxHm zzj7ZWDlcBMNyKQgILeofWfFF7RjmHNDJ6kH1yna7l50H1aLD/uBFL8RqaDFS4X9i/ywFu g1OzMKbeJORiDMGikjddHYbPpXzrYzb1p7CK6AiYsC+RvwrVyOCkrl7jK7LNKPe4nTiWeB HHJzGbIwSy1alzWjWLFwplQmBpaeWTHGJXZyrm1IESllg/E5lsnHD5Ny3FEZzQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666057517; a=rsa-sha256; cv=none; b=G/AQWvoxqlL8JaZ4EpLD6y/U+rmsW9h3nka2m25nqFYpNnx4MXngUzbgpjUYsSRE0mcNTC eSg0JP3PHFx9x/4xxZsfpP2AwJ16XHFpsIgVRNUWerfUC0JK2qkKyv8/6IKYF+RH/umLsx SzD71fL9fQv55xgOz/C62Jm2Ee2pjgu3G69TFyJJIsZ/0tnebZalEhzKIzIo3ZX/6RyYwn bKGFW1SCtKBJd7nJAZCl6tIr+JSWa7CntSddX/Ap8qbMRK5oEMq6gZxcXkh6S83amtbMn8 Mu6+tSyEueoj/ZZ4ZZ+mztxjbMM2BcWyl1wE2BAIv+njwKSkznpurlhJT3l7Ng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: D47FA1C231 X-Spam-Score: -2.92 X-Migadu-Scanner: scn1.migadu.com X-TUID: R0NKUotBNfc0 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. A better workaround would be to add a phase that installs file(s) in the output(s) that contain references to the required store items. They could simply be text files with one line per reference. That would at least protect the dependencies from the garbage collector. The remaining unsolved problem is, of course, grafting. Mark --=20 Disinformation flourishes because many people care deeply about injustice but very few check the facts. Ask me about .