From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4MdTIhfEFGG/DAAAgWs5BA (envelope-from ) for ; Thu, 12 Aug 2021 08:47:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OKAOHhfEFGFHGwAAB5/wlQ (envelope-from ) for ; Thu, 12 Aug 2021 06:47:51 +0000 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 D0D6689FA for ; Thu, 12 Aug 2021 08:47:50 +0200 (CEST) Received: from localhost ([::1]:46386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mE4VJ-0003yW-S9 for larch@yhetil.org; Thu, 12 Aug 2021 02:47:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mE4Ta-0001kJ-Uv for bug-guix@gnu.org; Thu, 12 Aug 2021 02:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53919) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mE4Ta-0005Ok-O5 for bug-guix@gnu.org; Thu, 12 Aug 2021 02:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mE4Ta-0003Lo-G5 for bug-guix@gnu.org; Thu, 12 Aug 2021 02:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50015: Rust packages are not reproducible Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 12 Aug 2021 06:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50015 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 50015-submit@debbugs.gnu.org id=B50015.162875072212829 (code B ref 50015); Thu, 12 Aug 2021 06:46:02 +0000 Received: (at 50015) by debbugs.gnu.org; 12 Aug 2021 06:45:22 +0000 Received: from localhost ([127.0.0.1]:37232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mE4Sw-0003Kr-06 for submit@debbugs.gnu.org; Thu, 12 Aug 2021 02:45:22 -0400 Received: from flashner.co.il ([178.62.234.194]:49798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mE4St-0003Kd-Em for 50015@debbugs.gnu.org; Thu, 12 Aug 2021 02:45:20 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id 8AD2D402F0; Thu, 12 Aug 2021 06:45:13 +0000 (UTC) Date: Thu, 12 Aug 2021 09:44:08 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 50015@debbugs.gnu.org References: <87czqjk7j6.fsf@inria.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hERrD6WfHwFuoAjY" Content-Disposition: inline In-Reply-To: <87czqjk7j6.fsf@inria.fr> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 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: , Cc: 50015@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628750870; 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; bh=K4ehc960BebG1DcHO6VsdOqu7KipxlgvkyMZzRtWQd4=; b=NmjmVotrLvNDp6+UJKnzSFUMwTqEaumfDjUS6wk6d0PKkgZyZTQ7E+PFxrp9uqZoBz8/sC NJM2q5WidQx8SMiXLrOlNbm/mMHyuu2x+ay5cC2YMrIU4u+AllNzvMthdt+llzDD8Ys712 8TsaWiTNesK3KdwAQ90V0iS1mky3P47NNcX4QDX3BzIbw3bvQfdfNyinnTLZn2cRTJykvx FhKvTL0LeDex3JkW8uzN/Mvfjo0RBTi3jvPClC2Uzk0MI5asmnL089d5MS/zZWwLERVIWW 7FuMBj5Q0M6170gSPOEI9uNjWeeaVcSulvSEcczSvpdEAtxnG71j6iCsxX4Fzw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628750870; a=rsa-sha256; cv=none; b=T8wgfKKUPuq3UdRcEHy9YDZboYeNztoC1Z0ORqGR3wOgC/McThE7WFZxKQglaqrPh75Jd4 MJBYrf1E67g+k/A3YKk6dRE4LY7ZqK10SYm3S5ekm1izJ75x6GuEHQ0tz0i3TSJqduDnnw Q6uZdXgUH8nRCLDT7KbKzMjk8165yPP+5QRFD+z77y8hFWyCwb2quHIXw4e3qNiOujEwV+ Cc1TVyPZPjwdl8RdRHFKAv96W+MOJyvMo2mbwRDKuHpgmCQ1RbEpqntSNlKMPVBte5Rsi5 SUwJdxfr0IISM7XejIzcxOAGYNSzuB1lKSriLNh2iJhABxxxc3enQOaH99wGTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: D0D6689FA X-Spam-Score: -4.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: nrmd5psaeESw --hERrD6WfHwFuoAjY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 11, 2021 at 11:15:09PM +0200, Ludovic Court=C3=A8s wrote: > Hello! >=20 > Rust packages, which are essentially empty, are not bit-reproducible: >=20 > --8<---------------cut here---------------start------------->8--- > $ ./pre-inst-env guix challenge rust-rocket-codegen --substitute-urls=3D'= https://ci.guix.gnu.org https://bordeaux.guix.gnu.org'=20 > /gnu/store/09hlac18bwl1kcnhdig7z1v2j8ly1czw-rust-rocket-codegen-0.4.7 con= tents differ: > no local build for '/gnu/store/09hlac18bwl1kcnhdig7z1v2j8ly1czw-rust-ro= cket-codegen-0.4.7' > https://ci.guix.gnu.org/nar/lzip/09hlac18bwl1kcnhdig7z1v2j8ly1czw-rust-= rocket-codegen-0.4.7: 0j6zf2afvc49jnp7i6z7yvbxm0bmw8yc65hz3lncgvw5lc6z1bc1 > https://bordeaux.guix.gnu.org/nar/lzip/09hlac18bwl1kcnhdig7z1v2j8ly1czw= -rust-rocket-codegen-0.4.7: 015kb637b56mqcsg3f6x1qggm2bybiszji2069gb913wxbj= 6rs7w > differing file: > /share/cargo/registry/rocket_codegen-0.4.7.crate >=20 > 1 store items were analyzed: > - 0 (0.0%) were identical > - 1 (100.0%) differed > - 0 (0.0%) were inconclusive > ludo@ribbon ~/src/guix$ ./pre-inst-env guix challenge rust-rocket-codegen > /gnu/store/09hlac18bwl1kcnhdig7z1v2j8ly1czw-rust-rocket-codegen-0.4.7 con= tents differ: > no local build for '/gnu/store/09hlac18bwl1kcnhdig7z1v2j8ly1czw-rust-ro= cket-codegen-0.4.7' > https://ci.guix.gnu.org/nar/lzip/09hlac18bwl1kcnhdig7z1v2j8ly1czw-rust-= rocket-codegen-0.4.7: 0j6zf2afvc49jnp7i6z7yvbxm0bmw8yc65hz3lncgvw5lc6z1bc1 > https://bordeaux.guix.gnu.org/nar/lzip/09hlac18bwl1kcnhdig7z1v2j8ly1czw= -rust-rocket-codegen-0.4.7: 015kb637b56mqcsg3f6x1qggm2bybiszji2069gb913wxbj= 6rs7w > differing file: > /share/cargo/registry/rocket_codegen-0.4.7.crate >=20 > 1 store items were analyzed: > - 0 (0.0%) were identical > - 1 (100.0%) differed > - 0 (0.0%) were inconclusive > $ git log |head -1 > commit 973842acbc2d0dc1ab41738a534d4abda6d9efa7 > --8<---------------cut here---------------end--------------->8--- >=20 > The diffoscope output suggests it=E2=80=99s about timestamps on one file = in the > .crate archive: >=20 > --8<---------------cut here---------------start------------->8--- > =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 --- /tmp/guix-directory.ii5wmv/= share/cargo/registry/rocket_codegen-0.4.7.crate > =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 +++ /tmp/guix-d= irectory.uTTKSw/share/cargo/registry/rocket_codegen-0.4.7.crate > =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 rocke= t_codegen-0.4.7.crate-content > =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=9C=E2=94=80=E2= =94=80 file list > =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 @@ -1,67 +1,6= 7 @@ > =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 --rw-r--r-- = 0 0 0 1293 2021-07-27 15:22:18.000000 rocket_codegen-0.4= =2E7/Cargo.toml > [=E2=80=A6] > =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 +-rw-r--r-- = 0 0 0 1293 2021-07-27 22:01:49.000000 rocket_codegen-0.4= =2E7/Cargo.toml > --8<---------------cut here---------------end--------------->8--- >=20 > Does that ring a bell? >=20 > Thanks, > Ludo=E2=80=99. >=20 > PS: I noticed this via > > with help from Chris. Fixing this could noticeably improve our > stats. :-) >=20 I tried patching this a couple of ways, but it looks like the best option is going to be a 'patch-and-repack phase after 'install. the =2Ecrate file is really a gzip tarball, and I suspect that each time we run 'cargo ' the timestamp gets updated. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --hERrD6WfHwFuoAjY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmEUwzUACgkQQarn3Mo9 g1F7tg//XiLuiL/dxqljwP8i+PI3QjmDZ2FruKBxs24MIp/WVYjcqiSpggcR0U47 kSLmz2WLIJ+MxlTU6WPgI3xVaD2niBSBpYBaPJHLG6dzBNEJk4jwr5MZFIFEz2nS 8XaRlz7g5A/vKW6ozpRbkovpeHILSBa925TOl5XcQFFF/7PtZXk0P7Qo++PzyBJg /RWSu40spYzDKkQkgNX8nlOpp7gCY8jPLHusJI+fWjjIP6b6eHiVHeyb4MowWFn5 BY/nFGC3Th0BfCEzmsDNoepbjNXAq6Bqc6l2xI76nK80a+bXDtAbTZ9ZovyG36Ad obetyqpb6gqdZKsGxVD8l/J/GILwLoRJMM8t5h+n3ygugcflmUErkODp7xn8X4b6 1XpMOweq2+D8mynU70krufhqmrhBm2iWSyDymMpja3lU5g/Yl7ZssrEMoQSTaah4 JeWo523wxhN4lQ2+IAk10pSMtYv9gDbwd68nzUM2yQaJLF6skoaymIbtKG0TNLLX +YwvE6zqliYfa8GjA2vH6aKcofYTESHTGSa+f5Zdyr5690IYMi/MA/YU11Q+cG7C +CcEDgRmMZxXFLn+v51c7YNitGP4E7CeZJzYzdvzHefe0quL42YbbbkAPym0lISG 9KAyG8V6kAgUYw8CuZ12h+guIsPCEDg6E44LhTknid5f8Tbqd6g= =Mkwl -----END PGP SIGNATURE----- --hERrD6WfHwFuoAjY--