summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/julia/package.py
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@ovgu.de>2023-11-08 08:13:54 +0100
committerGitHub <noreply@github.com>2023-11-08 08:13:54 +0100
commit050d565375b37e3afe0fc5149e79b3109afc4c64 (patch)
treee295cd7f353b1e2d7fb708236552ef0cfd04d79a /var/spack/repos/builtin/packages/julia/package.py
parentf6ef2c254ea0360683426952fb0dd3fca43a8519 (diff)
downloadspack-050d565375b37e3afe0fc5149e79b3109afc4c64.tar.gz
spack-050d565375b37e3afe0fc5149e79b3109afc4c64.tar.bz2
spack-050d565375b37e3afe0fc5149e79b3109afc4c64.tar.xz
spack-050d565375b37e3afe0fc5149e79b3109afc4c64.zip
julia: constrain patchelf version (#40938)
* julia: constrain patchelf version patchelf@0.18 breaks (at least) `libjulea-internal.so`, leading to errors like: ``` $ julia --version ERROR: Unable to load dependent library $SPACK/opt/spack/linux-centos8-x86_64_v3/gcc-12.3.0/julia-1.9.2-6hf5qx2q27jth2fkm6kgqmfdlhzzw6pl/bin/../lib/julia/libjulia-internal.so.1 Message:$SPACK/opt/spack/linux-centos8-x86_64_v3/gcc-12.3.0/julia-1.9.2-6hf5qx2q27jth2fkm6kgqmfdlhzzw6pl/bin/../lib/julia/libjulia-internal.so.1: ELF load command address/offset not properly aligned ``` * patchelf: prefer v0.17.x since v0.18 breaks libraries
Diffstat (limited to 'var/spack/repos/builtin/packages/julia/package.py')
-rw-r--r--var/spack/repos/builtin/packages/julia/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/julia/package.py b/var/spack/repos/builtin/packages/julia/package.py
index 03ef815b06..55716116d5 100644
--- a/var/spack/repos/builtin/packages/julia/package.py
+++ b/var/spack/repos/builtin/packages/julia/package.py
@@ -164,7 +164,8 @@ class Julia(MakefilePackage):
)
# patchelf 0.13 is required because the rpath patch uses --add-rpath
- depends_on("patchelf@0.13:", type="build")
+ # patchelf 0.18 breaks (at least) libjulia-internal.so
+ depends_on("patchelf@0.13:0.17", type="build")
depends_on("perl", type="build")
depends_on("libwhich", type="build")
depends_on("python", type="build")