all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#55757] reproducible builds: disable parllel build in isl
@ 2022-06-01 22:29 Vagrant Cascadian
  2022-06-01 22:49 ` Maxime Devos
  2022-06-09 15:28 ` Vagrant Cascadian
  0 siblings, 2 replies; 4+ messages in thread
From: Vagrant Cascadian @ 2022-06-01 22:29 UTC (permalink / raw)
  To: 55757


[-- Attachment #1.1: Type: text/plain, Size: 510 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-isl-Disable-parallel-build.patch --]
[-- Type: text/x-diff, Size: 997 bytes --]

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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#55757] reproducible builds: disable parllel build in isl
  2022-06-01 22:29 [bug#55757] reproducible builds: disable parllel build in isl Vagrant Cascadian
@ 2022-06-01 22:49 ` Maxime Devos
  2022-06-01 23:14   ` Tobias Geerinckx-Rice via Guix-patches via
  2022-06-09 15:28 ` Vagrant Cascadian
  1 sibling, 1 reply; 4+ messages in thread
From: Maxime Devos @ 2022-06-01 22:49 UTC (permalink / raw)
  To: Vagrant Cascadian, 55757

[-- Attachment #1: Type: text/plain, Size: 441 bytes --]

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.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#55757] reproducible builds: disable parllel build in isl
  2022-06-01 22:49 ` Maxime Devos
@ 2022-06-01 23:14   ` Tobias Geerinckx-Rice via Guix-patches via
  0 siblings, 0 replies; 4+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2022-06-01 23:14 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 55757, vagrant

[-- Attachment #1: Type: text/plain, Size: 126 bytes --]

Maxime Devos 写道:
> Agreed with core-updates.

…with a ‘build reproducibly’ comment.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#55757] reproducible builds: disable parllel build in isl
  2022-06-01 22:29 [bug#55757] reproducible builds: disable parllel build in isl Vagrant Cascadian
  2022-06-01 22:49 ` Maxime Devos
@ 2022-06-09 15:28 ` Vagrant Cascadian
  1 sibling, 0 replies; 4+ messages in thread
From: Vagrant Cascadian @ 2022-06-09 15:28 UTC (permalink / raw)
  To: 55757; +Cc: Tobias Geerinckx-Rice, Maxime Devos

[-- Attachment #1: Type: text/plain, Size: 2155 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-09 15:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-01 22:29 [bug#55757] reproducible builds: disable parllel build in isl Vagrant Cascadian
2022-06-01 22:49 ` Maxime Devos
2022-06-01 23:14   ` Tobias Geerinckx-Rice via Guix-patches via
2022-06-09 15:28 ` Vagrant Cascadian

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.