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 wNNVNMbDTWNlqgAAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 23:06:14 +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 2CdxNMbDTWMzeQAA9RJhRA (envelope-from ) for ; Mon, 17 Oct 2022 23:06:14 +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 76CCDA845 for ; Mon, 17 Oct 2022 23:06:14 +0200 (CEST) Received: from localhost ([::1]:35732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okXJM-0003rj-S1 for larch@yhetil.org; Mon, 17 Oct 2022 17:06:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okXJD-0003jg-H7 for bug-guix@gnu.org; Mon, 17 Oct 2022 17:06:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51163) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okXJD-0001bQ-9d for bug-guix@gnu.org; Mon, 17 Oct 2022 17:06:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okXJC-0000UD-LB for bug-guix@gnu.org; Mon, 17 Oct 2022 17:06: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: Mon, 17 Oct 2022 21:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58591 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 58591@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.16660407051784 (code B ref -1); Mon, 17 Oct 2022 21:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Oct 2022 21:05:05 +0000 Received: from localhost ([127.0.0.1]:50241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okXIH-0000Si-5L for submit@debbugs.gnu.org; Mon, 17 Oct 2022 17:05:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:41578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okXIF-0000Sa-C8 for submit@debbugs.gnu.org; Mon, 17 Oct 2022 17:05:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okXI3-00036U-Kz for bug-guix@gnu.org; Mon, 17 Oct 2022 17:04:53 -0400 Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]:43006) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okXI2-0001GJ-4A for bug-guix@gnu.org; Mon, 17 Oct 2022 17:04:51 -0400 Received: by mail-qk1-x72e.google.com with SMTP id j21so7485047qkk.9 for ; Mon, 17 Oct 2022 14:04:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=5WVnVaKUPdXOvysDN+ia3MszkcjTfSR40W3br3IJGUs=; b=qQpfJURT/ANoC/p73x5jYyoCVT4E+LwUblz2HkHcVS46UjNm7pTzzLrnDxoX3fX71/ Mrq5lLT/CyDRx/ssVxQuzC/2Xg1HOWdImpnDpAh9i8dkifQjcyC18+ooimRTNq94q0pz +2MTKmjZauxrZhAvUP1AG8fbZaDipIhgbilCAWYnouyfybziGzdTXMPXWeXnB2z2Gfw/ 5i1e1MdnMuaDwV8keyR2iBPRo0QJ8Ydp4/RAqUkvCHrCgH7/0+T8Pfb1dEhWHvfFO3Qv kI2tgKzwaH1w2UjsFvdaMv8ZPeu2v7WzGfyP/4F7FG9I2pZxAMis18KZgQ/RMlFTWUu5 aNjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5WVnVaKUPdXOvysDN+ia3MszkcjTfSR40W3br3IJGUs=; b=XCzIQm0ANJq6pY1/jRo4SQOdEjVDf++mgHz+CWDA/BF/YzNCYadf64QjxwjKDDp5EU qbO7en4Pve+d1rbLqmC6rXf3bn91flvdOquXaPNxegTpMXV4jhp8hWBt8ethjvUVKaGA QTF1QqpWaa4X8J0BPrm7FWsgTHnpA+spLLyRX+Ad1aFJQWaZz8rOuRZid2AJV2RIGSJP hFqXlTQ3Mwoe9FAr8hhTrdzLaAx5f6Cgjexx0DoWysM0+GkOABARYTzdM6qOV2Cii7UB Xc8Ee4brQRZ2OWDWtkEYqRMR+xCkD3FFXbIhy8dhvTYr0NRd6Tdkwj4nFupV7IKOJ7cD Je+A== X-Gm-Message-State: ACrzQf2TReinxbVa9bcPFRMNqm8p6kYe8yRRLgBXJagelAhLqMT7Mdfq dR6ddjyN8/79eF3N8RNHBZtBKERPBeQ= X-Google-Smtp-Source: AMsMyM5pTGIM6jIPo8Oh3htcoUoBBvbGUTrRRGOgJoxtAmynE2yerDauSasDuzAO/NDwj7S68mmvAw== X-Received: by 2002:a37:ef0d:0:b0:6bb:4ec8:b312 with SMTP id j13-20020a37ef0d000000b006bb4ec8b312mr8971042qkk.249.1666040688733; Mon, 17 Oct 2022 14:04:48 -0700 (PDT) Received: from hurd (dsl-154-51.b2b2c.ca. [66.158.154.51]) by smtp.gmail.com with ESMTPSA id d12-20020a05622a15cc00b003995f6513b9sm573340qty.95.2022.10.17.14.04.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 14:04:48 -0700 (PDT) From: Maxim Cournoyer Date: Mon, 17 Oct 2022 17:04:47 -0400 Message-ID: <87v8oixits.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::72e; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x72e.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: 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=1666040774; 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=5WVnVaKUPdXOvysDN+ia3MszkcjTfSR40W3br3IJGUs=; b=XA0VYywn3TdneefKq3R33/nfHMplODV67P/Ms4KdmMS01C32cAyxwfQEjpxhuHo703k1Lz sEr4eR6nS7+aGR55V3k4PrvXMQeiCnaDEyT43N5SthkFHBQzwhk1bg16cfoLLQOv5ZfC8E 0Zp6HEg4tUGytXbRTpLwlAFNj0R+Fne/dBuWZVYjW3IHxdRXIbSUmGCmaLMqwgsnkOTBGA rCp89rKS3kUz3BTXTXt5IjfoY3pPigxFFEHuo3ivH3SugM8wNWSKcMbaA5OY65z/DEVt4v Pm4tW/Hm9f4kvQNtatTdp7q/S0bybhPjn2o+MzDgcRcLkpgoXZtBRq+rqkrSRw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666040774; a=rsa-sha256; cv=none; b=uSeSrAtN8BIkgBHYwGg3oPXHbKj0nNwQjSAyP+CdhQlFR7D9FSIGFMSdH1SGBPCReneOH+ +ww+sBhqF1EStPVE63jRfVqXRIROLferIo54wxuig+cabEInY9s3ZBrEZODBXBWVkAcndt Jh516pZCewsbV167hCbXAIY9vHpZAPtV7E7rZH1QVYxvM4KOoQ+YPyl8p302WYi29UfE/i /8CygnFk710jVakFu9Byc886wTv5jqJzXUpfpkQuvtGbYiD1kyFq2ROYjjNJKCksy+zTM6 r36e6+uajTTByjTjBwO3iWmkS6GZeyLzPURKkgsFJt2BER6R2jUEG+7XQ+PoXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=qQpfJURT; 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: 5.98 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=qQpfJURT; 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: 76CCDA845 X-Spam-Score: 5.98 X-Migadu-Scanner: scn0.migadu.com X-TUID: DFkbqxOfuc4q Hello, I'm not a Java expert, but this appears to me problematic: --8<---------------cut here---------------start------------->8--- $ guix build java-commons-dbcp /gnu/store/jghsa6fmh9vjcsmj7wwilk3w6iblvh32-java-commons-dbcp-2.6.0 $ guix gc -R /gnu/store/jghsa6fmh9vjcsmj7wwilk3w6iblvh32-java-commons-dbcp-2.6.0 /gnu/store/jghsa6fmh9vjcsmj7wwilk3w6iblvh32-java-commons-dbcp-2.6.0 --8<---------------cut here---------------end--------------->8--- Digging a bit more, peeking into the .jar file, which is a ZIP archive: --8<---------------cut here---------------start------------->8--- $ unzip /gnu/store/jghsa6fmh9vjcsmj7wwilk3w6iblvh32-java-commons-dbcp-2.6.0/\ share/java/java-commons-dbcp.jar -d /tmp/java-commons-dbcp.jar $ grep -rin CLASSPATH /tmp/java-commons-dbcp.jar $ grep -rin /gnu/store /tmp/java-commons-dbcp.jar /tmp/java-commons-dbcp.jar/META-INF/INDEX.LIST:3:/gnu/store/jghsa6fmh9vjcsmj7wwilk3w6iblvh32-java-commons-dbcp-2.6.0/share/java/java-commons-dbcp.jar $ cat /tmp/java-commons-dbcp.jar/META-INF/INDEX.LIST JarIndex-Version: 1.0 /gnu/store/jghsa6fmh9vjcsmj7wwilk3w6iblvh32-java-commons-dbcp-2.6.0/share/java/java-commons-dbcp.jar org org/apache org/apache/commons org/apache/commons/dbcp2 org/apache/commons/dbcp2/cpdsadapter org/apache/commons/dbcp2/datasources org/apache/commons/dbcp2/managed --8<---------------cut here---------------end--------------->8--- Still, no traces of the other libraries such as 'java-commons-pool' which should be referenced. I assume this means grafts doesn't currently work for Java libraries. -- Thanks, Maxim