summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-08-01 13:15:56 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-08-01 13:32:11 +0200
commit2207053542f293980266ab77c920fcd8de2f961b (patch)
treed6bff97d7de1d1c22936054688e2016d3400cb06 /gnu
parentad430c7127557bc8235e0f5010a04de85f81239e (diff)
downloadguix-2207053542f293980266ab77c920fcd8de2f961b.tar.gz
gnu: dmraid: Disable parallel build.
Fixes a race condition as reported by Brendan Tildesley
<brendan.tildesley@openmailbox.org> in <https://bugs.gnu.org/31999#187>.

* gnu/packages/disk.scm (dmraid)[arguments]: Set #:parallel-build #f.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/disk.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 608d2c1648..9d05b2444e 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -671,6 +671,10 @@ libnvdimm (non-volatile memory device) sub-system in the Linux kernel.")
     (native-inputs `(("which" ,which)))
     (arguments
      `(#:tests? #f                      ; No tests.
+       ;; Prevent a race condition where some target would attempt to link
+       ;; libdmraid.so before it had been built as reported in
+       ;; <https://bugs.gnu.org/31999#187>.
+       #:parallel-build? #f
        #:phases (modify-phases %standard-phases
                   (add-before 'configure 'change-directory
                     (lambda _