Skip to content

release: version "go1.4" does not match go tool version "go1.9beta1" #20674

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

Closed
broady opened this issue Jun 14, 2017 · 7 comments
Closed

release: version "go1.4" does not match go tool version "go1.9beta1" #20674

broady opened this issue Jun 14, 2017 · 7 comments
Milestone

Comments

@broady
Copy link
Contributor

broady commented Jun 14, 2017

##### Building packages and commands for linux/amd64.
runtime/internal/sys
# runtime/internal/sys
compile: version "go1.4" does not match go tool version "go1.9beta1"

/cc @bradfitz

@broady broady added this to the Go1.9 milestone Jun 14, 2017
@broady
Copy link
Contributor Author

broady commented Jun 14, 2017

Also for linux/ppc64le:

compile: version "devel +47c7451 Thu Apr 7 20:41:55 2016 +0000" does not match go tool version "go1.9beta1"

@bradfitz
Copy link
Contributor

I sent https://golang.org/cl/45778 before I noticed there was a bug number.

@gopherbot
Copy link
Contributor

CL https://golang.org/cl/45778 mentions this issue.

@GwynethLlewelyn
Copy link

Interestingly enough, I have gotten this very same problem when installing go1.9 from source (not beta) on a machine which previously had go1.8.3. Is there a fix?

@davecheney
Copy link
Contributor

@GwynethLlewelyn this issue was marked closed a few months ago. Please open a new issue following the template provided. Thank you.

@GwynethLlewelyn
Copy link

There is no need for opening a new issue — deleting all previous instances of Go and installing a fresh copy of 1.9 (and using the provided binaries) did the trick. The point of making a question four months after the issue was closed was simply because there are next to zero results on searching for this creepy error except for this thread on GitHub (the few other things found by Google do not apply); for future reference, it makes more sense to provide a solution/fix without needing to actually patch the Go lang code. There are other occasions when this issue appears: more specifically, when having multiple instances/installations of Go side-by-side, some libraries/packages might have been compiled with one version and not the other, and this error is common (even desirable!) in such occasions. There might be other, less intrusive ways of avoiding this error to appear besides deleting everything and starting from scratch, but at least, for future reference for poor Go developers in despair, there is at least one possibility they can explore without needing to wait for a future, patched release of Go to be launched...

@golang golang locked and limited conversation to collaborators Sep 11, 2017
@davecheney
Copy link
Contributor

We don't the issue tracker to ask questions. Please see https://golang.org/wiki/Questions for good places to ask. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants