From 0d10408a257bd6ce5097a64b5742dd5524b13895 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Mon, 29 Nov 2021 15:41:25 +0100 Subject: bootstrap: restrict patchelf to v0.13.x (#27685) --- lib/spack/spack/bootstrap.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/spack/spack/bootstrap.py b/lib/spack/spack/bootstrap.py index 92ce0ed934..86a11db22b 100644 --- a/lib/spack/spack/bootstrap.py +++ b/lib/spack/spack/bootstrap.py @@ -785,7 +785,10 @@ def ensure_gpg_in_path_or_raise(): def patchelf_root_spec(): """Return the root spec used to bootstrap patchelf""" - return _root_spec('patchelf@0.13:') + # TODO: patchelf is restricted to v0.13 since earlier versions have + # TODO: bugs that we don't to deal with, while v0.14 requires a C++17 + # TODO: which may not be available on all platforms. + return _root_spec('patchelf@0.13.1:0.13.99') def ensure_patchelf_in_path_or_raise(): -- cgit v1.2.3-60-g2f50