patchelf error when installing OTB 8.1.2 binaries
Description
When installing OTB-8.1.2-Linux64.run in a fresh ubuntu docker, the procedure fails on
patchelf: unsupported overlap of SHT_NOTE and PT_NOTE
Steps to reproduce
The issue has been reproduced when starting from ubuntu:20.04 and 18.04 dockers and with a few other packages already installed.
Here is a exact Dockerfile that reproduces the issue: https://gitlab.orfeo-toolbox.org/s1-tiling/s1tiling-dockers/-/blob/7ba53957ff28a23a854bdf37e8a2bc55bc65dfce/ubuntu/base/Dockerfile
And a related failing job: https://gitlab.orfeo-toolbox.org/s1-tiling/s1tiling-dockers/-/jobs/78367#L1171
My investigations
-
The issue don't seem to be observed with the dockers you produce. I guess it's related to the other packages I require.
-
It seems related to version 0.12 of patchelf https://github.com/NixOS/patchelf/issues/255#issuecomment-907561501
=> upgrading it to the latest version is possibly a simple fix.
Configuration information
- OS: ubuntu 20.04 and 22.04 dockers
- OTB binaries 8.1.2
- S1Tiling installation procedure