You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The same logic applies for macOS. We just ran into the Go tip issue mentioned there:
The problem with hardcoding a GOROOT is that if any other go tool is in use (for example, because one compiled Go tip), the environment variable will override its autodetected GOROOT. The result is that the GOROOT and the go binary will mismatch, leading to obscure errors.
Specific example: trying to call the Go tip's go tool dist test makes Go complain that "dist" doesn't exist, because it's looking in the wrong GOROOT. dist doesn't exist for the preinstalled Go, but it does exist in the just-compiled Go tip.
As a workaround, explicitly unsetting GOROOT in our macOS CI fixes go tool dist test for a Go tip build.
Description
Borrowing title from:
The same logic applies for macOS. We just ran into the Go tip issue mentioned there:
Specific example: trying to call the Go tip's
go tool dist test
makes Go complain that "dist" doesn't exist, because it's looking in the wrong GOROOT.dist
doesn't exist for the preinstalled Go, but it does exist in the just-compiled Go tip.As a workaround, explicitly unsetting GOROOT in our macOS CI fixes
go tool dist test
for a Go tip build.Platforms affected
Runner images affected
Image version and build link
Image: macos-14
Version: 20241216.504
https://dev.azure.com/dnceng-public/public/_build/results?buildId=910679&view=logs&j=1fc39dc4-3ae2-57e7-a254-ceccd9c00bb3&t=e8fde53a-663f-5432-3a67-c3eefd0bab24&l=137
Is it regression?
No
The text was updated successfully, but these errors were encountered: