cool-easter-32542
03/07/2024, 8:04 PMpants several of my coworkers have ran into Exec format error. This is because the shebang in the nce/path/.../bin/pants is longer than the 128 character limit imposed by linux and gets cutoff.
The 2.1.154 release of Pex includes a work around for this. However Pants 2.19.x currently uses v2.1.148.
During the Pants Build Pex step of the release, Pants packages itself as a pex, however it uses pex v2.1.148. This produces potentially broken Pants Pexs on linux if your home directory is sufficiently long.
I believe if we cherry picked the work done in #20587 it would solve the problem.
Pants version
2.19
OS
Both
Additional info
pantsbuild/pantscool-easter-32542
03/07/2024, 11:57 PM