average-breakfast-91545
11/25/2024, 3:52 PM15:47:13.80 [INFO] Completed: Build pex for resolve `python-default`
15:47:13.80 [ERROR] 1 Exception encountered:
Engine traceback:
in `export` goal
ProcessExecutionFailure: Process 'Build pex for resolve `python-default`' failed with exit code 1.
stdout:
stderr:
pid 2891 -> /Users/samw/.cache/pants/named_caches/pex_root/venvs/7fd29932d86a744f8a544214470ad8d101a53805/87cdf509690f1cfd475dbc0eb24b9b00ef5403fd/bin/python -sE /Users/samw/.cache/pants/named_caches/pex_root/venvs/7fd29932d86a744f8a544214470ad8d101a53805/87cdf509690f1cfd475dbc0eb24b9b00ef5403fd/pex --disable-pip-version-check --no-python-version-warning --exists-action a --no-input --use-deprecated legacy-resolver --isolated -q --cache-dir /Users/samw/.cache/pants/named_caches/pex_root/pip/20.3.4-patched/pip_cache download --dest /Users/samw/.cache/pants/named_caches/pex_root/downloads/resolver_download.pj7unmyn/Users.samw..pyenv.versions.3.9.18.bin.python3.9 pip==23.0.1 setuptools==67.4.0 wheel==0.38.4 --index-url <https://pypi.org/simple/> --retries 5 --timeout 15 exited with -11 and STDERR:
None
Use `--keep-sandboxes=on_failure` to preserve the process chroot for inspection.
Any hints on where to go with this?average-breakfast-91545
11/25/2024, 4:17 PMhappy-kitchen-89482
11/25/2024, 7:15 PMaverage-breakfast-91545
11/25/2024, 7:16 PMhappy-kitchen-89482
11/25/2024, 7:17 PMhappy-kitchen-89482
11/25/2024, 7:17 PMaverage-breakfast-91545
11/25/2024, 7:18 PMhappy-kitchen-89482
11/25/2024, 7:20 PMhappy-kitchen-89482
11/25/2024, 7:20 PMaverage-breakfast-91545
11/25/2024, 7:20 PMaverage-breakfast-91545
11/25/2024, 7:21 PMhappy-kitchen-89482
11/25/2024, 7:21 PM--keep-sandboxes=always
and locate the failing sandbox (the locations are logged to the terminal)happy-kitchen-89482
11/25/2024, 7:21 PM__run.sh
contains the command Pants ranaverage-breakfast-91545
11/25/2024, 7:22 PMhappy-kitchen-89482
11/25/2024, 7:22 PMhappy-kitchen-89482
11/25/2024, 7:22 PMaverage-breakfast-91545
11/25/2024, 7:22 PMhappy-kitchen-89482
11/25/2024, 7:22 PMhappy-kitchen-89482
11/25/2024, 7:25 PM-v
or -vv
or -vvv
etc to get at increasingly verbose logs, and add --pip-log path/to/log
to see pip’s loghappy-kitchen-89482
11/25/2024, 7:25 PM--pip-version
to try a different pip versionhappy-kitchen-89482
11/25/2024, 7:26 PM--pip-version=latest
(this is the latest version pex knows about, not necessarily the latest version that exists)happy-kitchen-89482
11/25/2024, 7:26 PM--help
to see all the values you can useaverage-breakfast-91545
11/25/2024, 7:26 PMhappy-kitchen-89482
11/25/2024, 7:26 PMaverage-breakfast-91545
11/26/2024, 2:16 PMpip install requests
immediately segfaults. Thanks, should have tried that first 🙏