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

x/vgo: package download process is stuck in an infinite loop when trying to go-get an appengine url #23967

Closed
jaloren opened this issue Feb 20, 2018 · 2 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@jaloren
Copy link

jaloren commented Feb 20, 2018

Please answer these questions before submitting your issue. Thanks!

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

go version go1.10 darwin/amd64

Does this issue reproduce with the latest release?

yes

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

GOARCH="amd64"
GOBIN="/Volumes/Repositories/go/bin"
GOCACHE="/Users/jlorenzini/Library/Caches/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/jlorenzini/go"
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
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=/var/folders/8w/7ndx_j6s36x9hm9dns67j21s3hynqn/T/go-build282875283=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

  1. created an empty go.mod file.
  2. ran vgo build.

What did you expect to see?

vgo download all the package dependencies and then compile the binary.

What did you see instead?

vgo build command never completes. It seems effectively stuck in an infinite loop. It looks like tries to import all the packages required by my module, then it prints this.

FindRepo: Get https://appengine?go-get=1: dial tcp: lookup appengine: no such host
FindRepo: Get https://appengine/cloudsql?go-get=1: dial tcp: lookup appengine: no such host
FindRepo: Get https://appengine_internal?go-get=1: dial tcp: lookup appengine_internal: no such host
FindRepo: Get https://appengine_internal/base?go-get=1: dial tcp: lookup appengine_internal: no such host

And then starts the importing process all over again.

@gopherbot gopherbot added this to the Unreleased milestone Feb 20, 2018
@jaloren jaloren changed the title x/vgo: package download process is stuck an infinite loop when trying to go-get an appengine url x/vgo: package download process is stuck in an infinite loop when trying to go-get an appengine url Feb 20, 2018
@bradfitz bradfitz modified the milestones: Unreleased, vgo Feb 21, 2018
@rsc rsc added the NeedsFix The path to resolution is known, but the work has not been done. label Apr 2, 2018
@rsc
Copy link
Contributor

rsc commented Apr 2, 2018

Certainly the loop should be stopped.

@gopherbot
Copy link

Change https://golang.org/cl/117259 mentions this issue: cmd/go/internal/modfetch: avoid http lookup for non-domain paths

@golang golang locked and limited conversation to collaborators Jun 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

4 participants