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.
This commit is contained in:
Ludovic Courtès 2018-02-06 14:21:12 +01:00
parent d40b5684c5
commit 9805ad6f87
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 6 additions and 0 deletions

View File

@ -146,6 +146,12 @@
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(use-modules (ice-9 match)) (use-modules (ice-9 match))
(substitute* "src/runtime_ccall.cpp" (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.*;") (("jl_read_sonames.*;")
(string-join (string-join
(map (match-lambda (map (match-lambda