guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

144/201: gnu: cdparanoia: Disable parallel build.


From: guix-commits
Subject: 144/201: gnu: cdparanoia: Disable parallel build.
Date: Mon, 1 Nov 2021 23:19:02 -0400 (EDT)

apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.

commit b74dc1af4a336a3d0ba67f6e7e178f4557901946
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Oct 20 15:06:23 2021 -0400

    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.
---
 gnu/packages/cdrom.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
index 8faeedc..ebe7b70 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]