[Top][All Lists]

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

01/03: gnu: libbonobo: Build sequentially.

From: guix-commits
Subject: 01/03: gnu: libbonobo: Build sequentially.
Date: Thu, 29 Nov 2018 08:14:37 -0500 (EST)

civodul pushed a commit to branch core-updates
in repository guix.

commit 994b5b1d01b6592bf2531e801ce3de0a4a8189bf
Author: Ludovic Court├Ęs <address@hidden>
Date:   Thu Nov 29 12:42:09 2018 +0100

    gnu: libbonobo: Build sequentially.
    for an example of a parallel build failure:
        CCLD   echo-client-2
        CCLD   bonobo-echo-2
      ld: libEcho.a(Bonobo_Sample_Echo-stubs.o): in function 
 undefined reference to `Bonobo_Sample_Echo__iinterface'
 undefined reference to `Bonobo_Sample_Echo__classid'
 undefined reference to `_ORBIT_skel_small_Bonobo_Sample_Echo_echo'
      collect2: error: ld returned 1 exit status
      make[3]: *** [Makefile:488: echo-client-2] Error 1
    * gnu/packages/gnome.scm (libbonobo)[arguments]: Add #:parallel-build?.
 gnu/packages/gnome.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index cbd9afb..b497b96 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1376,7 +1376,14 @@ featuring mature C, C++ and Python bindings.")
            (lambda _
              (substitute* "activation-server/"
-             #t)))))
+             #t)))
+       ;; There's apparently a race condition between the server stub
+       ;; generation and linking of the example under 'samples/echo' that can
+       ;; lead do undefined references when building in parallel, as reported
+       ;; at <>.
+       ;; Thus, disable parallel builds.
+       #:parallel-build? #f))
     (inputs `(("popt" ,popt)
               ("libxml2" ,libxml2)))
     ;; The following are Required by the .pc file

reply via email to

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