GNU bug report logs - #55757
reproducible builds: disable parllel build in isl

Previous Next

Package: guix-patches;

Reported by: Vagrant Cascadian <vagrant <at> reproducible-builds.org>

Date: Wed, 1 Jun 2022 22:30:03 UTC

Severity: normal

To reply to this bug, email your comments to 55757 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#55757; Package guix-patches. (Wed, 01 Jun 2022 22:30:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vagrant Cascadian <vagrant <at> reproducible-builds.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 01 Jun 2022 22:30:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vagrant Cascadian <vagrant <at> reproducible-builds.org>
To: guix-patches <at> gnu.org
Subject: reproducible builds: disable parllel build in isl
Date: Wed, 01 Jun 2022 15:29:16 -0700
[Message part 1 (text/plain, inline)]
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
[0001-gnu-isl-Disable-parallel-build.patch (text/x-diff, inline)]
From 234e662df27771742b3e8b82e2115284e1cab5a8 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant <at> 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

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#55757; Package guix-patches. (Wed, 01 Jun 2022 22:50:01 GMT) Full text and rfc822 format available.

Message #8 received at 55757 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Vagrant Cascadian <vagrant <at> reproducible-builds.org>, 55757 <at> debbugs.gnu.org
Subject: Re: [bug#55757] reproducible builds: disable parllel build in isl
Date: Thu, 02 Jun 2022 00:49:39 +0200
[Message part 1 (text/plain, inline)]
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.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#55757; Package guix-patches. (Wed, 01 Jun 2022 23:17:02 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 55757 <at> debbugs.gnu.org, guix-patches <at> gnu.org,
 Vagrant Cascadian <vagrant <at> reproducible-builds.org>
Subject: Re: [bug#55757] reproducible builds: disable parllel build in isl
Date: Thu, 02 Jun 2022 01:14:27 +0200
[Message part 1 (text/plain, inline)]
Maxime Devos 写道:
> Agreed with core-updates.

…with a ‘build reproducibly’ comment.

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#55757; Package guix-patches. (Wed, 01 Jun 2022 23:17:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#55757; Package guix-patches. (Thu, 09 Jun 2022 15:29:02 GMT) Full text and rfc822 format available.

Message #17 received at 55757 <at> debbugs.gnu.org (full text, mbox):

From: Vagrant Cascadian <vagrant <at> reproducible-builds.org>
To: 55757 <at> debbugs.gnu.org
Cc: Tobias Geerinckx-Rice <me <at> tobias.gr>, Maxime Devos <maximedevos <at> telenet.be>
Subject: Re: reproducible builds: disable parllel build in isl
Date: Thu, 09 Jun 2022 08:28:04 -0700
[Message part 1 (text/plain, inline)]
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 <at> 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
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 1 year and 292 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.