-
Notifications
You must be signed in to change notification settings - Fork 18k
x/mobile: gomobile version unknown: binary is out of date, re-install it #24389
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
Change https://golang.org/cl/102619 mentions this issue: |
Change https://golang.org/cl/102794 mentions this issue: |
Reopened because CL 102794 didn't fix this issue as I expected. I'm sorry to have jumped the gun. |
Hi. |
This issue is blocked on #24558. I don't know when a resolution to that issue will happen. |
Change https://golang.org/cl/108055 mentions this issue: |
With CL 107957, the appropriate way to check that the gomobile binary is up to date is by using go list -f {{.Stale}}. Use that instead of go install -x -n. Fixes golang/go#24389 Change-Id: I93a4428b048f0be9463c61928673886445dce3ed Reviewed-on: https://go-review.googlesource.com/108055 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Sun Shine <mizommz89@gmail.com>
With CL 107957, the appropriate way to check that the gomobile binary is up to date is by using go list -f {{.Stale}}. Use that instead of go install -x -n. Fixes golang/go#24389 Change-Id: I93a4428b048f0be9463c61928673886445dce3ed Reviewed-on: https://go-review.googlesource.com/108055 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Sun Shine <mizommz89@gmail.com>
What version of Go are you using (
go version
)?go version go1.10 linux/amd64
Does this issue reproduce with the latest release?
YES
What operating system and processor architecture are you using (
go env
)?lab@ubu1:~$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/lab/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/lab/go"
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
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 -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build147874781=/tmp/go-build -gno-record-gcc-switches"
What did you do?
What did you expect to see?
gomobile version should report its version.
What did you see instead?
gomobile version unknown: binary is out of date, re-install it
The text was updated successfully, but these errors were encountered: