Skip to content
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

proxy.golang.org: builds failing when proxy enabled #32551

Closed
icco opened this issue Jun 11, 2019 · 2 comments
Closed

proxy.golang.org: builds failing when proxy enabled #32551

icco opened this issue Jun 11, 2019 · 2 comments

Comments

@icco
Copy link

icco commented Jun 11, 2019

What version of Go are you using (go version)?

$ docker run ecf9003fbc98 go version
go version go1.12.4 linux/amd64

Does this issue reproduce with the latest release?

Yes, although should be unrelated.

What operating system and processor architecture are you using (go env)?

go env Output
$ docker run ecf9003fbc98 go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/go/src/github.com/icco/cron/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build036977131=/tmp/go-build -gno-record-gcc-switches"

What did you do?

Attached are two build logs from Google Cloud Build when building the project github.com/icco/cron

When GOPROXY="https://proxy.golang.org", the following line appears, causing the build to fail:

go: dmitri.shuralyov.com/service/change@v0.0.0-20181023043359-a85b471d5412: unexpected status (https://proxy.golang.org/dmitri.shuralyov.com/service/change/@v/v0.0.0-20181023043359-a85b471d5412.info): 410 Gone

When not, the build completes fine.

@icco icco changed the title proxy.golang.org: builds failing when proxy.golang.org: builds failing when proxy enabled Jun 11, 2019
@dmitshur
Copy link
Contributor

Hi @icco, thanks for the report. I suspect this issue is the same as #32542 (comment). /cc @heschik

@icco
Copy link
Author

icco commented Jun 11, 2019

Thanks! Looks the same, I'll close and follow.

@icco icco closed this as completed Jun 11, 2019
@golang golang locked and limited conversation to collaborators Jun 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants