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 yDECGEw2T2OyeAEAbAwnHQ (envelope-from ) for ; Wed, 19 Oct 2022 01:27:08 +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 QJoXGEw2T2OmRAAAauVa8A (envelope-from ) for ; Wed, 19 Oct 2022 01:27:08 +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 138D815C74 for ; Wed, 19 Oct 2022 01:27:08 +0200 (CEST) Received: from localhost ([::1]:34312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okvzH-00077F-1Z for larch@yhetil.org; Tue, 18 Oct 2022 19:27:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okvzC-000773-IA for bug-guix@gnu.org; Tue, 18 Oct 2022 19:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55985) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okvzC-0007Mz-AN for bug-guix@gnu.org; Tue, 18 Oct 2022 19:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okvzC-0000s7-1x for bug-guix@gnu.org; Tue, 18 Oct 2022 19:27: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 23:27: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: liliana.prikler@ist.tugraz.at, Tobias Geerinckx-Rice , 58591@debbugs.gnu.org Received: via spool by 58591-submit@debbugs.gnu.org id=B58591.16661355693288 (code B ref 58591); Tue, 18 Oct 2022 23:27:02 +0000 Received: (at 58591) by debbugs.gnu.org; 18 Oct 2022 23:26:09 +0000 Received: from localhost ([127.0.0.1]:55063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okvyK-0000qy-LV for submit@debbugs.gnu.org; Tue, 18 Oct 2022 19:26:08 -0400 Received: from mail-qt1-f174.google.com ([209.85.160.174]:44747) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okvyH-0000qR-7T for 58591@debbugs.gnu.org; Tue, 18 Oct 2022 19:26:07 -0400 Received: by mail-qt1-f174.google.com with SMTP id bb5so10697303qtb.11 for <58591@debbugs.gnu.org>; Tue, 18 Oct 2022 16:26:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=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=/oUoWF81S/didwImDJN5RnvzZgbW1elP09Yl+3qeE34=; b=IurxlLjmpX1cHw7bfdnV/9X7Vf9MiORMPuKsG7TdtfwGzTUAPcA7ojiWNGg5qgh64a n5Q5eeZgVchC02U3a2GKc+gOwZ6J/e9QWosHK6hI1V95vrE8AXJHZvyYld0ZFqLkNE0Q S2eQZC/7WbXKjGVDg/vamZli6Bvtd/JeJtaLL4sgFrvr3tG7fZ8qNSTMSpKc0D5MKZaK V4ECTm+l1IS5a10rvKdFLIuKofCXrVXBmOVmGKF5tgGhSVXxyQOTS/l/dc/0TPcXHSPZ Y3DkWy4deTo+L4LIMHEdNNZHFxA1Qqm8b8vYH7u7B/1ma3gqk60Ys/DzVRAt2+ox2mQc yobg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=/oUoWF81S/didwImDJN5RnvzZgbW1elP09Yl+3qeE34=; b=Yy2rvCWeszZEymJ+Dtg5LUzYXE6mAo+T2jStq05aisk8yPCWdgJ6U8CLhvaCfhvlDg VqqfB23ai2Gamo0A7kAP49VEYLaZeHviRRj9zo5Fbt1BbSnvDS7FrIN7yd09g/KhweO8 LVi5d43NOk+4km9q0qfNyako0ecZCmSc886BGBDPAf5dygd60aUNXmS1/4OFhPO7w/tp SCOesRWvh0SKc5jehLcNrY4yglnGWvcbgP+m5pfs9rUwjwlm6yx4rpePU4c3kdxKNw6o UfvhEIZum53399D4/8Rgg4bEuhRU8GMmUJehyH/gMEWlrl/5saSb5QrcBIwGLJw8zXaw v7fg== X-Gm-Message-State: ACrzQf3c+jNMVnxgzg5zTbSg0c6WaS5mFeYbs2dITK+ZGEzkrQlhIJSp hJu1NF5kJr4CfLRORUiwjb31Y/yIB98= X-Google-Smtp-Source: AMsMyM6EIvYbrm3T0zTMR9Tsw3SP2FUqIaxPazbHEfG/T4sXy2v/kqatQybZQzYrkG0RGLdrIs1duA== X-Received: by 2002:ac8:7d12:0:b0:39c:c95a:5a20 with SMTP id g18-20020ac87d12000000b0039cc95a5a20mr4307375qtb.278.1666135559623; Tue, 18 Oct 2022 16:25:59 -0700 (PDT) Received: from hurd (dsl-154-51.b2b2c.ca. [66.158.154.51]) by smtp.gmail.com with ESMTPSA id fd4-20020a05622a4d0400b0039cd508f1d3sm2831801qtb.75.2022.10.18.16.25.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 16:25:58 -0700 (PDT) From: Maxim Cournoyer References: <87v8oixits.fsf@gmail.com> <025A8B84-E6C6-43EC-AAF6-CC93DC2F2BAC@lepiller.eu> <87edv5yhlp.fsf@gmail.com> <0e0a5d5dd55ae78f2eda4e390517d6b5e0325b83.camel@ist.tugraz.at> <87y1tdw9yc.fsf@gmail.com> <87k04xcksv.fsf@nckx> <87ilkhw5cu.fsf@gmail.com> <87edv5w58e.fsf@gmail.com> <08A37CE8-730E-4FD8-96B5-64CC874BFA9B@lepiller.eu> Date: Tue, 18 Oct 2022 19:25:57 -0400 In-Reply-To: <08A37CE8-730E-4FD8-96B5-64CC874BFA9B@lepiller.eu> (Julien Lepiller's message of "Tue, 18 Oct 2022 17:32:32 +0200") Message-ID: <87sfjkvhmi.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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=1666135628; 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: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=/oUoWF81S/didwImDJN5RnvzZgbW1elP09Yl+3qeE34=; b=b7BGldGmwR4oDBQCSSoJp42gs70arBtOpJh26SaJFlW7cKZAcOY9ycJmYDJ/hgtuo6Zs28 L61n0y6f3pBvHXS9SbXccz3rX+ZfdFltlefluMdVtMNaXo6ZAYmvmXHwbHQEZWtUNMoaLi spTL5vBlFFkHzpEpdInTeo5sdsgVi4EKR5+pLjMChE+z67FPw623BhtaTs0VIGvGCxaXel jthkGMnCRsQTABJVzP2hAIidyLYgkyB43hleZ+Ga1ye9eMnShfs3NQguavm49UiUEmX9RE lj3zs/and04RoewAVH2TFaMngORLNO918d9U7wv6fYaKNXbsOvb060KmeKQrFw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666135628; a=rsa-sha256; cv=none; b=aPeS2s5C8tEc5pbUKGKNwvoZjUuSxbWNWmvEF1QLg4a82249MLzdh7HhQrsluengsMQn1g G/a/hhFVIq6hUnuQZIJ9wgiErnhmuRGXI+FhSuZeijNqrZZsZT0t/s8BmEwZfXJU60FUch V7JQjaEFgXRP6ZtMENny11MnyrlL21bOZaUeqiZ2CVk1PSUXBCX+y51Gv85IGBEjcBWzhB 38sPVxvjBctwqsssvJ41rejQYcqflSrEvIY+V/sW7x5vQILdb4EwMY4RApUlhMaYAEuemC UijCwBszVO1iUOzRdAIls2+ecNztsGsgDmbogAx7lDJ2gaAcjWuaboRBsIUufQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=IurxlLjm; 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=IurxlLjm; 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: 138D815C74 X-Spam-Score: 6.08 X-Migadu-Scanner: scn1.migadu.com X-TUID: yKjxyT9ZlQHe Hello, Julien Lepiller writes: > Hi, replying to a few emails at once. > > The ant-build-system uses zip -0 to produce an uncompressed > archive. By default, jar produces a compressed one, so there's a > repack phase for that: > http://git.savannah.nongnu.org/cgit/guix.git/tree/guix/build/ant-build-system.scm#n226 Ah, I had missed the -0 == uncompressed part. Thank you. > Embedding the classpath in the manifest is possible but would not have > the expected effect. That's because a line in the manifest cannot > exceed 72 bytes (see "line length" in > https://docs.oracle.com/javase/8/docs/technotes/guides/jar/jar.html#Notes_on_Manifest_and_Signature_Files), > so the classpath will look like: > > Class-Path: ../../../1234567891011 > 1213141516/share/java/foo.jar Although it looks like the 72 bytes line width limitation may has to do with binary data: Binary data of any form is represented as base64. Continuations are required for binary data which causes line length to exceed 72 bytes. Examples of binary data are digests and signatures. Worth a try in my opinion (I'm giving it a shot as I write this). Thanks for the explanations! Maxim