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

go clean -i -r breaks go vet vet: import failed: can't find import: fmt #19129

Closed
mmatczuk opened this issue Feb 16, 2017 · 1 comment
Closed

Comments

@mmatczuk
Copy link

After running go clean -i -r ./... go vet breaks, please find the steps to reproduce below

mmatczuk:gotest$ tar xzf ~/downloads/go1.7.5.linux-amd64.tar.gz 
mmatczuk:gotest$ mkdir gopath
mmatczuk:gotest$ export GOROOT=$PWD/go
mmatczuk:gotest$ export GOPATH=$PWD/gopath
mmatczuk:gotest$ export PATH=$GOROOT/bin:$PATH
mmatczuk:gotest$ go version
go version go1.7.5 linux/amd64
mmatczuk:gotest$ go get github.com/mmatczuk/go-http-tunnel/...
mmatczuk:gotest$ cd gopath/src/github.com/mmatczuk/go-http-tunnel/
mmatczuk:go-http-tunnel$ go vet ./...
mmatczuk:go-http-tunnel$ go clean -i -r ./...
mmatczuk:go-http-tunnel$ go vet ./...
vet: import failed: can't find import: fmt
vet: import failed: can't find import: fmt
exit status 1
vet: import failed: can't find import: fmt
vet: import failed: can't find import: fmt
exit status 1
vet: import failed: can't find import: fmt
vet: import failed: can't find import: fmt
exit status 1
vet: import failed: can't find import: fmt
vet: import failed: can't find import: fmt
exit status 1
vet: import failed: can't find import: fmt
vet: import failed: can't find import: fmt
exit status 1
vet: import failed: can't find import: fmt
vet: import failed: can't find import: fmt
exit status 1
vet: import failed: can't find import: fmt
vet: import failed: can't find import: fmt
exit status 1
vet: import failed: can't find import: fmt
vet: import failed: can't find import: fmt
exit status 1
vet: import failed: can't find import: fmt
vet: import failed: can't find import: fmt
exit status 1
mmatczuk:go-http-tunnel$ go install ./...
mmatczuk:go-http-tunnel$ 

cc: @griesemer

@griesemer
Copy link
Contributor

Duplicate of #11415.

@golang golang locked and limited conversation to collaborators Feb 16, 2018
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