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 ms5.migadu.com with LMTPS id eEo7OTeQvWKSNgEAbAwnHQ (envelope-from ) for ; Thu, 30 Jun 2022 13:59:52 +0200 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 eKnDODeQvWI5egAAauVa8A (envelope-from ) for ; Thu, 30 Jun 2022 13:59:51 +0200 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 9A92B1F74E for ; Thu, 30 Jun 2022 13:59:51 +0200 (CEST) Received: from localhost ([::1]:47356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6spq-0001dQ-MI for larch@yhetil.org; Thu, 30 Jun 2022 07:59:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6scA-0003FP-MU for guix-devel@gnu.org; Thu, 30 Jun 2022 07:45:43 -0400 Received: from laurent.telenet-ops.be ([2a02:1800:110:4::f00:19]:40134) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6sc8-0001Jp-9t for guix-devel@gnu.org; Thu, 30 Jun 2022 07:45:42 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id pPlc270034UW6Th01PlcDh; Thu, 30 Jun 2022 13:45:36 +0200 Message-ID: <6eb03470c647b4fa0d556b901af984ecf97d49b7.camel@telenet.be> Subject: Re: Rust reprodubility -- .rmeta and shadow-rs From: Maxime Devos To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org Date: Thu, 30 Jun 2022 13:45:28 +0200 In-Reply-To: <87h7428jv0.fsf@gnu.org> References: <60c35901007af0f3bf02f23814d49973e0c13772.camel@telenet.be> <87h7428jv0.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-FvxDbEmyoTvvnrP0j/7k" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1656589536; bh=SomDwe3c1IIhqzdIga0txE7CzqUZApPBrrzFGv9GBns=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=UJy5qud9R5EJ3M8wEHCgoa5AgS6dksx8pkIQ9IemCXnpdesgl3vDESNK7i+P92sqM tktJha72IjU0H6FxSrzULdqnntZbkh44LJSwbbYRmHn2YJLsHU9RMzD2kIdbisLva9 Icfm6Bqkd63bgtRqCnO0y/JyAosXUi3SbKApXgm8L6Mefp0xFN947cxH6Ds2tgTzud XZqjrBqkvLRSAJPAT4/iSUYK8J9DuotJO28uaUqTYDfcLv/rH2PhalDcjkfSLQUl8P DkZsZfTVOD/bXdtjjWn+hXNTu6hm7B559NQ6lY+XKX9+C6tMG4len+B9DQ/zNHFlxi KbK4ET+4Ri4cA== Received-SPF: pass client-ip=2a02:1800:110:4::f00:19; envelope-from=maximedevos@telenet.be; helo=laurent.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656590391; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SomDwe3c1IIhqzdIga0txE7CzqUZApPBrrzFGv9GBns=; b=t6PK1XLBKGAT3GYbvqQra0m9bC7NQ9tFQTvgdfOZGB4izdn5dDaMzN180Pai7BcoUSoHSh 9E0y7ZwGa0hhvTXhnn4IODCmU5LM0etGvDyRupnDU5gzxBpG+nUAdf3IFwx9zENIwBPh1H JWKY3ikaAdtq4XdCpj5XgyxNNm3glGAGM1NciVPUtZoEOap2zkUK8KCw2MGEwjxc5c4/Oh H1dDDIZi95AS/4kn+q7gg9CTXoqSBZAq3ElM2Cch2RwH1wOPWIcOb8o6jGbq8R3Pz1jcul zJDOKBMF79gje99kN+EnPzGmo9MuVgHkm999pwd/9SKmYanpmdVksFii5H71RQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656590391; a=rsa-sha256; cv=none; b=ntnT8xcYpNQPaYXU2OgCjrwzvRNUPed5s/2wejKTZxbNOYVhUcV+J2NlTlbxriK+8Dthiw JuMzZJyyVyRrwZ7TSONLCt9x0uGHrDiVuwd5V2wX1Yg+iutBjvv9AyPF7KFfoQoRM8o+jg PwfdmA6L5B8SgUychO2hqHIw5XBA+AtD+9WCfjp7GVoTzfNVgjzTd0xzjv3PrhrMiFQdTM yF3dcMTjyr9VvoHObbF3rt2RcaS7GSSxZLIlVcwOaBrfN3+29dNa2nRePeaQdiUOHmQoWL d45y4pJ/c8KJRuVtidUeWgr7lznfqPS701EgWCv6DFxHKwSb3PDB5uXhT8xMHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=UJy5qud9; dmarc=pass (policy=none) header.from=telenet.be; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -9.85 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=UJy5qud9; dmarc=pass (policy=none) header.from=telenet.be; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9A92B1F74E X-Spam-Score: -9.85 X-Migadu-Scanner: scn0.migadu.com X-TUID: FZj9W3fARB+i --=-FvxDbEmyoTvvnrP0j/7k Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > https://issues.guix.gnu.org/50015 I don't think that shadow-rs changes Cargo.toml, so I think that one is a separate issue ... > https://issues.guix.gnu.org/55928 Maybe related, though .rmeta isn't mentioned there so maybe not. Seems debugging information related, so maybe the report at (and fix at) https://github.com/rust-lang/rust/issues/34902#issuecomment-565557076 is important there. Ludovic Court=C3=A8s schreef op do 30-06-2022 om 13:35 [+0200]: > > Anyway, here the patch I used: > >=20 > > [...] > >=20 > > Maybe that was the cause? >=20 > You mean this issue you identified could have been the cause of > reproducibility issues found in other Rust packages? I don't know if it applies to leaf packages or only to dependencies, but perhaps!=20 > Anyway, it looks like the snippet above should be applied to > =E2=80=98rust-shadow-rs=E2=80=99 in current =E2=80=98master=E2=80=99, no? Yes -- also, upstream has a patch now! That's only for the ordering, not the timestamps, though. The timestamp issue might be caused due to how antioxidant replaces some inputs and fiddles with =E2=80=98features=E2=80=99 so I haven't report= ed that yet .... Greetings, Maxime. --=-FvxDbEmyoTvvnrP0j/7k Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYr2M2BccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7juXAQC01nNAd2U9ybbI+7Mck8sRCTPi KvdP+lzqB++roEk8YwD/eoP7GLjaA3wbY7xiy6B+RLRAqKkD2oHZh1Ink53P6QY= =FbgQ -----END PGP SIGNATURE----- --=-FvxDbEmyoTvvnrP0j/7k--