From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0KqICx3Bg2bXSgAAe85BDQ:P1 (envelope-from ) for ; Tue, 02 Jul 2024 08:58:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 0KqICx3Bg2bXSgAAe85BDQ (envelope-from ) for ; Tue, 02 Jul 2024 10:58:05 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=goryachev.org header.s=dkim header.b=SgWAGXFf; 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=1719910685; 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-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=WTQR/cv8PrrgmwtjvPW8rwjN2gPa8VCqSGTx9Z87FpQ=; b=RcT8omi08fjh1au45U/KzErWh86J3nyZBI2JB3/vaj7Qp8Ktf+Y45W4Obsra08Wu8PMUq0 mJ0gNRkznIYLSXiDl7xXQtQ+HIV07PXxRt9uSzWubrvlxfsA5TsTGaeroKA/hm8nlCeVq+ GbcYR1FugAXVU6oNyy3V8NAvpfo38bplCMAN600dOJHK7dSE0CyhiohDysGYJp3PnzRotp UoSfJZ3hHIL2wWdnTsiFAazSml68WYA91NoFUweEfVH09RQOFw1BE9or/6xYvizWFqKxGD u0qgNYHEtAA5IxpFGjarc7K66D3zE1L0vS+DApUGnCbL/UB87qodqAvUrF8Qsw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719910685; a=rsa-sha256; cv=none; b=DkcrjEEPthrB0SP9Xb5XTUthukAMwjkKFLv8HqhV8DMuwZJfbTAZYf/QeVS39wo+xhrdgO xXr9kjUySy6JOVzkKwaa4fDQmombJ0rXsecdNO5bXky/xpGQoMvRovXOBRf1MjEeL/lZOU ALGTf26zLqj3FP0mhqn4gSopKd2LIfiQhDnFHy//O7XlEAyfkRc3yiQAoWJ7bJdFK1rB29 o/63j09r4mhhq7cEUQZWnCsyjgO7idahiQl6yXxp6DVUwp7NddsGoWCJKhPE467HnNHvsE nrAmtwTOfuTBbskWAlezEhPMRqc2b1RGQKM2iRZbUub7BF5WQ1ITzMwRtdPpKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=goryachev.org header.s=dkim header.b=SgWAGXFf; 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 98B077143F for ; Tue, 02 Jul 2024 10:58:04 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOZKt-0002te-Hk; Tue, 02 Jul 2024 04:58:03 -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 1sOZKr-0002tD-Bb for guix-patches@gnu.org; Tue, 02 Jul 2024 04:58:01 -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 1sOZKr-0002rQ-1o for guix-patches@gnu.org; Tue, 02 Jul 2024 04:58:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sOZKs-00021b-0h for guix-patches@gnu.org; Tue, 02 Jul 2024 04:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71898] [PATCH] gnu: erlang-lfe: Make LFE compiler deterministic. Resent-From: Igor Goryachev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Jul 2024 08:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71898 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71898@debbugs.gnu.org Cc: Igor Goryachev , Andrew Tropin X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17199106617746 (code B ref -1); Tue, 02 Jul 2024 08:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jul 2024 08:57:41 +0000 Received: from localhost ([127.0.0.1]:35905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOZKW-00020r-Mo for submit@debbugs.gnu.org; Tue, 02 Jul 2024 04:57:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:56230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOZKT-00020j-Uc for submit@debbugs.gnu.org; Tue, 02 Jul 2024 04:57:38 -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 1sOZKS-0002oq-M4 for guix-patches@gnu.org; Tue, 02 Jul 2024 04:57:36 -0400 Received: from mail.goryachev.org ([104.248.201.73]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sOZKR-0002jW-22 for guix-patches@gnu.org; Tue, 02 Jul 2024 04:57:36 -0400 Received: from localhost.localdomain (213-91-248-88.ip.btc-net.bg [213.91.248.88]) by mail.goryachev.org (Postfix) with ESMTPSA id 1782F120042; Tue, 2 Jul 2024 11:57:32 +0300 (MSK) Date: Tue, 2 Jul 2024 11:57:17 +0300 Message-ID: <5db9d2295039cce1032a9dbe53a7048c358d5ceb.1719910637.git.igor@goryachev.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=goryachev.org; s=dkim; t=1719910652; bh=WTQR/cv8PrrgmwtjvPW8rwjN2gPa8VCqSGTx9Z87FpQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Transfer-Encoding; b=SgWAGXFfOAJL07xzA+HyoaoljYrmH0n/GivbR4H6LvYzXchbBJ8OSGXz1RPGoA7fjhTjITVQko1hMiii+Eqv/qJE3uYjP4L/4CjHFmJ5RVnUwI4Pt8C6cZlOK4ByXh6D+cm+bf6z6IFdcyTJnH8UfDUiz52tkpCiNF86u33cHnw= Received-SPF: pass client-ip=104.248.201.73; envelope-from=igor@goryachev.org; helo=mail.goryachev.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Igor Goryachev X-ACL-Warn: , Igor Goryachev via Guix-patches From: Igor Goryachev 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-Spam-Score: -3.58 X-Spam-Score: -3.58 X-Migadu-Queue-Id: 98B077143F X-Migadu-Scanner: mx11.migadu.com X-TUID: 1sE45CfK1z0W * 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 -- 2.45.2