From 3e6c541dfd50de5f996225b4621139f5d586f078 Mon Sep 17 00:00:00 2001 From: h-vetinari Date: Sat, 1 Feb 2025 08:38:25 +1100 Subject: [PATCH 1/3] Set `patchelf<0.18` --- recipe/meta.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 7bb7c812bc..ca3b6cb055 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -42,7 +42,8 @@ requirements: - menuinst >=2 - packaging - patch >=2.6 # [not win] - - patchelf # [linux] + # cap due to https://github.com/conda/conda-build/issues/4881; https://github.com/NixOS/patchelf/issues/492 + - patchelf <0.18 # [linux] - pkginfo - psutil - py-lief From 6988fbf22ec978bd8621a1bb13e002bd376fb3c2 Mon Sep 17 00:00:00 2001 From: Ken Odegard Date: Fri, 31 Jan 2025 17:33:51 -0600 Subject: [PATCH 2/3] Create 5607-patchelf-0.18 --- news/5607-patchelf-0.18 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 news/5607-patchelf-0.18 diff --git a/news/5607-patchelf-0.18 b/news/5607-patchelf-0.18 new file mode 100644 index 0000000000..09fedf0944 --- /dev/null +++ b/news/5607-patchelf-0.18 @@ -0,0 +1,19 @@ +### Enhancements + +* + +### Bug fixes + +* Limit `patchelf` to `<0.18`. (#5607) + +### Deprecations + +* + +### Docs + +* + +### Other + +* From d4ecf0feef6cf2e62043b4cf3fc8e62a7acddd36 Mon Sep 17 00:00:00 2001 From: Ken Odegard Date: Fri, 31 Jan 2025 19:47:21 -0600 Subject: [PATCH 3/3] Update recipe/meta.yaml Co-authored-by: jakirkham --- recipe/meta.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index ca3b6cb055..895e81aafb 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -42,7 +42,9 @@ requirements: - menuinst >=2 - packaging - patch >=2.6 # [not win] - # cap due to https://github.com/conda/conda-build/issues/4881; https://github.com/NixOS/patchelf/issues/492 + # Cap to avoid bug where ELF load command is garbled. + # xref: https://github.com/conda/conda-build/issues/4881 + # xref: https://github.com/NixOS/patchelf/issues/492 - patchelf <0.18 # [linux] - pkginfo - psutil