Give precedence to $ORIGIN locations in RPATH wrappers#5038
Give precedence to $ORIGIN locations in RPATH wrappers#5038Crivella wants to merge 1 commit intoeasybuilders:developfrom
$ORIGIN locations in RPATH wrappers#5038Conversation
|
Builds that worked with this branch checked out (while having an existing installation of that software that would previously cause trouble in the tests) |
|
Following-up on the discussion in the conf call:
I see two solutions to this issue:
Option A seems the most practical solution. @boegel any thoughts on this? |
|
I'm pretty sure the reason the paths in A exist is so that when you run the test step for something not yet installed it can still find the libraries that it needs (which will ultimately end up in Specifically, the scenario is |
I think the rpaths to |
I think the only thing that can get in before |
|
I think this change makes sense, but this should be tested quite broadly... We may have had a reason to use the particular order we're using now, although maybe not and we're just using whatever made most sense at the time, I would have to dig into the Git history to check for clues. @Crivella Can you set up a broad test with this change in place, building a whole bunch of things from scratch (and then some rebuilds of things that are known to be problematic with the currently used order), and report back? If no problems emerge from broad testing, we can merge this change. |
$ORIGIN locations in RPATH wrappers
Fixes: