-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go install
fails when GOPROXY
is empty
#62274
Comments
How did you install go and what's in |
go was built from sources following these instructions: https://go.dev/doc/install/source The file
I've added the output of I found one mention of the same issue from a SUSE Linux mailing list: https://lists.suse.com/pipermail/sle-updates/2023-August/031016.html |
Our sources have |
@seankhliao I just rebuilt golang 1.21 after your previous message and noticed that Is there a list of which files are required to be copied over from the build directory? I'll go ahead and close this issue since it's on our end. |
Latest go 1.21 installed at dev c9s image need a pair of go env to be set. This change configure them with default values. golang/go#62274 golang/go#31964 Signed-off-by: Enrique Llorente <[email protected]>
Latest go 1.21 installed at dev c9s image need a pair of go env to be set. This change configure them with default values. golang/go#62274 golang/go#31964 Signed-off-by: Enrique Llorente <[email protected]>
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
)?What did you do?
attempting to install a tool with
go install
when noGOPROXY
is set fails:Manually setting a proxy to something other than the empty string succeeds:
What did you expect to see?
This behavior differs drastically from previous versions of go and breaks all our CI and dev environments.
I didn't find any mentions of this new behavior in the release notes: https://tip.golang.org/doc/go1.21
What did you see instead?
error message:
GOPROXY list is not the empty string, but contains no entries
The text was updated successfully, but these errors were encountered: