cmd/go: GODEBUG=gocacheverify=1 panic (internal cache error: cache verify failed) #35412
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Working on this release build tool: https://github.com/jrick/release
I noticed that sometimes the tool would reliably reproduce different binaries than others would create on a fresh build host environment. I figured this was due to something stale in the cache being used. After a
go clean -cache
, I was able to reproduce the same bins as the clean environment again, but decided to look closer at possible cache issues.Running the release tool with
GODEBUG=gocacheverify=1
, I found that it will always fail during either thedcrwallet
orpromptsecret
build (whichever comes later) due to a failed cache sanity check. Full output below.You'll probably want to test with this branch which strips the tool down to only build the dcrwallet and promptsecret executables cross-compiled for linux/amd64 to speed up the repro case: https://github.com/jrick/release/tree/gocacheverify
What did you expect to see?
No panic, reproducible builds from any host environment.
What did you see instead?
The text was updated successfully, but these errors were encountered: