-
Notifications
You must be signed in to change notification settings - Fork 49
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
RPATH not getting set for linux wheel for release 2.6.1 #803
Comments
The freud wheels are supposed to include a copy of TBB 2021 in
The change in name from |
For question 1, at least, the library is getting included (although it is |
@klarh Good -- that indicates that auditwheel is packaging it. The name obfuscation is intentionally done by auditwheel to avoid library conflicts. Please check Those auditwheel changes were patched upstream into cibuildwheel before the fixes were released in the subsequent auditwheel version. Maybe we just need to update cibuildwheel or auditwheel? |
Ah, you're right! The cython-built extensions all have the correct RPATH set up, so maybe it is just a matter of updating. |
I did a little bit of digging to help identify the problem here. I misremembered, the auditwheel changes weren't patched upstream into cibuildwheel. What I should have said was that one user of cibuildwheel patched their own Docker image: pypa/auditwheel#283 The latest auditwheel release (4.0.0) supports the fix from pypa/auditwheel#298. However, the manylinux Docker images that cibuildwheel used for Linux builds haven't been updated to use auditwheel 4.0.0 yet. I checked the latest manylinux tag (quay.io/pypa/manylinux2010_x86_64:2021-06-07-00faba2) and it uses auditwheel 4.0.0. The last release of freud has its CI logs here: https://github.com/glotzerlab/freud/runs/2895373537 This shows it used cibuildwheel 1.11.1. That version is pinned to this Docker image, which is too old to have auditwheel 4.0.0: https://github.com/pypa/cibuildwheel/blob/5ea360607df3d271239b364257eb636411d6a8e8/cibuildwheel/resources/pinned_docker_images.cfg#L3 The newest release of cibuildwheel (1.12.0) still isn't pinned high enough, but cibuildwheel 2.0.0 will be pinned higher once it is released. For now I am creating a PR that will attempt to use a newer manylinux image with auditwheel 4.0.0. |
Describe the bug
It seems that the RPATH isn't getting set for the 2.6.1 wheel on linux. I encountered this while testing the
flowws-live
containers, that can be used to reproduce/inspect the behavior if you like.To Reproduce
Version 2.5.1 (working):
Version 2.6.1 (broken):
Error output
System configuration (please complete the following information):
Additional context
It's worth noting that TBB is also installed at the system level in these containers, but that gives a
libtbb.so.2
, not12
.The text was updated successfully, but these errors were encountered: