summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-10-20 15:06:23 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-11-11 12:18:21 -0500
commit12b9810ede8795ff633145ccec4dd99482865cd8 (patch)
treeefa003e04dbe93620a0974c83d1e13d544125291 /gnu/packages
parenta0bf66ab9432675f86095d9a2533d7b80f58a668 (diff)
downloadguix-12b9810ede8795ff633145ccec4dd99482865cd8.tar.gz
gnu: cdparanoia: Disable parallel build.
The build would sometimes fail with errors such as:

make[1]: Entering directory '/tmp/guix-build-cdparanoia-10.2.drv-0/cdparanoia-III-10.2'
gcc -O2 -fsigned-char -g -O2 -c main.c
gcc -O2 -fsigned-char -g -O2 -c report.c
gcc -O2 -fsigned-char -g -O2 -c header.c
gcc -O2 -fsigned-char -g -O2 -c buffering_write.c
gcc -O2 -fsigned-char -g -O2 -c cachetest.c
gcc -O2 -fsigned-char -g -O2 -Wl,-rpath=/gnu/store/h0qhcyf0ci4kb70mmvxn8150rl6d3ykm-cdparanoia-10.2/lib -g -O2 main.o report.o header.o buffering_write.o cachetest.o \
        -L/tmp/guix-build-cdparanoia-10.2.drv-0/cdparanoia-III-10.2/paranoia -L/tmp/guix-build-cdparanoia-10.2.drv-0/cdparanoia-III-10.2/interface \
        -o cdparanoia -lcdda_interface -lcdda_paranoia -lm -lrt
ld: main.o: in function `cleanup':
/tmp/guix-build-cdparanoia-10.2.drv-0/cdparanoia-III-10.2/main.c:667: undefined reference to `paranoia_free'
[...]
collect2: error: ld returned 1 exit status

* gnu/packages/cdrom.scm (cdparanoia)[parallel-build?]: Set to #f.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/cdrom.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
index 76f713385b..65f7409232 100644
--- a/gnu/packages/cdrom.scm
+++ b/gnu/packages/cdrom.scm
@@ -235,6 +235,7 @@ files.")
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f ; there is no check target
+       #:parallel-build? #f             ;randomly fails to link
        #:configure-flags ; Add $libdir to the RUNPATH of all the executables.
        (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
        ;; Building in parallel is flaky: “ld: […]/cachetest.c:393: undefined