Subject: bug#18262: perl-tk intermittent failures due to parallel build

From: Andreas Enge <[email-masked]>
Date: Mon, 25 Aug 2014 13:17:43 +0200

On Wed, Aug 13, 2014 at 04:20:47PM -0400, [email-masked] 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