diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-02-06 14:21:12 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-02-06 16:12:50 +0100 |
commit | 9805ad6f87612b5c305c099c38684607cecfb328 (patch) | |
tree | 43f80781c1991defc1eb7028909734799bb032b6 | |
parent | d40b5684c533e0188ffa213b20f2d3c88406d895 (diff) |
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.
-rw-r--r-- | gnu/packages/julia.scm | 6 |
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 |