unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18262: perl-tk intermittent failures due to parallel build
@ 2014-08-13 20:20 mhw
  2014-08-25 11:17 ` Andreas Enge
  0 siblings, 1 reply; 4+ messages in thread
From: mhw @ 2014-08-13 20:20 UTC (permalink / raw)
  To: 18262

perl-tk intermittently fails with error messages that suggest that it
is related to the build being done in parallel.  For examples, see:

  http://hydra.gnu.org/build/58535/log/tail-reload
  http://hydra.gnu.org/build/82185/log/tail-reload

I tried to add #:parallel-build #f to the arguments, but that flag seems
to be unsupported in the perl-build-system, even though it is almost
identical to the gnu-build-system.

     Mark

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

* bug#18262: perl-tk intermittent failures due to parallel build
  2014-08-13 20:20 bug#18262: perl-tk intermittent failures due to parallel build mhw
@ 2014-08-25 11:17 ` Andreas Enge
  2014-08-25 22:04   ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Enge @ 2014-08-25 11:17 UTC (permalink / raw)
  To: mhw; +Cc: 18262

On Wed, Aug 13, 2014 at 04:20:47PM -0400, mhw@netris.org wrote:
> I tried to add #:parallel-build #f to the arguments, but that flag seems
> to be unsupported in the perl-build-system, even though it is almost
> identical to the gnu-build-system.

I think the following (untested) patch adds support for the flag:

diff --git a/guix/build-system/perl.scm b/guix/build-system/perl.scm
index 5695491..515ca90 100644
--- a/guix/build-system/perl.scm
+++ b/guix/build-system/perl.scm
@@ -79,6 +79,7 @@ provides a `Makefile.PL' file as its build system."
                    #:system ,system
                    #:test-target "test"
                    #:tests? ,tests?
+                   #:parallel-build? ,parallel-build?
                    #:outputs %outputs
                    #:inputs %build-inputs)))
 
If it does, we might add #:parallel-tests? at the same time.

Andreas

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

* bug#18262: perl-tk intermittent failures due to parallel build
  2014-08-25 11:17 ` Andreas Enge
@ 2014-08-25 22:04   ` Ludovic Courtès
  2014-09-22 12:28     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2014-08-25 22:04 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 18262

Andreas Enge <andreas@enge.fr> skribis:

> On Wed, Aug 13, 2014 at 04:20:47PM -0400, mhw@netris.org wrote:
>> I tried to add #:parallel-build #f to the arguments, but that flag seems
>> to be unsupported in the perl-build-system, even though it is almost
>> identical to the gnu-build-system.
>
> I think the following (untested) patch adds support for the flag:
>
> diff --git a/guix/build-system/perl.scm b/guix/build-system/perl.scm
> index 5695491..515ca90 100644
> --- a/guix/build-system/perl.scm
> +++ b/guix/build-system/perl.scm
> @@ -79,6 +79,7 @@ provides a `Makefile.PL' file as its build system."
>                     #:system ,system
>                     #:test-target "test"
>                     #:tests? ,tests?
> +                   #:parallel-build? ,parallel-build?
>                     #:outputs %outputs
>                     #:inputs %build-inputs)))

Yes, indeed.

> If it does, we might add #:parallel-tests? at the same time.

Yes.

Could you do it?

Thanks,
Ludo’.

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

* bug#18262: perl-tk intermittent failures due to parallel build
  2014-08-25 22:04   ` Ludovic Courtès
@ 2014-09-22 12:28     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2014-09-22 12:28 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 18262-done

Commit cb150ca changes perl-tk to build sequentially, which should solve
this issue.

Ludo’.

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

end of thread, other threads:[~2014-09-22 12:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-13 20:20 bug#18262: perl-tk intermittent failures due to parallel build mhw
2014-08-25 11:17 ` Andreas Enge
2014-08-25 22:04   ` Ludovic Courtès
2014-09-22 12:28     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).