From unknown Sat Jul 26 16:40:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50015: Rust packages are not reproducible Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 11 Aug 2021 21:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50015 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 50015@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162871651929314 (code B ref -1); Wed, 11 Aug 2021 21:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Aug 2021 21:15:19 +0000 Received: from localhost ([127.0.0.1]:36776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDvZH-0007ck-CW for submit@debbugs.gnu.org; Wed, 11 Aug 2021 17:15:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:59680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDvZG-0007cd-Ph for submit@debbugs.gnu.org; Wed, 11 Aug 2021 17:15:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDvZG-00053N-Jj for bug-guix@gnu.org; Wed, 11 Aug 2021 17:15:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46462) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDvZG-0003ac-Ba for bug-guix@gnu.org; Wed, 11 Aug 2021 17:15:18 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48772 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDvZ9-0005hu-DW for bug-guix@gnu.org; Wed, 11 Aug 2021 17:15:17 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 24 Thermidor an 229 de la =?UTF-8?Q?R=C3=A9volution?= 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: Wed, 11 Aug 2021 23:15:09 +0200 Message-ID: <87czqjk7j6.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello! Rust packages, which are essentially empty, are not bit-reproducible: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix challenge rust-rocket-codegen --substitute-urls=3D'ht= tps://ci.guix.gnu.org https://bordeaux.guix.gnu.org'=20 /gnu/store/09hlac18bwl1kcnhdig7z1v2j8ly1czw-rust-rocket-codegen-0.4.7 conte= nts differ: no local build for '/gnu/store/09hlac18bwl1kcnhdig7z1v2j8ly1czw-rust-rock= et-codegen-0.4.7' https://ci.guix.gnu.org/nar/lzip/09hlac18bwl1kcnhdig7z1v2j8ly1czw-rust-ro= cket-codegen-0.4.7: 0j6zf2afvc49jnp7i6z7yvbxm0bmw8yc65hz3lncgvw5lc6z1bc1 https://bordeaux.guix.gnu.org/nar/lzip/09hlac18bwl1kcnhdig7z1v2j8ly1czw-r= ust-rocket-codegen-0.4.7: 015kb637b56mqcsg3f6x1qggm2bybiszji2069gb913wxbj6r= s7w differing file: /share/cargo/registry/rocket_codegen-0.4.7.crate 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 conte= nts differ: no local build for '/gnu/store/09hlac18bwl1kcnhdig7z1v2j8ly1czw-rust-rock= et-codegen-0.4.7' https://ci.guix.gnu.org/nar/lzip/09hlac18bwl1kcnhdig7z1v2j8ly1czw-rust-ro= cket-codegen-0.4.7: 0j6zf2afvc49jnp7i6z7yvbxm0bmw8yc65hz3lncgvw5lc6z1bc1 https://bordeaux.guix.gnu.org/nar/lzip/09hlac18bwl1kcnhdig7z1v2j8ly1czw-r= ust-rocket-codegen-0.4.7: 015kb637b56mqcsg3f6x1qggm2bybiszji2069gb913wxbj6r= s7w differing file: /share/cargo/registry/rocket_codegen-0.4.7.crate 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--- The diffoscope output suggests it=E2=80=99s about timestamps on one file in= the .crate archive: --8<---------------cut here---------------start------------->8--- =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 --- /tmp/guix-directory.ii5wmv/sh= are/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-dir= ectory.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 rocket_= 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,67 = @@ =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.7= /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.7= /Cargo.toml --8<---------------cut here---------------end--------------->8--- Does that ring a bell? Thanks, Ludo=E2=80=99. PS: I noticed this via with help from Chris. Fixing this could noticeably improve our stats. :-) From unknown Sat Jul 26 16:40:53 2025 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?= Cc: 50015@debbugs.gnu.org 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-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --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-- From unknown Sat Jul 26 16:40:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50015: Rust packages are not reproducible Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 12 Aug 2021 08:08:01 +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: Efraim Flashner Cc: 50015@debbugs.gnu.org Received: via spool by 50015-submit@debbugs.gnu.org id=B50015.162875562529585 (code B ref 50015); Thu, 12 Aug 2021 08:08:01 +0000 Received: (at 50015) by debbugs.gnu.org; 12 Aug 2021 08:07:05 +0000 Received: from localhost ([127.0.0.1]:37416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mE5k1-0007h7-FR for submit@debbugs.gnu.org; Thu, 12 Aug 2021 04:07:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mE5k0-0007gZ-8Y for 50015@debbugs.gnu.org; Thu, 12 Aug 2021 04:07:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59078) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mE5jv-0007so-4N; Thu, 12 Aug 2021 04:06:59 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=45078 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mE5ju-0003vB-Oe; Thu, 12 Aug 2021 04:06:58 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87czqjk7j6.fsf@inria.fr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 Thermidor an 229 de la =?UTF-8?Q?R=C3=A9volution?= 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: Thu, 12 Aug 2021 10:06:56 +0200 In-Reply-To: (Efraim Flashner's message of "Thu, 12 Aug 2021 09:44:08 +0300") Message-ID: <874kbvhysf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello! Efraim Flashner skribis: > 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 > .crate file is really a gzip tarball, and I suspect that each time we > run 'cargo ' the timestamp gets updated. So that =E2=80=98Cargo.toml=E2=80=99 file is not something taken from the b= uild tree? In that case we could reset the timestamp before the tarball is created. But otherwise yeah, patch=E2=80=99n=E2=80=99repack. Ludo=E2=80=99. From unknown Sat Jul 26 16:40:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50015: Rust packages are not reproducible Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 04 Oct 2023 03:31: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?= Cc: 50015@debbugs.gnu.org, Efraim Flashner Received: via spool by 50015-submit@debbugs.gnu.org id=B50015.169639024323992 (code B ref 50015); Wed, 04 Oct 2023 03:31:02 +0000 Received: (at 50015) by debbugs.gnu.org; 4 Oct 2023 03:30:43 +0000 Received: from localhost ([127.0.0.1]:41126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnsaw-0006Dv-Nv for submit@debbugs.gnu.org; Tue, 03 Oct 2023 23:30:43 -0400 Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]:61473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnsau-0005y1-NF for 50015@debbugs.gnu.org; Tue, 03 Oct 2023 23:30:41 -0400 Received: by mail-qk1-x72a.google.com with SMTP id af79cd13be357-7743448d88eso116153185a.2 for <50015@debbugs.gnu.org>; Tue, 03 Oct 2023 20:30:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696390217; x=1696995017; darn=debbugs.gnu.org; h=content-transfer-encoding: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=o87Y7+aHpVdm6m8zny3P/RtLV+9ZohMFcAq7vDXlEyY=; b=BQrmGAGqj2rfF0KGPuSQNMEgFDiEhAOeXGEVA3sWQZ3v1Qzu6QNJXxslngXfTl4FY7 Keq2m0LuCuuKXXGYQaC8vhGQEp5OW0eUb476CNAMSUTXU8FGEHn5ksMBWY5BpX1ZAkDt lxcB6jBMc9GL+XMKZwYeXPC0z5ZJa1oIk+jxLy1YT2KbAmKRBS9+yG5snwRcwTrS+ZMT VKHAHQJUwmu4uOhsGV/6ibX+sGiZnTxN+oDIagiVjJvtB21W6c8aWdCcS712V7hEqxos kmgR2ku90JnzLA71DCYNGLyKH8LMfPMzbieb4lCmTKGidk4nZEiofuWN3yDoNGBv9QIj LlPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696390217; x=1696995017; h=content-transfer-encoding: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=o87Y7+aHpVdm6m8zny3P/RtLV+9ZohMFcAq7vDXlEyY=; b=mZk13VSgra4myCi3qZr7y3KQR4kPWc91FkTBux1hw/iM16C5xgqakHmqY25xvZb2i/ x6Ge9GzHH0Mh9dFZZ2vmEZZwFjVa/OJ4mJi+zB3NWVC3MSaiu46SgrBXoS1hX3ErXlNd sOT8FdmQ+vdtNUETkPWBJCI8HUq0jjcC6v1vuyEZ+jqbK6vg8fRfiMcrTlKaWlQl6+wh y8D8efo+PDk624Cey+BmXPEj+cVnpyMAXlqJObQZQyIGhW6LH8dBcDfASnuV6qSdw34f /CE7tfm7KMg+CurD6AJqwAoG7TuUL939KlvNHP3bnZ3z895hr3HaOir+U75RYYtc1c2Y JKxQ== X-Gm-Message-State: AOJu0Yy1FCoKxtJSwtx7d7wBSsNY+v1Cd+xP5hE4WoTFMuu0HgKyhnK+ mKlE9QmcML21HjYsv1MLUlLIgBbkyfSKZw== X-Google-Smtp-Source: AGHT+IHZuZNhnGwgubhtL7lRNkqHzh6ThchmYAm17HNtm3YsWqABulz13W3nRu1Kj5g2Lc7/L4hp3Q== X-Received: by 2002:a05:620a:1726:b0:76c:ecef:28c with SMTP id az38-20020a05620a172600b0076cecef028cmr1372299qkb.57.1696390217463; Tue, 03 Oct 2023 20:30:17 -0700 (PDT) Received: from hurd (dsl-141-24.b2b2c.ca. [66.158.141.24]) by smtp.gmail.com with ESMTPSA id h20-20020a05620a10b400b007756736aed7sm965193qkk.106.2023.10.03.20.30.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 20:30:17 -0700 (PDT) From: Maxim Cournoyer References: <87czqjk7j6.fsf@inria.fr> <874kbvhysf.fsf@gnu.org> Date: Tue, 03 Oct 2023 23:30:15 -0400 In-Reply-To: <874kbvhysf.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 12 Aug 2021 10:06:56 +0200") Message-ID: <87sf6r2hfc.fsf@gmail.com> 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-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Ludovic Court=C3=A8s writes: > Hello! > > Efraim Flashner skribis: > >> 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 >> .crate file is really a gzip tarball, and I suspect that each time we >> run 'cargo ' the timestamp gets updated. > > So that =E2=80=98Cargo.toml=E2=80=99 file is not something taken from the= build tree? > In that case we could reset the timestamp before the tarball is > created. But otherwise yeah, patch=E2=80=99n=E2=80=99repack. A better solution would be to have cargo honor SOURCE_DATE_EPOCH, perhaps? They'd probably accept such an improvement upstream. --=20 Thanks, Maxim From unknown Sat Jul 26 16:40:53 2025 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: Wed, 04 Oct 2023 12:08: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: Maxim Cournoyer Cc: 50015@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 50015-submit@debbugs.gnu.org id=B50015.169642123715382 (code B ref 50015); Wed, 04 Oct 2023 12:08:02 +0000 Received: (at 50015) by debbugs.gnu.org; 4 Oct 2023 12:07:17 +0000 Received: from localhost ([127.0.0.1]:41747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo0eq-000402-H1 for submit@debbugs.gnu.org; Wed, 04 Oct 2023 08:07:16 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:44184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo0en-0003zi-JW for 50015@debbugs.gnu.org; Wed, 04 Oct 2023 08:07:14 -0400 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-317c3ac7339so1976863f8f.0 for <50015@debbugs.gnu.org>; Wed, 04 Oct 2023 05:06:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696421210; x=1697026010; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=PsiJqOEJyc9qgm33v6ig4DP9QtnqcCCUVG1a/vAWrN4=; b=aIYClFv/NAk7B5uRPrkM30+558+gQO3U6q93SDdzcH8Kj5QK66LdULhh2DyD+8zrPT hB0LhFTIbbZCCTeyLRr0M+E85+jq218M2/hSQ8Ynrm6ZEwdEueriSSxfgwgJLaXTzjGv w8QQB7OHts5uKwndVwQpKTz99TvfjbVuJrImXjMJaTnq6ZQsHnrGKKdWkM+UTm0XqjEj +u2mmR5zDL3FsMoWYREGtNAm6/2l8QLY+o/DBCJxiR22eW4su9NjBePo2gzopA4eYF53 WKQyE2a+VW+Mj0DT5XbJ7R9dzwL5kEn3M03Q446YAJySBD5BBxmi6dDc0rc3w6scw2VY TDHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696421210; x=1697026010; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PsiJqOEJyc9qgm33v6ig4DP9QtnqcCCUVG1a/vAWrN4=; b=cLzcq78WSbpvF1jJ/rJ3dZvLorvEHVzyZgn5KCOB/532FMZ66XVIiAnV0nad1/A7jQ R0k06wzcbZaEfS6run4r1SZAm/gWbJfzGErw7YkBtK9nUS7zAkoCNu6th8vylOhorosw eORtQkMCTqoX9LAIqV6rGyLlWk5WYUObYH8R+Oq1z7KDbT25ZGFwGlNTB1o5gfAQLDcq 7PlC6n0VFOkGNjEEgB2A/sA0Vm9QAkx7Wa1u8jNzrqsh6hk0uEEzb5C68AIir4C36aw2 AwA0uFC/TjGwphW+IITE14cQXyOI9SwQpHN5BdDUgrXbb7wxLrnLrXP3dVHYH1BW9Pbg 5Ffg== X-Gm-Message-State: AOJu0Yys+AYCiV8b7q8xl+5D2bSHeptVhRpRu9DjOFpTYVxzhAmsPFgE U3xJqf7/7OTc8HdQ/AoLCoA= X-Google-Smtp-Source: AGHT+IHM+hYcVJKPLjWABzEewHtFy6vEEis93sQ2LoM33I7KsbRM4GwQEm1DT7qkteAPbOzZlLGrdA== X-Received: by 2002:adf:f00e:0:b0:323:30bb:f19c with SMTP id j14-20020adff00e000000b0032330bbf19cmr1976629wro.10.1696421208941; Wed, 04 Oct 2023 05:06:48 -0700 (PDT) Received: from localhost ([2a02:ed3:916:6300:c3db:b80e:a694:a54f]) by smtp.gmail.com with ESMTPSA id k7-20020a7bc407000000b004053a6b8c41sm1345027wmi.12.2023.10.04.05.06.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 05:06:48 -0700 (PDT) Date: Wed, 4 Oct 2023 15:06:45 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Maxim Cournoyer , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 50015@debbugs.gnu.org References: <87czqjk7j6.fsf@inria.fr> <874kbvhysf.fsf@gnu.org> <87sf6r2hfc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BLYFQ1yfjLCwDB0i" Content-Disposition: inline In-Reply-To: <87sf6r2hfc.fsf@gmail.com> 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-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) --BLYFQ1yfjLCwDB0i Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 03, 2023 at 11:30:15PM -0400, Maxim Cournoyer wrote: > Hello, >=20 > Ludovic Court=C3=A8s writes: >=20 > > Hello! > > > > Efraim Flashner skribis: > > > >> 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 > >> .crate file is really a gzip tarball, and I suspect that each time we > >> run 'cargo ' the timestamp gets updated. > > > > So that =E2=80=98Cargo.toml=E2=80=99 file is not something taken from t= he build tree? > > In that case we could reset the timestamp before the tarball is > > created. But otherwise yeah, patch=E2=80=99n=E2=80=99repack. >=20 > A better solution would be to have cargo honor SOURCE_DATE_EPOCH, > perhaps? They'd probably accept such an improvement upstream. That'd be an interesting idea, having 'cargo package' set the timestamp of all the files to SOURCE_DATE_EPOCH. I guess I can look into how feasible that would be and if they'd be likely to accept a change like that. I have a local patch which unpacks, resets the timestamp and repacks the crate. I'll definitely push it to the rust-team branch before the next merge. With it I introduced an issue where the 'package phase would repack all the crates, not just the current one, and ran into our underscore-to-dash naming convention causing issues with how I'm reusing the filename to work on the crate. I'll fix that, probably by only repacking the current crate instead of all crates in the environment. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --BLYFQ1yfjLCwDB0i Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmUdVVIACgkQQarn3Mo9 g1HXHxAAqG3s3jHRAofavwgCwo1KCg/NnOaDX/ipXPQQg71utElLsv4J9uUaeQLk IZQZMUXnyFUeH/dj36bAMP6Cgi9z5k7dqd9M4MyaW2QFUP4ZNBl90uuTgmp4CoXF 7nVSlPcFiRn8jVx5brafuNkzVR2H8Zd+D+RHcVAZtKsqAxITjkatmrCtCabq9PC3 LZFBIYyWa2GKCvlwuqmECPrFhl4vTHeADDU9tPSYFqtZAgt2v2ILNCffffyo12uN wrhQ7nqI8puazBJlz3fFYZf/2Y0zy6Izayg9SgNXmLIiCDApFsXqT/iAK4USJjDb N5WEvsMRniB4MdNPkEN/QYzNf4pjKyImXeaAd/cF/m4X+wdoDUQI/fYBqQ4E9SEx lo6CUYqFaqwfTlszr+OjNndF98jrk8myLBrTjkTe+LqK+gvbkQDwZCiuxJF2M7iC Z2rMy2uPgZ0npFCPs0tsLxZzD3AdqkVse37vRICmIZ0Iu4qQfD7yYNqpcJXmozhU YxannRpfwlIpuf3oX3rMSz9+jxpmNTQT141rGn/rK+EfbzucuFpZ71tKK9FezmBp sigb/+ZagPA3AA1ZnLB+X/3PNBIt9OoZYXU13jyb3cktZPMcWitW55MJNzrFzPeI xM9GM116lEF+vfFFm2pemn4acEN7eAWgxDpqOj42STdok5KSOl4= =PojS -----END PGP SIGNATURE----- --BLYFQ1yfjLCwDB0i-- From unknown Sat Jul 26 16:40:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#50015: Rust packages are not reproducible Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 04 Oct 2023 15:06:01 +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: Efraim Flashner Cc: 50015@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 50015-submit@debbugs.gnu.org id=B50015.169643193424763 (code B ref 50015); Wed, 04 Oct 2023 15:06:01 +0000 Received: (at 50015) by debbugs.gnu.org; 4 Oct 2023 15:05:34 +0000 Received: from localhost ([127.0.0.1]:45168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo3RO-0006RK-7N for submit@debbugs.gnu.org; Wed, 04 Oct 2023 11:05:34 -0400 Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]:62842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo3RI-0006Qw-Ck for 50015@debbugs.gnu.org; Wed, 04 Oct 2023 11:05:32 -0400 Received: by mail-qt1-x831.google.com with SMTP id d75a77b69052e-41517088479so8131691cf.1 for <50015@debbugs.gnu.org>; Wed, 04 Oct 2023 08:05:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696431903; x=1697036703; darn=debbugs.gnu.org; h=content-transfer-encoding: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=cGthC4Hq2rGUXxL0SUKNkD/Lv0Q3JLU0y3rEP9snxZY=; b=QGN+PT1updrN6ajEnU6fgwfFuBrFNO1d00TlMINBPVwo/u/+ih/nGCFNs+j2iIJQfS gYsMPUTkuqd7ICJa/CfXd+/fPqrAD7VbWiLmNZqKzlpjztp9DIQZB6G1nfZkotPkH4kK szzg3dLQGksifpP8HyQX20PnD4IkKDHLCOwdYMaBsw8zLRx7QN8HOfL38ISV/GsX2IJP cbqyhSrYXdqQtqQRW9S7pXLhipTKD4nOElliwuVTlHUngY05Xa0SqdKAjHKZ6odGlxX3 FwUXC0wht+t3PdPl7KSWB/Rx/1XrOrSDfeBLbDhauJlqyI9qr5SIulbLQk9RJMQ7XTW/ TZyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696431903; x=1697036703; h=content-transfer-encoding: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=cGthC4Hq2rGUXxL0SUKNkD/Lv0Q3JLU0y3rEP9snxZY=; b=klNUz1MMsOKgsI2ziXt9x1+5sNa+THMoPBSjFNRjlSu4aJH1mms7FTTBXzNm9yMmBY wv1Rxjl4bQyjVO9Qgt5u1zL9Vin/JzK7Vapf4UUUmtnlisCAYcwe7Mg2Hbl4MpslYwO/ 2bpbxG3ma17nWppYPAExdTqJK0v85tE9jKcKC1atZ5pJAn8WFOBtQxURS9+atS4yUVjR Yp4oadhRDqhbR8676tq02ZK85OuIhW91CifdyANhTvHjTZK5KlMfEBibtoFb7tdiSbHm spJ/ikayAw0PIwoV1OcuB1r4I9QjKRhWpTRzFNsvLoBn1MwCpI6CKslBKmSadLWQJYL5 QJqw== X-Gm-Message-State: AOJu0Ywm67MvV/KSPQIhZOctOUXJsuCqitviuR6EJ7hvYyPSn0BGzT5E eJrFJJf1otRkp7guGh2eJXuYroMHbpLVIw== X-Google-Smtp-Source: AGHT+IHwGAAVfK8he3XOZszR1rq8iYhySFK5+dkLOxOCI5DpU8SdX11kjHEFQ+yogotytMWGHg/rUw== X-Received: by 2002:a05:622a:1804:b0:417:fe21:b254 with SMTP id t4-20020a05622a180400b00417fe21b254mr6609460qtc.18.1696431903463; Wed, 04 Oct 2023 08:05:03 -0700 (PDT) Received: from hurd (dsl-141-24.b2b2c.ca. [66.158.141.24]) by smtp.gmail.com with ESMTPSA id w9-20020ac87189000000b004054db6da1bsm1272531qto.53.2023.10.04.08.05.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 08:05:02 -0700 (PDT) From: Maxim Cournoyer References: <87czqjk7j6.fsf@inria.fr> <874kbvhysf.fsf@gnu.org> <87sf6r2hfc.fsf@gmail.com> Date: Wed, 04 Oct 2023 11:05:01 -0400 In-Reply-To: (Efraim Flashner's message of "Wed, 4 Oct 2023 15:06:45 +0300") Message-ID: <8734yq2ztu.fsf@gmail.com> 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-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Efraim, Efraim Flashner writes: > On Tue, Oct 03, 2023 at 11:30:15PM -0400, Maxim Cournoyer wrote: >> Hello, >>=20 >> Ludovic Court=C3=A8s writes: >>=20 >> > Hello! >> > >> > Efraim Flashner skribis: >> > >> >> 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 >> >> .crate file is really a gzip tarball, and I suspect that each time we >> >> run 'cargo ' the timestamp gets updated. >> > >> > So that =E2=80=98Cargo.toml=E2=80=99 file is not something taken from = the build tree? >> > In that case we could reset the timestamp before the tarball is >> > created. But otherwise yeah, patch=E2=80=99n=E2=80=99repack. >>=20 >> A better solution would be to have cargo honor SOURCE_DATE_EPOCH, >> perhaps? They'd probably accept such an improvement upstream. > > That'd be an interesting idea, having 'cargo package' set the timestamp > of all the files to SOURCE_DATE_EPOCH. I guess I can look into how > feasible that would be and if they'd be likely to accept a change like > that. > > I have a local patch which unpacks, resets the timestamp and repacks the > crate. I'll definitely push it to the rust-team branch before the next > merge. > > With it I introduced an issue where the 'package phase would repack all > the crates, not just the current one, and ran into our > underscore-to-dash naming convention causing issues with how I'm reusing > the filename to work on the crate. I'll fix that, probably by only > repacking the current crate instead of all crates in the environment. >From past interactions with Rust developers (via their web-based chat system), I could get some change merged rather easily. If you are motivated to fix it cleanly I encourage you to pursue that way! --=20 Thanks, Maxim