Message ID | 87a6awaugz.fsf@contorta |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> 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 <patchwork@mira.cbaines.net>; 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 <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org>) 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 <Debian-debbugs@debbugs.gnu.org>) 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 <Debian-debbugs@debbugs.gnu.org>) 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 <Debian-debbugs@debbugs.gnu.org>) 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 <vagrant@reproducible-builds.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Jun 2022 22:30:03 +0000 Resent-Message-ID: <handler.55757.B.165412256918107@debbugs.gnu.org> 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 <debbugs-submit-bounces@debbugs.gnu.org>) 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 <vagrant@reproducible-builds.org>) 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 <vagrant@reproducible-builds.org>) 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 <vagrant@reproducible-builds.org>) 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 <guix-patches@gnu.org>; 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 <vagrant@reproducible-builds.org> Date: Wed, 01 Jun 2022 15:29:16 -0700 Message-ID: <87a6awaugz.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#55757] reproducible builds: disable parllel build in isl
|
|
Commit Message
Vagrant Cascadian
June 1, 2022, 10:29 p.m. UTC
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
Comments
Vagrant Cascadian schreef op wo 01-06-2022 om 15:29 [-0700]: > $ guix refresh --list-dependent > isl > Building the following 2192 packages would ensure 5967 dependent > packages are rebuilt: ... Even worse, it is used by gcc, which is (indirectly) used by pretty much everything. Agreed with core-updates.
Maxime Devos 写道:
> Agreed with core-updates.
…with a ‘build reproducibly’ comment.
Kind regards,
T G-R
On 2022-06-01, Vagrant Cascadian wrote: > 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: ... I'm less confident this actually fixes reproducibility issues, as I've had several cases with other packages (that didn't need to go through core-updates) that *seemed* to be fixed by disabling parallelism on my local builds, but once ci and bordeaux built them, they were still unreproducible... (need to follow-up and revert those changes on master, too) Given that parallelism isn't an issue for the Debian package, my guess is my "fix" for this is probably not necessarily effective either. live well, vagrant > > > live well, > vagrant > From 234e662df27771742b3e8b82e2115284e1cab5a8 Mon Sep 17 00:00:00 2001 > From: Vagrant Cascadian <vagrant@reproducible-builds.org> > 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
From 234e662df27771742b3e8b82e2115284e1cab5a8 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagrant@reproducible-builds.org> 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