From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 17 18:10:30 2020 Received: (at submit) by debbugs.gnu.org; 17 Oct 2020 22:10:30 +0000 Received: from localhost ([127.0.0.1]:35683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTuPF-0008J5-Sh for submit@debbugs.gnu.org; Sat, 17 Oct 2020 18:10:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:38574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTuPD-0008Ix-PT for submit@debbugs.gnu.org; Sat, 17 Oct 2020 18:10:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTuPD-0008DD-Jb for guix-patches@gnu.org; Sat, 17 Oct 2020 18:10:27 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:37302) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTuPB-0006rZ-39; Sat, 17 Oct 2020 18:10:27 -0400 Received: by mail-wr1-x441.google.com with SMTP id h7so7329184wre.4; Sat, 17 Oct 2020 15:10:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=549Sjfahn9rsDJX5WfGXWvXhMEmIjnnP+2qZpxW7xRM=; b=fHfezjr5GApnLn3nwo9w0T2VQClEkTa9cH2gmkkEI4bJh9sqy2ZskgJAvLrXgU9mjB yeaJEsqWt94/FmkpHLhLocYawkeiMHQQH/SxTIKXP3jniqp/kjkc9lWXxg7SXsJas2TA XVNTM00CQWSZVLUHI2vnJnZ76nisb08YAZrt+EW+b8cHjEsLIXUy2qrt0aFLnUoW0sxH +Xlnh7rtKAMN5XnPETl5+ZL+mhAM2a35SvtVaoRvlGCQCqWqDSN37LnqTP1aphLmc52n B30gZnx8R+iCbL9V39Rm4JfNLb8CwKiDznD4Z3/fnb7oIgoV/5gj9aLb7jR42UBGjvDm j8mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=549Sjfahn9rsDJX5WfGXWvXhMEmIjnnP+2qZpxW7xRM=; b=sW8PXUNZg3kqA90Cmp4QwQHOLeGqq8iurkfet6a/fV4EMKcIkrxUzZKs3cbPNduep6 PnWD7i2eImHLxkLGzpy6HkzWYox4j78CBYZoAhcqJHuMpdvpcUZzn7vxX3Fa8OiAO3LK OTITLLDJPSqkEknxgqjHHt/bK5a1XENydf6dY39tE23R9tzM4vdEq9wGcU5edST/Mi8w 4q/qYNW2FGw3DTP3QY7pr2Etvb0LqCG8Hk0icC6EpxC12krjYwgB0yq+MKsqpBcShZlr Y+KqhzZWq0r5La+g5T4Foo0N7C4fBLAPBinmM/7LgNEhovbIazdWqwrh93FGwTUjfkKT lAtw== X-Gm-Message-State: AOAM533FGqeLnpt16INTf1rOYQNY6cw4e5u+CBpngnRy4/ptuQ9l/ALw tfS0BeSjmrJsvof7VBAk/gK9zHbdRO0= X-Google-Smtp-Source: ABdhPJzvQZfNIcFiokcbljSjI62DTFgcZpLPMjRoAVjk1WyT4Ttxj114MOC4SpciLczU0KixBpWyhw== X-Received: by 2002:adf:9e91:: with SMTP id a17mr11897969wrf.228.1602972621296; Sat, 17 Oct 2020 15:10:21 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id a82sm9344784wmc.44.2020.10.17.15.10.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Oct 2020 15:10:20 -0700 (PDT) From: zimoun To: guix-patches@gnu.org Subject: [PATCH] build-system/haskell: Disable parallel builds. Date: Sun, 18 Oct 2020 00:10:06 +0200 Message-Id: <20201017221006.19515-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::441; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x441.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit Cc: zimoun , marius@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Fixes . PARALLEL-BUILD? introduced by commit 67cb9fa2357026ee42ec5bb0923ec4dc4a43abe2 leads to unreproducibility. Instead of reverting, default is set to #false which allows user to locally build with parallelism. * guix/build-system/haskell.scm (haskell-build): Turn off PARALLEL-BUILD? by default. --- guix/build-system/haskell.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/guix/build-system/haskell.scm b/guix/build-system/haskell.scm index 8304e3b222..87085a50b0 100644 --- a/guix/build-system/haskell.scm +++ b/guix/build-system/haskell.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Federico Beffa ;;; Copyright © 2020 Timothy Sample +;;; Copyright © 2020 Simon Tournier ;;; ;;; This file is part of GNU Guix. ;;; @@ -115,13 +116,17 @@ version REVISION." (cons name propagated-names)))))) extra-directories)))))))) +;;; PARALLEL-BUILD? introduced by commit +;;; 67cb9fa2357026ee42ec5bb0923ec4dc4a43abe2 leads to unreproducibility. +;;; Instead of reverting, default is set to #false which allows user to +;;; locally build with parallelism. See . (define* (haskell-build store name inputs #:key source (haddock? #t) (haddock-flags ''()) (tests? #t) (test-target "test") - (parallel-build? #t) + (parallel-build? #f) (configure-flags ''()) (extra-directories ''()) (phases '(@ (guix build haskell-build-system) base-commit: d14221bf65cfbe7f8f5b7cac44132087cab70bf5 -- 2.28.0