-
Notifications
You must be signed in to change notification settings - Fork 1.6k
tests broken in go1.7 #356
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
Comments
I think your environment is screwed up. I get:
|
Ah, thanks. I missed out setting GOROOT. I thought I didn't have to do that anymore. |
You don't need to set GOROOT if the binaries you're running have the correct GOROOT baked in. I use GOROOT because my 'go' wrapper script (shown above) also uses it to find the real go binary. Others have different setups. I don't know your setup, but something's wrong. |
Chatted with @bradfitz, GOROOT is typically baked in as /usr/local/go if running go from /usr/local/go/bin. I have different installations at ~/goX.Y to allow for testing different versions hence I needed to explicitly set GOROOT whenever I switch to use those. I've now set up aliases instead for specific versions. Anyways, the issue still holds, but with different errors instead, refer to second post to see the actual errors. |
Fixed in 63bfc70 |
$ go version
go version go1.7.5 darwin/amd64
$ go test github.com/golang/protobuf/...
Same issue with go1.6. As discussed, we'd like to be able to support at least latest 1.6 for now.
The text was updated successfully, but these errors were encountered: