Subject: bug#38782: portaudio fails to build

From: Nicolas Goaziou <[email-masked]>
Date: Sun, 29 Dec 2019 09:43:59 +0100

Hello,

Sergiu Marton <[email-masked]> writes:

>> I have been able to build it locally.  I suppose the problem might be
>> with parallel building.  Disabling parallel builds for the portaudio
>> package might fix this.
>
> It built just fine with --cores=1 --max-jobs=1. Thanks!

Would the following patch fix the issue then?

Regards,

-- 
Nicolas Goaziou
>From 8acdc1540661bc80e8c724f29b6b162ccfb3307e Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <[email-masked]>
Date: Sun, 29 Dec 2019 09:36:44 +0100
Subject: [PATCH] gnu: portaudio: Fix build.

* gnu/packages/audio.scm (portaudio)[arguments]: Build sequentially.

Fixes <https://bugs.gnu.org/38782>.  This is a follow-up to commit
1ce6bfc21ce328d787df76c6ee132f9f828d098b.
---
 gnu/packages/audio.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 204ea6acf0..a76a48d4c6 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -2874,6 +2874,7 @@ portions of LAME.")
        ("pkg-config" ,pkg-config)))
     (arguments
      '(#:tests? #f                      ;no 'check' target
+       #:parallel-build? #f
        #:configure-flags '("--with-pic"
                            "--enable-cxx"
                            ;; XXX: The following prevents a build error
-- 
2.24.1