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:
parent
d40b5684c5
commit
9805ad6f87
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue