-
Notifications
You must be signed in to change notification settings - Fork 18k
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
cmd/go: go 1.11 beta2 linux unable to go get #26525
Comments
Seems to be related to being in a directory with a go.mod
|
Hmm. My uneducated guess is the module behaviour is stuck on. Do you have GO111MODULE set in your environment?
… On 22 Jul 2018, at 12:05, Stephen Solka ***@***.***> wrote:
Seems to be related to being in a directory with a go.mod
I can cd out of that directory and go get stuff. but if I am in it, nothing installs.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Not that I can see. The project was a module project. So it makes sense to try and use modules. Root issue seems to be |
Cool. Thanks for checking.
… On 22 Jul 2018, at 12:19, Stephen Solka ***@***.***> wrote:
Not that I can see. The project was a module project. So it makes sense to try and use modules. Root issue seems to be cannot find module providing package when doing installs with module behavior turned on. Latest vgo seems to have the same problem. I switched the repo back to gopath/dep for now to keep moving.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Do you have an old git < 2.10? If so see #26501 |
@henryykt looks like thats its. 2.7.2. closing as dupe. |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.11beta2 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN=""
GOCACHE="/home/stephen/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/stephen/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="/home/stephen/dev/wall/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 -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build886551842=/tmp/go-build -gno-record-gcc-switches"
What did you do?
downloaded beta2 on my linux box went to go get something. I cant seem to get any package.
What did you expect to see?
I expected go get vgo.
What did you see instead?
The text was updated successfully, but these errors were encountered: