loud-nightfall-4213
10/06/2023, 9:14 PM1.21.1
to 1.21.2
on their machine and the go
build started to fail with:
➜ pants check src/go::
...
__run_go.sh: line 14: /opt/homebrew/Cellar/go/1.21.1/libexec/bin/go: No such file or directory
__run_go.sh: line 14: exec: /opt/homebrew/Cellar/go/1.21.1/libexec/bin/go: cannot execute: No such file or directory
15:52:53.84 [ERROR] 1 Exception encountered:
Engine traceback:
in `run` goal - ***
Exception: Failed to compile main:
__run_go.sh: line 14: /opt/homebrew/Cellar/go/1.21.1/libexec/bin/go: No such file or directory
__run_go.sh: line 14: exec: /opt/homebrew/Cellar/go/1.21.1/libexec/bin/go: cannot execute: No such file or directory
To fix the issue, they had to re-install pants. Thoughts?happy-kitchen-89482
10/06/2023, 9:34 PM1.21.1
path seems to be cached.loud-nightfall-4213
10/06/2023, 9:34 PMhappy-kitchen-89482
10/06/2023, 9:35 PM~/.cache/pants/lmdb_store/
happy-kitchen-89482
10/06/2023, 9:35 PMloud-nightfall-4213
10/06/2023, 9:43 PM1.21.2
. Might be a random / rare edge caseloud-nightfall-4213
10/06/2023, 9:44 PMhappy-kitchen-89482
10/06/2023, 9:44 PMloud-nightfall-4213
10/06/2023, 9:44 PMhappy-kitchen-89482
10/06/2023, 9:45 PM07:59:03.76 [INFO] Initializing scheduler...
07:59:13.63 [INFO] Scheduler initialized.
happy-kitchen-89482
10/06/2023, 9:45 PMpantsd
started uploud-nightfall-4213
10/06/2023, 9:47 PM==> Pouring go--1.21.2.monterey.bottle.tar.gz
🍺 /usr/local/Cellar/go/1.21.2: 12,535 files, 242.7MB
==> Running `brew cleanup go`...
I immediately tried running one of our apps:
o11y (main) $ pants run ingestion:bin@environment=macos_x86_64
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
.
.
loud-nightfall-4213
10/06/2023, 9:48 PMloud-nightfall-4213
10/06/2023, 9:50 PMloud-nightfall-4213
10/06/2023, 9:51 PMhappy-kitchen-89482
10/06/2023, 9:53 PMloud-nightfall-4213
10/06/2023, 9:54 PM