guix-commits
[Top][All Lists]
Advanced

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

03/04: gnu: julia: Don't invoke /sbin/ldconfig.


From: Ludovic Courtès
Subject: 03/04: gnu: julia: Don't invoke /sbin/ldconfig.
Date: Tue, 6 Feb 2018 11:03:08 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 9805ad6f87612b5c305c099c38684607cecfb328
Author: Ludovic Courtès <address@hidden>
Date:   Tue Feb 6 14:21:12 2018 +0100

    gnu: julia: Don't invoke /sbin/ldconfig.
    
    Reported by Marco van Hulten <address@hidden>
    in <https://bugs.gnu.org/30282>.
    
    * gnu/packages/julia.scm (julia)[arguments] <'hardcode-soname-map>:
    Patch out 'ldconfig' invocations.
---
 gnu/packages/julia.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm
index d958995..41bbc66 100644
--- a/gnu/packages/julia.scm
+++ b/gnu/packages/julia.scm
@@ -146,6 +146,12 @@
           (lambda* (#:key inputs #:allow-other-keys)
             (use-modules (ice-9 match))
             (substitute* "src/runtime_ccall.cpp"
+              ;; Patch out invocations of '/sbin/ldconfig' to avoid getting
+              ;; error messages about missing '/sbin/ldconfig' on GuixSD.
+              (("popen\\(.*ldconfig.*\\);")
+               "NULL;\n")
+
+              ;; Populate 'sonameMap'.
               (("jl_read_sonames.*;")
                (string-join
                 (map (match-lambda



reply via email to

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