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

x/mobile: gomobile version unknown: binary is out of date, re-install it #24389

Closed
udhos opened this issue Mar 14, 2018 · 6 comments

Comments

Projects
None yet
4 participants
@udhos
Copy link

commented Mar 14, 2018

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?

lab@ubu1:~$ go get golang.org/x/mobile/cmd/gomobile
lab@ubu1:~$ gomobile init
lab@ubu1:~$ gomobile version
gomobile version unknown: binary is out of date, re-install it
lab@ubu1:~$

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

@gopherbot

This comment has been minimized.

Copy link

commented Mar 27, 2018

Change https://golang.org/cl/102619 mentions this issue: cmd/go: with -x, don't report removing a non-existent objdir

@gopherbot gopherbot closed this in ad0ebc3 Mar 27, 2018

@gopherbot

This comment has been minimized.

Copy link

commented Mar 28, 2018

Change https://golang.org/cl/102794 mentions this issue: [release-branch.go1.10] cmd/go: with -x, don't report removing a non-existent objdir

@eliasnaur eliasnaur reopened this Mar 28, 2018

@eliasnaur

This comment has been minimized.

Copy link
Contributor

commented Mar 28, 2018

Reopened because CL 102794 didn't fix this issue as I expected. I'm sorry to have jumped the gun.

@r3mb00

This comment has been minimized.

Copy link

commented Apr 10, 2018

Hi.
Have same issue.
Will anybody fix that?

@eliasnaur

This comment has been minimized.

Copy link
Contributor

commented Apr 10, 2018

This issue is blocked on #24558. I don't know when a resolution to that issue will happen.

@gopherbot

This comment has been minimized.

Copy link

commented Apr 19, 2018

Change https://golang.org/cl/108055 mentions this issue: cmd/gomobile: use go list -f {{.Stale}} to determine staleness

@golang golang locked and limited conversation to collaborators Apr 25, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.