From patchwork Wed Jun 1 22:29:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vagrant Cascadian X-Patchwork-Id: 39712 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BDFA527BBEA; Wed, 1 Jun 2022 23:30:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7BD1727BBE9 for ; Wed, 1 Jun 2022 23:30:13 +0100 (BST) Received: from localhost ([::1]:34020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwWqy-00074C-LD for patchwork@mira.cbaines.net; Wed, 01 Jun 2022 18:30:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwWqp-000743-VK for guix-patches@gnu.org; Wed, 01 Jun 2022 18:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58271) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nwWqp-0007kF-MN for guix-patches@gnu.org; Wed, 01 Jun 2022 18:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nwWqp-0004jI-AY for guix-patches@gnu.org; Wed, 01 Jun 2022 18:30:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55757] reproducible builds: disable parllel build in isl Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Jun 2022 22:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55757 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 55757@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165412256918107 (code B ref -1); Wed, 01 Jun 2022 22:30:03 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jun 2022 22:29:29 +0000 Received: from localhost ([127.0.0.1]:52168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwWqH-0004hy-CE for submit@debbugs.gnu.org; Wed, 01 Jun 2022 18:29:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:41510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwWqF-0004hp-Dt for submit@debbugs.gnu.org; Wed, 01 Jun 2022 18:29:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwWqF-000736-6F for guix-patches@gnu.org; Wed, 01 Jun 2022 18:29:27 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:54998) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwWqD-0007a2-J5 for guix-patches@gnu.org; Wed, 01 Jun 2022 18:29:26 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@aikidev.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id B91541AA6B for ; Wed, 1 Jun 2022 15:29:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=reproducible-builds.org; s=1.vagrant; t=1654122562; bh=5BxfQvZfx7MIBrRGNqkBHu8p5KTKKddx45HfbVGC4Nk=; h=From:To:Subject:Date:From; b=T8PM9i6UB4lHKlG1EUVVhUTIHNCymbYVF0Qfe+TOdc6nTf0CxRuOULXjuMciyCZwq tbVRDU6BFtEIYI6e08vwQCZ3YKX0yuaQgEWbjVzqel9FiEyHSJ8izHp+ASYtCQe3m7 EBxpa0R+DqpxBBoklCRnuv0AbDjJvyLlz8k1o6xYwFLqkGKNirWTavUnPsZ23TLaUH 5JSOKozaQWN2Eoe0KGnMRbIvpKp8pSCaNsxhtelYUg64Y70Fno7/2ujejWmlyAnHz0 Htz/hvxYJwNQ/4MxlokWvMwBTCsc0A6aeD99IVzLAmMLurfDQQ4Xm39poCa8YMhOUI ZZj8ktQkZ0jEw== From: Vagrant Cascadian Date: Wed, 01 Jun 2022 15:29:16 -0700 Message-ID: <87a6awaugz.fsf@contorta> MIME-Version: 1.0 Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c; envelope-from=vagrant@reproducible-builds.org; helo=cascadia.aikidev.net 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_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches The attached patch makes isl build reproducibly in guix by disabling parallelism. Admittedly, I'm unsure what the root cause is, and Debian's build of isl does not appear to have this problem, despite building in parallel. Seems like patches to isl should go to core-updates: $ guix refresh --list-dependent isl Building the following 2192 packages would ensure 5967 dependent packages are rebuilt: ... live well, vagrant From 234e662df27771742b3e8b82e2115284e1cab5a8 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Wed, 1 Jun 2022 11:58:41 -0700 Subject: [PATCH 1/4] gnu: isl: Disable parallel build. * gnu/packages/gcc.scm (isl)[arguments]: Pass parallel-build #f. --- gnu/packages/gcc.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index cd144772b8..560a35af2d 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -1218,7 +1218,8 @@ (define-public isl (build-system gnu-build-system) (outputs '("out" "static")) (arguments - '(#:phases (modify-phases %standard-phases + '(#:parallel-build? #f + #:phases (modify-phases %standard-phases (add-after 'install 'move-static-library (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) -- 2.35.1