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 ms9.migadu.com with LMTPS id eFjgK78iGGQdLAAASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 10:09:19 +0100 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 MKKsK78iGGTyGgAAauVa8A (envelope-from ) for ; Mon, 20 Mar 2023 10:09:19 +0100 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 3F3B120693 for ; Mon, 20 Mar 2023 10:09:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peBVr-0000G0-MP; Mon, 20 Mar 2023 05:09:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peBVm-0000Fp-7F for bug-guix@gnu.org; Mon, 20 Mar 2023 05:09:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1peBVl-00027t-Tx for bug-guix@gnu.org; Mon, 20 Mar 2023 05:09:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peBVl-0005OG-Ph for bug-guix@gnu.org; Mon, 20 Mar 2023 05:09:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62071: openjdk@9/10 sources not reproducible Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 20 Mar 2023 09:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62071 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Cc: 62071@debbugs.gnu.org, Lars-Dominik Braun Received: via spool by 62071-submit@debbugs.gnu.org id=B62071.167930332420696 (code B ref 62071); Mon, 20 Mar 2023 09:09:01 +0000 Received: (at 62071) by debbugs.gnu.org; 20 Mar 2023 09:08:44 +0000 Received: from localhost ([127.0.0.1]:53676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peBVU-0005Nj-8P for submit@debbugs.gnu.org; Mon, 20 Mar 2023 05:08:44 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:65323) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peBVR-0005NS-7z for 62071@debbugs.gnu.org; Mon, 20 Mar 2023 05:08:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:references:date:in-reply-to: message-id:mime-version:content-transfer-encoding; bh=cDN1cmbmBQLCd5tfkTw7FP/Tir+uePbH8CWg8ebfjnA=; b=XOuqRELXUnoSdI4lFPPwzRDGcKsRVmIix+jVV/raciWu8exLtN+eua/h IEGodaII1CGqIsLlHJor+Ek+BieZIf7t4A8FTRdJBjzfTKpN0ZgcdY4W+ 14T+DC/9rLErybV9JdcLY0m5BZUHGKMLHEPDf0fJL7PcxGUn9TlLAOnSq A=; X-IronPort-AV: E=Sophos;i="5.98,274,1673910000"; d="scan'208";a="50656061" Received: from unknown (HELO ribbon) ([193.50.110.213]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2023 10:08:35 +0100 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20230312220021.22bfff4f@tangletp> <878rfwgbng.fsf@gnu.org> <20230317231031.4a7eb099@tangletp> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: =?UTF-8?Q?D=C3=A9cadi?= 30 =?UTF-8?Q?Vent=C3=B4se?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Plantoir X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 20 Mar 2023 10:08:34 +0100 In-Reply-To: <20230317231031.4a7eb099@tangletp> ("=?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?="'s message of "Fri, 17 Mar 2023 23:10:31 +0100") Message-ID: <871qljpz71.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=XOuqRELX; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679303359; a=rsa-sha256; cv=none; b=OHXiHkShnNdBqBQPaiiIbbebPyqk9iVzYmCeG0RCgBNMuzZB17ALUa4J7IXwBwdXLYuAL8 5oXwNGEe+3P6fXPdVF5KFmvPafhMZNlldS5jJ/Ktdka/ohzlIbr9IVLmA541Zw5gQJDkPS u2lTLQBLdqcFehprBF6uaP3kXtKVoqwXGv/MgeSSC7H9RuFzb00R21iksyHUVg3swCc2mt P8tEXvEnO79MqjZXK156Vi0IHd6ZROH6NGrPk3JvbMNK9XkaEKepMYadEJ80lUxAUsbyqQ En8Xr2I+wzbNt4JmTOPf8x5SqkW68sAlJ0MhX7b2psekp7Qam9wDn8XYX7Al+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679303359; 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=cDN1cmbmBQLCd5tfkTw7FP/Tir+uePbH8CWg8ebfjnA=; b=FseIBv4kknFMIqGyikhXsxL3UMH4vT8d0G9LoIAtO7Fx7yPZSSoLehPjZHpMTXQoEodJnI zojvxWWTIdGePbko3xCWqH5ZK7IZimOUGiugbYu9tHDYE2alMn4nlLLC79+VeGQcZGOLje NLfqu7Ja6e3cTHnAX5qzerXFPVsiQhwL/n2K02NW/mY702TjXLaLgq+du/UBCDKPj3A4gE Kbqb38PQNT/1cpjl6DPj8hWXkl0DN9o1Oyn2Gpd8EAmZq1uMvAV194nbuLj0moNFnP9VUc kgSFyfJK3//xPHAHeagAWGZpu5ZgzuL5xNJJK9wGH8iirvTV8p6Q1PgrZ1hF/A== X-Migadu-Spam-Score: -2.15 X-Spam-Score: -2.15 X-Migadu-Queue-Id: 3F3B120693 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=XOuqRELX; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none) X-TUID: Ackh00Yaec5O Hello, Bj=C3=B6rn H=C3=B6fling skribis: > On Thu, 16 Mar 2023 12:48:19 +0100 > Ludovic Court=C3=A8s wrote: > >> Hi Bj=C3=B6rn, >>=20 >> Bj=C3=B6rn H=C3=B6fling skribis: >>=20 >> > I will check the same for JDK10 and will prepare a patch within the >> > next two days.=20=20 >>=20 >> Thanks for 7636c49b45adb9870cf416c64bde032ec858a820 and its parent >> commit! >>=20 >> For the record, there are two remaining issues: >>=20 >> 1. Reproducibility of past revisions. If we lose copies of the >> auto-generated tarballs, then OpenJDK in past revisions of Guix >> is irreparably lost. We should check whether/how to get them in >> Disarchive + SWH. > > How do we do that? Adding git repos to SWH is something I can achieve, > but adding tarballs to SWH was always opaque to me. > > I find no reference in the manual about Disarchive. Ideally, is there a > linter for just adding a package to the disarchive database? SWH periodically ingests the contents of tarballs (not tarballs themselves) that appear in . We=E2=80= =99d need to check whether it has the contents of those tarballs. Then is populated by the CI job at . Are the openjdk 9 and 10 tarballs archived? Let=E2=80=99s look at their origins as of commit 1e6ddceb8318d413745ca1c9d91fde01b1e0364b. We can construct their Disarchive URL by first converting their SHA256 to hex: --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> ,use(guix base32) scheme@(guile-user)> ,use(guix base16) scheme@(guile-user)> (bytevector->base16-string (nix-base32-string->bytevec= tor "01ihmyf7k5z17wbr7xig7y40l9f01d5zjgkcmawn1102hw5kchpq")) $5 =3D "f842360b87028460b9aa6c3ef94b0bc0250a883f2ff693173fe197799caf3006" --8<---------------cut here---------------end--------------->8--- That gives us: https://disarchive.guix.gnu.org/sha256/f842360b87028460b9aa6c3ef94b0bc025= 0a883f2ff693173fe197799caf3006 https://disarchive.guix.gnu.org/sha256/249fd462bdd32571c6d0a45f3cb698a305= c9e4e66b275d25e990ac0184c0dc7f Both are 404. But like I wrote, this is expected: they are bzip2 tarballs and Disarchive doesn=E2=80=99t support bzip2 (yet). >> 2. Mercurial/SWH bridge. While SWH has a one-to-one mapping with >> Git (you can ask it for a specific Git commit ID), that=E2=80=99s not tr= ue for >> hg. This is a more general problem, but as things are today, >> there=E2=80=99s no automatic SWH fallback if the upstream hg server >> vanishes. > > For git, I know and appreciate that the linter can directly add a > missing repo to SWH. During linting, I recogniced this is missing for > hg. > > I was thinking a second time about it and found that not only the newer > development of OpenJDK is on GitHub, but also the older versions are > available. So I could add another patch like this:=20 > > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/openjdk/jdk9") > > WDYT? That=E2=80=99s a good idea. It shouldn=E2=80=99t change the SHA256 (if it = does, something=E2=80=99s wrong) so it looks like an no-brainer. Thanks! Ludo=E2=80=99.