-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rattler doesn't set rpath for binaries #529
Comments
A side note which i found strange: Any idea why it could have worked in rattler-build but not outside? |
We recently changed the default "patchelf" implementation to use the builtin Rust version (#501 ). I wonder if you have the same problem with earlier rattler-build versions? Also, do you have the logs somewhere? It should mention something about changing the rpath. |
This issue occurs both with rattler-build 0.7.0 and with rattler-build 0.7.1rc5 (latest main commit as of now) |
Argh, ok, so these binaries don't have an rpath and that's why our patching doesn't work... and also won't work with our current Rust implementation (not such a big deal since we can still use But looks like we need to force the |
I think it is closely related to the # settings for shared libraries and executables
dynamic_linking:
# linux only, list of rpaths (was rpath)
rpaths: [path] (defaults to ['lib/'])
Absolutely. It was already on my list so I will follow up with a PR. |
Addressed in #531 |
My example from above still doesn't work 🫠 |
For me it works:
(Maybe we can update that warning message btw) |
Can you share the log output? @pavelzw 🐻 |
@orhun See the failing tests in https://github.com/prefix-dev/rattler-build/actions/runs/7642259861/job/20821467331?pr=532 #532 my local logs: (from osx-arm64 as build-platform)
|
Okay I see the problem now, working on a fix 🐻 |
Seems to work on ubuntu but not on macOS when cross-building (see here). Is this intended? my logs from when i do it locally
|
(I also still need to fix up the package content tests 😱 ) |
The following recipe fails on linux-64
The corresponding conda-build recipe succeeds with
conda-build
Would be nice to have this example as a unit test
The text was updated successfully, but these errors were encountered: