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/cmd/gomobile: init fails #10760

Closed
rakyll opened this issue May 8, 2015 · 7 comments
Closed

x/mobile/cmd/gomobile: init fails #10760

rakyll opened this issue May 8, 2015 · 7 comments

Comments

@rakyll
Copy link
Contributor

rakyll commented May 8, 2015

go version
go version devel +3a3773c Fri May 8 17:01:24 2015 +0000 darwin/amd64

gomobile init -v
gomobile: cannot get cmd/dist version: exit status 2 ()
@rakyll
Copy link
Contributor Author

rakyll commented May 8, 2015

gomobile is built from golang/mobile@f3d33d5.

@hyangah
Copy link
Contributor

hyangah commented May 8, 2015

what does it say if run gomobile init -u?

2015-05-08 14:16 GMT-04:00 Burcu Dogan notifications@github.com:

gomobile is built from golang/mobile@f3d33d5
golang/mobile@f3d33d5
.


Reply to this email directly or view it on GitHub
#10760 (comment).

__

@crawshaw
Copy link
Member

crawshaw commented May 8, 2015

does make.bash fix this? what does env | grep GO and go env say?

@rakyll
Copy link
Contributor Author

rakyll commented May 8, 2015

gomobile init -u
gomobile: cannot get cmd/dist version: exit status 2 ()

does make.bash fix this?

No.

go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/jbd"
GORACE=""
GOROOT="/Users/jbd/go"
GOTOOLDIR="/Users/jbd/go/pkg/tool/darwin_amd64"
GOCHAR="6"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
CXX="clang++"
CGO_ENABLED="1"

env | grep GO
# ...
GOPATH=/Users/jbd

I can build dist and run dist version by myself if I set a GOROOT.

@crawshaw
Copy link
Member

crawshaw commented May 8, 2015

what was in the ... you elided?

@rakyll
Copy link
Contributor Author

rakyll commented May 8, 2015

Nothing Go related, filtered out due to privacy.

@gopherbot
Copy link

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

@golang golang locked and limited conversation to collaborators Jun 25, 2016
imWildCat pushed a commit to imWildCat/go-mobile that referenced this issue Apr 10, 2021
Fixes golang/go#10760 maybe, I have been unable to reproduce it.

Change-Id: Iaeec631f5a6be29b312969df12f6bd6b95bc2aa1
Reviewed-on: https://go-review.googlesource.com/9880
Reviewed-by: Burcu Dogan <jbd@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
imWildCat pushed a commit to imWildCat/go-mobile that referenced this issue Apr 11, 2021
Fixes golang/go#10760 maybe, I have been unable to reproduce it.

Change-Id: Iaeec631f5a6be29b312969df12f6bd6b95bc2aa1
Reviewed-on: https://go-review.googlesource.com/9880
Reviewed-by: Burcu Dogan <jbd@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants