GNU bug report logs - #50015
Rust packages are not reproducible

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Ludovic Courtès <ludo@HIDDEN>; dated Wed, 11 Aug 2021 21:16:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 50015 <at> debbugs.gnu.org:


Received: (at 50015) by debbugs.gnu.org; 4 Oct 2023 03:30:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 03 23:30:43 2023
Received: from localhost ([127.0.0.1]:41126 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qnsaw-0006Dv-Nv
	for submit <at> 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 <maxim.cournoyer@HIDDEN>) id 1qnsau-0005y1-NF
 for 50015 <at> 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 <at> 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 <maxim.cournoyer@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#50015: Rust packages are not reproducible
References: <87czqjk7j6.fsf@HIDDEN> <YRTDOLDQK3bAV6gK@3900XT>
 <874kbvhysf.fsf@HIDDEN>
Date: Tue, 03 Oct 2023 23:30:15 -0400
In-Reply-To: <874kbvhysf.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Thu, 12 Aug 2021 10:06:56 +0200")
Message-ID: <87sf6r2hfc.fsf@HIDDEN>
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-Debbugs-Envelope-To: 50015
Cc: 50015 <at> debbugs.gnu.org, Efraim Flashner <efraim@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Hello!
>
> Efraim Flashner <efraim@HIDDEN> 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 <something>' 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




Information forwarded to bug-guix@HIDDEN:
bug#50015; Package guix. Full text available.

Message received at 50015 <at> debbugs.gnu.org:


Received: (at 50015) by debbugs.gnu.org; 12 Aug 2021 08:07:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 12 04:07:05 2021
Received: from localhost ([127.0.0.1]:37416 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mE5k1-0007h7-FR
	for submit <at> 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 <ludo@HIDDEN>) id 1mE5k0-0007gZ-8Y
 for 50015 <at> 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 <ludo@HIDDEN>)
 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 <ludo@HIDDEN>)
 id 1mE5ju-0003vB-Oe; Thu, 12 Aug 2021 04:06:58 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Efraim Flashner <efraim@HIDDEN>
Subject: Re: bug#50015: Rust packages are not reproducible
References: <87czqjk7j6.fsf@HIDDEN> <YRTDOLDQK3bAV6gK@3900XT>
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: <YRTDOLDQK3bAV6gK@3900XT> (Efraim Flashner's message of "Thu, 12
 Aug 2021 09:44:08 +0300")
Message-ID: <874kbvhysf.fsf@HIDDEN>
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-Debbugs-Envelope-To: 50015
Cc: 50015 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello!

Efraim Flashner <efraim@HIDDEN> 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 <something>' 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.




Information forwarded to bug-guix@HIDDEN:
bug#50015; Package guix. Full text available.

Message received at 50015 <at> debbugs.gnu.org:


Received: (at 50015) by debbugs.gnu.org; 12 Aug 2021 06:45:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 12 02:45:22 2021
Received: from localhost ([127.0.0.1]:37232 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mE4Sw-0003Kr-06
	for submit <at> 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 <efraim@HIDDEN>) id 1mE4St-0003Kd-Em
 for 50015 <at> 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 <efraim@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#50015: Rust packages are not reproducible
Message-ID: <YRTDOLDQK3bAV6gK@3900XT>
Mail-Followup-To: Efraim Flashner <efraim@HIDDEN>,
 Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>,
 50015 <at> debbugs.gnu.org
References: <87czqjk7j6.fsf@HIDDEN>
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@HIDDEN>
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-Debbugs-Envelope-To: 50015
Cc: 50015 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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
>     <http://data.guix.gnu.org/revision/973842acbc2d0dc1ab41738a534d4abda6=
d9efa7/package-reproducibility>
>     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 <something>' the timestamp gets updated.

--=20
Efraim Flashner   <efraim@HIDDEN>   =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--




Information forwarded to bug-guix@HIDDEN:
bug#50015; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Aug 2021 21:15:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 11 17:15:19 2021
Received: from localhost ([127.0.0.1]:36776 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mDvZH-0007ck-CW
	for submit <at> 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 <ludo@HIDDEN>) id 1mDvZG-0007cd-Ph
 for submit <at> 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 <ludo@HIDDEN>) id 1mDvZG-00053N-Jj
 for bug-guix@HIDDEN; 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 <ludo@HIDDEN>) id 1mDvZG-0003ac-Ba
 for bug-guix@HIDDEN; 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 <ludo@HIDDEN>) id 1mDvZ9-0005hu-DW
 for bug-guix@HIDDEN; Wed, 11 Aug 2021 17:15:17 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: bug-guix@HIDDEN
Subject: Rust packages are not reproducible
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@HIDDEN>
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-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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
    <http://data.guix.gnu.org/revision/973842acbc2d0dc1ab41738a534d4abda6d9=
efa7/package-reproducibility>
    with help from Chris.  Fixing this could noticeably improve our
    stats.  :-)




Acknowledgement sent to Ludovic Courtès <ludo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#50015; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 4 Oct 2023 03:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.