Skip to content

Commit

Permalink
manylinux2014: Downgrade patchelf to 0.16
Browse files Browse the repository at this point in the history
Due to bugs causing executables to be corrupted, see pypa/manylinux#1421 and NixOS/patchelf#446

Fixes panda3d/panda3d#1504
  • Loading branch information
rdb committed Aug 3, 2023
1 parent 526727d commit cdc718e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dockerfiles/manylinux2014-aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ RUN yum -y install gtk2-devel mesa-libEGL-devel mesa-libGLES-devel

# Extract static Python libraries we'll need for deploy-stub
RUN tar -C /opt/_internal -xvf /opt/_internal/static-libs-for-embedding-only.tar.xz

# Downgrade patchelf due to pypa/manylinux#1421
RUN pipx install --force 'patchelf<0.17'
3 changes: 3 additions & 0 deletions dockerfiles/manylinux2014-x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ RUN yum -y install gtk2-devel gtk3-devel mesa-libEGL-devel mesa-libGLES-devel

# Extract static Python libraries we'll need for deploy-stub
RUN tar -C /opt/_internal -xvf /opt/_internal/static-libs-for-embedding-only.tar.xz

# Downgrade patchelf due to pypa/manylinux#1421
RUN pipx install --force 'patchelf<0.17'

0 comments on commit cdc718e

Please sign in to comment.