From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 kP2NByV2Imfz4gAAqHPOHw:P1 (envelope-from ) for ; Wed, 30 Oct 2024 18:08:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id kP2NByV2Imfz4gAAqHPOHw (envelope-from ) for ; Wed, 30 Oct 2024 19:08:37 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=NDImiChe; dkim=fail ("headers rsa verify failed") header.d=web.de header.s=s29768273 header.b=a5YQal34; 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-Seal: i=1; s=key1; d=yhetil.org; t=1730311717; a=rsa-sha256; cv=none; b=kcRz4YKbCoYKXlzGkq7OvUxt5e6j3mlkkc8fNlxe9WvMz9BaiGiUx0ZtkjgP6DKvpeiA9j wpuLTDQIr9AfIUS8+h3efgMO4A5rM0j8BHYFH++e8PtfRS6ik08Q23iwJpDNbW26IT2d7o MRfsb/G1u7KzU6JsEKWUauFzcpXPIpOZbLmJ8Q3H5G525akQFA74DkpfwZykcCDlExHlhl SQ3as+dPnBk8CcPwdUO1s8eU9md6cd+mPfPc0yI/0FIDONc7PdUgsBKSBxG+/+ArkOgGRJ uMFO9xPIf1E0cfY9N3OvzBdXk1BUFHZ4Ab4WXoQWsYft3Xb0GnQ8PjVyCD3U7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=NDImiChe; dkim=fail ("headers rsa verify failed") header.d=web.de header.s=s29768273 header.b=a5YQal34; 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=1730311717; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=jpvUw832ZA0Tp9v8R4a6YAuaOhuLI081hFrE5qu3M6o=; b=ZSGSEn6fyEJ6b5DHpV3tm/O2qKqJyAnu2KFw6xvw6UyaLVh3F4L154rM9mP64JHN4W/gWz GzMt7VdP7bYKRLOzhGJzcIpi7ma8MqAAIHKoCVyFfTl79v3LXSQnz0QvMNk5mQd5NB9De8 x9xpqq5QI2OxoxQmtyJ7UG40HYlJqGv0+iLhDfM2Fw02dzkCiZytwbIQrC535Vfkbntw15 JyBLH92nPXLqgM471ac5VAIsE4PV80NWFDL8kJHGuRmyO7YoPUoCchjuAdfOTW859aEWh3 DjrpZWOHj+usVTtxqjVXjv9E4T76rHGFnZImQCKgL8fgSKkZcW5wGQObUvhzHw== 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 0C9981E15F for ; Wed, 30 Oct 2024 19:08:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6D70-0001OY-SL; Wed, 30 Oct 2024 14:08:07 -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 1t6D6x-0001OP-UI for guix-patches@gnu.org; Wed, 30 Oct 2024 14:08:03 -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 1t6D6x-00085V-Ko for guix-patches@gnu.org; Wed, 30 Oct 2024 14:08:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=jpvUw832ZA0Tp9v8R4a6YAuaOhuLI081hFrE5qu3M6o=; b=NDImiCheXZ8EFeU9HAXBaMn1s2YhOqSz2sIywb5PnuE7s3naKmJ4hwS31aacjJmAX7uzhO+cPuMvaJCRYdg+FQaSRMMsQJYAOlQN7TPZuViTtIsZxwxCs3pmBWxK3GxJmg3dLtZPkDqMq/p6GlLUWJ68k+9WEfBAtUKyI1nHEtzKLuCyeFiwgusdqe6h80o13C5FoRM3l488W7bWGcb9MLLhnzVRVy5VnP3ZCILWjKFPLVY1dahEL3ovRo0mUDq7B2EAWyf+47ZO++reMmvjJkLUVx3uiyBQ83qzCKvRzc7FSSdUP720gCj8Yq0yO92889iNt/5aGDttZ54NE8E6CA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6D6w-0002yi-Dl for guix-patches@gnu.org; Wed, 30 Oct 2024 14:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#74112] [PATCH] Fix determinism issue in guix package Resent-From: Jakob Kirsch Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 30 Oct 2024 18:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74112 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74112@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173031162511421 (code B ref -1); Wed, 30 Oct 2024 18:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Oct 2024 18:07:05 +0000 Received: from localhost ([127.0.0.1]:36460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6D61-0002y8-Az for submit@debbugs.gnu.org; Wed, 30 Oct 2024 14:07:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:58166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6D5y-0002y1-Pc for submit@debbugs.gnu.org; Wed, 30 Oct 2024 14:07: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 1t6D5y-0001L6-Jc for guix-patches@gnu.org; Wed, 30 Oct 2024 14:07:02 -0400 Received: from mout.web.de ([217.72.192.78]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t6D5w-00083W-MM for guix-patches@gnu.org; Wed, 30 Oct 2024 14:07:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1730311617; x=1730916417; i=jakob.kirsch@web.de; bh=jpvUw832ZA0Tp9v8R4a6YAuaOhuLI081hFrE5qu3M6o=; h=X-UI-Sender-Class:Date:From:To:Subject:Message-ID:MIME-Version: Content-Type:cc:content-transfer-encoding:content-type:date:from: message-id:mime-version:reply-to:subject:to; b=a5YQal342vIM4gIN9/a4bKsY0wcP440ygTzrJoMBfoOAH16qW+jrP+yNeIT6nZho kCg8mX5W2Y2Fyd5zc7jmUVnuBULWN9QjZswK2y3+Sis4j0n8AmHvzShKh52B9dKkQ GYKSytnoL33MMjwailXvKfvGf2i03dbqEDQN9c2JMZKuHjmiZhsIxBDlwhNKdy1Ee JlzWk+zhFq7qiJUtogCHpfnlsG+Kh4Sd2GA89OxARn2gCzuwDe6JnmJvvdNbmWOPy MuGGju0YcZnVp/xinnPzXoaC1Aub6d5v3A/WVg3/bYG2CpVIYok9tke3vRf7MOiM0 ynMSMyNp4DUtzHAmSA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from kernelpanicroom ([134.19.29.168]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MI3tF-1t2a4k0COt-000dUC for ; Wed, 30 Oct 2024 19:06:57 +0100 Date: Wed, 30 Oct 2024 19:06:57 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="qKzgm8cl8F6463sy" Content-Disposition: inline X-Provags-ID: V03:K1:Xc5OPgKKkN7bmTkPhXfjXKiVcCIvsRIMIvMsyJq1Pf7kfW7Z4Zi 7exXz6PjBxPue8JoM/gB6CWN7Ec8fyCAMd1QoaO1AJiq6RFVTZ3Q8i5I30XWs/3PBlHjS4O ysFKFriSGdfseSBpZxhexxQa5Oq4bjmn6Sha3IyE5R1zkTdgINc21J/sWfWXIsDGZsvkZho WDweMrIY4W95rDXxjbiWA== UI-OutboundReport: notjunk:1;M01:P0:4BekegwE4do=;c0Dsr4SHjVdliJLTY/ToG7ftWQj Eapi+CDcN2XiYOdMSIzIbfA25DbCatyVS8NAMjs/iJZXTeKw/GbHsPfbKqtWODV1C+SWbIFwo tS1SYSdz659DttXNEwUfFy0vOhk/6prZMkxuHYuY27EEwIU+Yb90xGlEvX8K2rVjaK7KOEDUK XGUxsKVmZWJynHOLZvEILFVhXrEM0PpCMxy4YIsoxqna2sKeD43Q6+DpGQFe2Z5bBWbK6Fqz2 gGCqHn3cfwEAON5hFlssWPxlWp4bTHjqoBqMlQg6ePDyCW9MjqANbRl2Pm46eW7l44uzSfyou J4/XcO8PKuk947nI+kGewOyfNdVo/9dZn64QxCdp82Y/x2lYDdt9QJpw23JP9NentobaloLgt cxwQt17Xj/mb01l7Xi18n0oatEmrQx63nEz/zUHQQcuVQRvR8V67XKhqewfmDHGFoj/R51NmS I9/SpRaXlff/LF2c1TUXi4Fkx2qa114XIT8NcrdtaBqGtSN9cn8Aa53nMsgwqptnTw5cNt713 /q35Z1Grr0FthTJvB+cW2+J+la3WUtRAl8o3DDm4+kjwMVNOqHdczRMFmf4HlKahgskkyl/qE mDwkBxeJTVdLOUVGOK7IVwDS0ZMQNLI6oKgVwDoPzb7lWwQWMvzfQIdmCq6Dc9yl8j37EiGz2 rGu7RGL0T59x1nRCFOaGqWr+YSgFmTomwx8GWN7fTjgK0vQM3bjiwU7fb2b96ZSEqXIZvMo6t HSy1hbJvI4wup5Gz8A4OLwGibniayYtTTtaUIiPXi+ksEAegQmwpri8RbK4wrGrkzaVWUkuOh WGQyXh6/WAigpljoP9L/+b5g== Received-SPF: pass client-ip=217.72.192.78; envelope-from=jakob.kirsch@web.de; helo=mout.web.de 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, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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: Jakob Kirsch X-ACL-Warn: , Jakob Kirsch via Guix-patches From: Jakob Kirsch 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: 1.04 X-Spam-Score: 1.04 X-Migadu-Queue-Id: 0C9981E15F X-Migadu-Scanner: mx12.migadu.com X-TUID: M664ThAKkjjA --qKzgm8cl8F6463sy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I've recently noticed that `guix challenge guix` returns different hashes for each substitute server and also every build with `guix build --no-grafts guix` fails. Running `guix build --no-grafts guix --cores=1` seems to reliably produce the same hash though. As someone pointed out on XMPP, Guile seems to have issues with parallel builds so this patch disables them for the guix package. I think this has high importance because the main guix package should be reproducible in order to trust the whole chain of packages. --qKzgm8cl8F6463sy Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="v1-0001-gnu-guix-Fix-determinism-issue.patch" Content-Transfer-Encoding: quoted-printable =46rom 0f3df56dd0c430c09ba2839c9e2d5b32948201ae Mon Sep 17 00:00:00 2001 Message-ID: <0f3df56dd0c430c09ba2839c9e2d5b32948201ae.1730311414.git.jakob= .kirsch@web.de> From: Jakob Kirsch Date: Wed, 30 Oct 2024 19:02:15 +0100 Subject: [PATCH v1] gnu: guix: Fix determinism issue * gnu/packages/package-management.scm (guix): Fix determinism issue by dis= abling parallel build. Change-Id: Ie28e16ed1f15cbc0da0c0d70b2c461e2baa3ff0a =2D-- gnu/packages/package-management.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-ma= nagement.scm index 1763d2d59f..478a74385b 100644 =2D-- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -199,7 +199,8 @@ (define-public guix (file-name (string-append "guix-" version "-checkout")))) (build-system gnu-build-system) (arguments - `(#:configure-flags (list + `(#:parallel-build? #false ; for reproducibility + #:configure-flags (list ;; Provide channel metadata for 'guix describ= e'. ;; Don't pass '--with-channel-url' and base-commit: d6f775c30c6f47e174f6110d1089edc6315600e4 =2D- 2.46.0 --qKzgm8cl8F6463sy--