From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: broken references in jar manifests Date: Tue, 20 Mar 2018 11:28:55 +0100 Message-ID: <20180320112855.33d86b6f@scratchpost.org> References: <87zi3qfwfi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/p/_DZ.YDIjjRelT=qXW4EcI"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyEVv-0005lx-39 for guix-devel@gnu.org; Tue, 20 Mar 2018 06:29:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyEVr-0007Em-31 for guix-devel@gnu.org; Tue, 20 Mar 2018 06:29:07 -0400 In-Reply-To: <87zi3qfwfi.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org, Ricardo Wurmus --Sig_/p/_DZ.YDIjjRelT=qXW4EcI Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable (1) How about adding another file to the META-INF directory which is just like manifest - just without the line breaks? That could even be automated. (2) Also, "jar -i" calculates an index for where which package is ("INDEX.L= IST"). Is that also hard-word-wrapped? The specification https://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html#JAR%20I= ndex only mentions the 72 Byte limit for "manifest and signature files" and then= specifies Index File Specification separately. Either would be good enough for the GC retaining the deps, right? --Sig_/p/_DZ.YDIjjRelT=qXW4EcI Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlqw4mcACgkQ5xo1VCww uqVYxQf/QdDkmbBit5Mp3ED3ZE0hBNTWD1tT2Qim7GpN/HbkDr2d+0ASbEF4DoT6 FdCacp7YEjUM2iCjZsWvd6vriNscUafi+eNsAegeB6gokonRo8K6Ydv+B41ygAG8 iS7MznBAfuD9wAhM7wkwhciydmqbWZTtOO3VoIFyim9PpFpqZ39UM+YoHw9j9e8e /HI+R01TSVEc3S+36GcNr9wx/cpwpv9vwe+DQDQr/soYxjrOVbWmIe09pHpKCka4 Uahn4PbEN1NzlbNrYoT9KirxZ2ILHtEgUBrTfBntD+odBbeL9gmpQtM6nKT9I+ko cZLr0CAAqqoo51af3M8JsyPDzQo/tA== =SH7q -----END PGP SIGNATURE----- --Sig_/p/_DZ.YDIjjRelT=qXW4EcI--