cool-easter-32542
08/11/2023, 7:28 AMBuilding local_dists.pex step with the following error occurs:
09:13:10.28 [INFO] Completed: Building local_dists.pex
09:13:10.29 [ERROR] 1 Exception encountered:
Engine traceback:
in `package` goal
ProcessExecutionFailure: Process 'Building local_dists.pex' failed with exit code 139.
stdout:
stderr:
Use `--keep-sandboxes=on_failure` to preserve the process chroot for inspection.
I figured out that this was caused by the use of Rosetta for x86/amd64 emulation on Apple Silicon feature being turned on. This feature was turned on as it allows me to run certain other projects properly.
To reproduce:
Docker desktop settings ->
Features in development ->
Beta features ->
Use Rosetta for x86/amd64 emulation on Apple Silicon (turn on to fail)
Pants version
Which version of Pants are you using?
2.16.0
OS
Are you encountering the bug on MacOS, Linux, or both?
MacOS 13.5 (22G74)
Additional info
Add any other information about the problem here, such as attachments or links to gists, if relevant.
pantsbuild/pants