From 2d95b9acda5b56380a3ca603fd2e0a0afbfa91f0 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Sat, 6 Aug 2022 00:26:48 +0800 Subject: [PATCH] linux/keg_relocate: remove patchelf exemption I don't think this is needed anymore. We probably needed this when we used `patchelf` to do `RPATH` rewriting, but this is no longer the case. --- Library/Homebrew/extend/os/linux/keg_relocate.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/Library/Homebrew/extend/os/linux/keg_relocate.rb b/Library/Homebrew/extend/os/linux/keg_relocate.rb index 922cdcb339..887ff07c80 100644 --- a/Library/Homebrew/extend/os/linux/keg_relocate.rb +++ b/Library/Homebrew/extend/os/linux/keg_relocate.rb @@ -8,9 +8,6 @@ class Keg # Patching the dynamic linker of glibc breaks it. return if name.match? Version.formula_optionally_versioned_regex(:glibc) - # Patching patchelf fails with "Text file busy" or SIGBUS. - return if name == "patchelf" - old_prefix, new_prefix = relocation.replacement_pair_for(:prefix) elf_files.each do |file|