indygreg / python-build-standalone

Produce redistributable builds of Python
BSD 3-Clause "New" or "Revised" License
1.71k stars 107 forks source link

Update the patchelf version: 0.12 -> 0.13.1 to fix corruption on s390x #181

Closed jonathan-albrecht-ibm closed 11 months ago

jonathan-albrecht-ibm commented 11 months ago

downloads: patchelf 0.12 -> 0.13.1

patchelf 0.13.1 fixes a bug that caused the python3* executable to be corrupted on s390x. Attempting to run python3 on an s390x machine would produce an error like:

install/bin/python3: Permission denied

patchelf 0.13.1 is the most recent version that can be compiled by the debian stretch gcc since newer versions of patchelf require c++-17.

I have access to x86_64, s390x and ppc64le VMs so I did a quick build and smoke test of python 3.11 on those platforms and they looked good. I believe only the install/bin/python3* executables are processed by patchelf so I think my local testing should provide good coverage but let me know if there is anything specific I should try.

jonathan-albrecht-ibm commented 11 months ago

@indygreg I just wanted to note that this is the PR mentioned in https://github.com/indygreg/python-build-standalone/pull/180#issuecomment-1641404600

jonathan-albrecht-ibm commented 11 months ago

Thanks for reviewing and merging this @indygreg!