Conversation
|
I think this is the right way to do this for Linux. @Homebrew/linux, can one of you have a look? See also #75449. |
|
From the bottle |
|
Shouldn't the |
|
I don't think we do any Do you do Homebrew/brew#10846 would be good to have, but I think that wherever we can get relocation for free, we should take it. |
It looks like we sort of do this by rewriting the lib paths in https://github.com/Homebrew/brew/blob/a654730accaaadff4d28ed8678b88baed693d621/Library/Homebrew/extend/os/mac/keg_relocate.rb#L42, and then try to remove the RPATHs afterward if the lib paths no longer use them. In theory I think we should fully rewrite the
That is what
100% agreed on this! |
|
My guess is that this change will have no affect on Linux either way because the RPATHs are ignored when determining a bottle cellar. I can test this locally if you want me to just to be sure. |
|
Actually it looks like this is already relocatable on Linux: I'm just more concerned about whether the specific Knowing the correct thing to pass to |
I would say we should take the safe route in that case and use
Yes, that could be useful if it improves relocatability on macOS. It's possible that as part of Homebrew/brew#10846 we will eventually not need to set the |
|
Done. |
|
Needs the next |
Setting RPATH to `lib` breaks relocatability on macOS. See Homebrew#75450 and Homebrew#75449.
|
🤖 A scheduled task has triggered a merge. |
See 52203dd and 068fcb9.
brew install --build-from-source <formula>, where<formula>is the name of the formula you're submitting?brew test <formula>, where<formula>is the name of the formula you're submitting?brew audit --strict <formula>(after doingbrew install <formula>)?