aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/julia.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-02-06 14:21:12 +0100
committerLudovic Courtès <ludo@gnu.org>2018-02-06 16:12:50 +0100
commit9805ad6f87612b5c305c099c38684607cecfb328 (patch)
tree43f80781c1991defc1eb7028909734799bb032b6 /gnu/packages/julia.scm
parentd40b5684c533e0188ffa213b20f2d3c88406d895 (diff)
downloadguix-9805ad6f87612b5c305c099c38684607cecfb328.tar
guix-9805ad6f87612b5c305c099c38684607cecfb328.tar.gz
gnu: julia: Don't invoke /sbin/ldconfig.
Reported by Marco van Hulten <marco@hulten.org> in <https://bugs.gnu.org/30282>. * gnu/packages/julia.scm (julia)[arguments] <'hardcode-soname-map>: Patch out 'ldconfig' invocations.
Diffstat (limited to 'gnu/packages/julia.scm')
-rw-r--r--gnu/packages/julia.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm
index d958995288..41bbc66dd2 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