From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CA13N6dJimbAGAEAe85BDQ:P1 (envelope-from ) for ; Sun, 07 Jul 2024 07:54:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id CA13N6dJimbAGAEAe85BDQ (envelope-from ) for ; Sun, 07 Jul 2024 09:54:16 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop.in header.s=key1 header.b=IU+W+L3f; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720338794; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to: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=VxLWO53q9jwSgAWeQtew2iTEB8qDTe1vUK/q7RF01Ks=; b=SmBD2NvWF+k9c8ECXJsG8wLH+SgbuQG/zTrsof8BGA6w08Ba9EfZzquYKgp/pEuuPrvsZF GngRQeasNP4mCgbgOEPQR6pU7W/LmW8ChDhXdQkDrqFPNainpUMAXmFF1s4OmOXJSPfMST AL//gpCbLLEeL5XsMcgz4of1jLix/EJNr/buNyIqxlO07QKbouGSbDggF3pDfEQM/B/iZr SZ43IuwMiCsOTi8VV7RAYLBIBzRaoZ3I8B7UuyUrvGnhX/mcvSQRUWnJ3PxvGAC7ImL6OL 8PBONFIhRYuwcPV8DTcRnZPWWsPlCQ8GA6fD3yXZAlu/mI+2t2td8EINlPboRg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720338794; a=rsa-sha256; cv=none; b=vDZL7mflmuabMfpixspG+YEDqPHYlzAwb6FpGjYXNzORR1VRlV7We8BNF2bwU7V4t3DP6x BMLERcHvNQKDAKI8tLNnp6legUDVw5F+1Ai57Vc6f9DRgb64X5EXZ+8oGVLssKBc/2sIjV X6rng9blqbrJb+t7FBURF0q8oSqu59dH6emKr/RoaOOLFV99KSpKgiQGGxEpHXVi3PmulV eD3ZiKSYzStWep5cYsoFlq0pL3ojufuCoPkB/96l2KO589zQTgGzpYJCWw11jlEvbpuU1b 9g4n4M2SXX2bM7b+IWOBILtdkZu/Uy6a5K+NUurIUvHc4a9G2eJ8GjVTTXbKVQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop.in header.s=key1 header.b=IU+W+L3f; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" 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 0D77A13145 for ; Sun, 7 Jul 2024 09:53:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQMhg-0004OI-D9; Sun, 07 Jul 2024 03:53:00 -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 1sQMhe-0004Nd-Uh for guix-patches@gnu.org; Sun, 07 Jul 2024 03:52:58 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sQMhe-0003zD-N4 for guix-patches@gnu.org; Sun, 07 Jul 2024 03:52:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sQMhi-0001U5-I8 for guix-patches@gnu.org; Sun, 07 Jul 2024 03:53:02 -0400 Subject: bug#71898: [PATCH] gnu: erlang-lfe: Make LFE compiler deterministic. Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sun, 07 Jul 2024 07:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 71898 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Igor Goryachev via Guix-patches via , 71898-done@debbugs.gnu.org Cc: Igor Goryachev Mail-Followup-To: 71898@debbugs.gnu.org, andrew@trop.in, igor@goryachev.org Received: via spool by 71898-done@debbugs.gnu.org id=D71898.17203387525663 (code D ref 71898); Sun, 07 Jul 2024 07:53:02 +0000 Received: (at 71898-done) by debbugs.gnu.org; 7 Jul 2024 07:52:32 +0000 Received: from localhost ([127.0.0.1]:47250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQMhE-0001TH-IS for submit@debbugs.gnu.org; Sun, 07 Jul 2024 03:52:32 -0400 Received: from out-173.mta0.migadu.com ([91.218.175.173]:50133) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQMhC-0001T2-3d for 71898-done@debbugs.gnu.org; Sun, 07 Jul 2024 03:52:31 -0400 X-Envelope-To: guix-patches@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=key1; t=1720338739; h=from:from: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; bh=VxLWO53q9jwSgAWeQtew2iTEB8qDTe1vUK/q7RF01Ks=; b=IU+W+L3fQ4kVuVHW4PBkIYbh8YU94DTAk1EIu6Stsgv+WR6pi7sQWcZf0qmCn0eayJSUiH qdwNMPIgpDueob8CUghaoMIl/JXcC1HTRsg1IijP4WAwlbKRcn032WiG7TaBOGT9s1sZK9 D6oN5dOiKSACPSncQOqpBf1Pai/RpK/greC7phvFK5UhwMFl5Riy5CHI75sY1yXGDd9gzl SRq7czUaxZyMQ2QcTBIMrCzpDTbUaI/1NRKu2sc7WzqG+B3Ei1rwmRKa2/7Z6hbwVMBHe7 XokIY/8o4UQp0eQWCKtzRQO2TswESNCux6YcvbRQn+WwcZJm2Kg5e5wzkk/zbw== X-Envelope-To: 71898-done@debbugs.gnu.org X-Envelope-To: igor@goryachev.org X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-Reply-To: <5db9d2295039cce1032a9dbe53a7048c358d5ceb.1719910637.git.igor@goryachev.org> References: <5db9d2295039cce1032a9dbe53a7048c358d5ceb.1719910637.git.igor@goryachev.org> Date: Sun, 07 Jul 2024 11:52:13 +0400 Message-ID: <875xthfxle.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Andrew Tropin X-ACL-Warn: , Andrew Tropin via Guix-patches From: Andrew Tropin via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 0D77A13145 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.49 X-Spam-Score: -8.49 X-TUID: 8M8atuzo1YRl --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2024-07-02 11:57, Igor Goryachev via Guix-patches via wrote: > * gnu/packages/erlang.scm (erlang-lfe): Make LFE compiler deterministic. > > Change-Id: I0cf00eeda8502384b746795802f1b2291d0e8a3b > --- > gnu/packages/erlang.scm | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm > index dd07c1a617..58aac2bead 100644 > --- a/gnu/packages/erlang.scm > +++ b/gnu/packages/erlang.scm > @@ -792,6 +792,11 @@ (define-public erlang-lfe > #:phases > #~(modify-phases %standard-phases > (delete 'configure) > + (add-after 'unpack 'make-deterministic > + (lambda _ > + (substitute* "src/lfe_env.erl" > + (("maps:fold\\(F, A, D\\)") > + "lists:sort(maps:fold(F, A, D))")))) > ;; The following is inspired by rebar-build-system.scm > (add-before 'check 'erlang-depends > (lambda* (#:key inputs #:allow-other-keys) > > base-commit: 5f1e4e4c0242af6bcba656aedf8b49afbe7247b7 Superseded by 71899. =2D-=20 Best regards, Andrew Tropin --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmaKSS0ACgkQIgjSCVjB 3rAWpg//UvGuegnNFwyDdzBCdlMavC4SNCr3/OzacEdq57YwEyWpO7FTOewi9V7L RObGduwlmTAzyi3KdBBkj438QtwDukS0NbUVVqrrC/pVwDTJW3fP7ZcSPswlZKKh xHpfX2zKibB8JBxfqJnmtPXY0S7wgfrHcBekpg4ti41IPnRzthSqbBijAANldjec gEiEIwtCRfKiNOmLCLDNh0N+BmWXbLmT4P6boHegUZTYNJkKqFWOJL4UghM6Cx+H oipTp6lbvIMFwfzYz8nwfxcuBBEMQQcDCmlQneBddJby87fphjkMv3LEGvc2SFQo JngCl70iiJW9MoQIRovzw5tKhP9zZmz5L92xJyVgZrO/hGeEj9IzgtW+skEnHGMN 3g5gRR00bvZsTqJomsx4WBZZZB82MRSfia/SvGptxTMAbmeqvStUQMMWl2zWNn32 A5WkrtdbG+NGQoh6neOdS/mSkmnxFvyfnXLNFkin0xn01eOTCnh47F6gUOnKhe5r tU1pdi7R9klZ4vE/SZKvk3iG3z/JBPhtQ3wA89D3YiILdabvEcHV8G/eMecxFGze 0kPux3ufWf4jQCYL3TWE2z5HOVHJno1pWzOrG4CQZKoB/MB1EbWfe4uD2+ydoOne b4jKzul1V0JbK6+xa1a6DYT0Ec6zdrdsB5uw+iUoTNcWayn4uFQ= =5GuB -----END PGP SIGNATURE----- --=-=-=--