-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-5868: [Python] Correctly remove liblz4 shared libraries from manylinux2010 image so lz4 is statically linked #4828
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4828 +/- ##
===========================================
- Coverage 87.43% 65.18% -22.26%
===========================================
Files 997 487 -510
Lines 139804 64296 -75508
Branches 1418 0 -1418
===========================================
- Hits 122241 41910 -80331
- Misses 17201 22386 +5185
+ Partials 362 0 -362
Continue to review full report at Codecov.
|
|
Hmm... auditwheel didn't complain? Perhaps worth reporting as a bug? |
|
We can add more docker images to test the produced wheels. Have you reproduced the issue? |
|
I cannot really find a linux distribution without lz4 preinstalled. |
|
So we statically link liblz4 in the manylinux1 wheels but dynamically in the manylinux2010 wheels this what this PR resolves. What I'm finding strange, that auditwheel seems to bundle libz for manylinux1: while ldd still uses the system libz: For manylinux2010 we also have liblz4: and ldd similarly tries to load the system libs: Inspecting manylinux1 with There is no Similarly for manylinux2010 and libz: for liblz4 (again, I've deleted the system one): There are no According to https://www.python.org/dev/peps/pep-0571/ I've tried to inspect the wheels with I think there are more todo left with the wheels. IMO the manylinux1 wheels are not compliant because of |
|
Perhaps we should use |
|
Can you open a new JIRA about the libz issue with the information from this issue and we can investigate separately? I'm going to merge this for now. +1 |
|
Do we know why auditwheel did not raise either the liblz4 or libz issue before? |
|
Sure, opening it. |
|
No idea, we only run auditwheel repair though. |
|
I see. We should do something about that then |
|
In case of manylinux2010 the report seems faulty, but adding it to the issue. |
|
|
…nylinux2010 image so lz4 is statically linked I pushed the image to Docker Hub (it was on quay.io before). I'm not sure what's the best way to test for this -- I checked the produced wheels locally to verify that liblz4.so is no longer required Author: Wes McKinney <wesm+git@apache.org> Closes #4828 from wesm/ARROW-5868 and squashes the following commits: 1fb1acb <Wes McKinney> Remove liblz4 shared libraries from /usr/local so static linking occurs
I pushed the image to Docker Hub (it was on quay.io before). I'm not sure what's the best way to test for this -- I checked the produced wheels locally to verify that liblz4.so is no longer required