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/tools/go/types: go get github.com/golang/mobile/cmd/gomobile fails #11867

Closed
zgiber opened this issue Jul 25, 2015 · 2 comments
Closed

x/tools/go/types: go get github.com/golang/mobile/cmd/gomobile fails #11867

zgiber opened this issue Jul 25, 2015 · 2 comments

Comments

@zgiber
Copy link

zgiber commented Jul 25, 2015

OS X - Go 1.5beta2, darwin, amd64

I'm getting this error instead of the usual (nothing):

go get golang.org/x/mobile/cmd/gomobile

golang.org/x/mobile/bind

./gengo.go:376: undefined: types.RelativeTo
./gengo.go:376: cannot use typ (type types.Type) as type *types.Package in argument to types.TypeString
./gengo.go:384: undefined: types.RelativeTo
./gengo.go:384: cannot use typ (type types.Type) as type *types.Package in argument to types.TypeString
./gengo.go:396: undefined: types.RelativeTo
./gengo.go:396: cannot use typ (type types.Type) as type *types.Package in argument to types.TypeString

Thank you.

@crawshaw
Copy link
Member

I believe your x/tools repository is out of date. Sync that repository, possibly with go get -u, and try the build again.

@zgiber
Copy link
Author

zgiber commented Jul 25, 2015

Indeed. Thanks!

@zgiber zgiber closed this as completed Jul 25, 2015
@mikioh mikioh changed the title go get github.com/golang/mobile/cmd/gomobile fails x/tools/go/types: go get github.com/golang/mobile/cmd/gomobile fails Jul 26, 2015
@golang golang locked and limited conversation to collaborators Aug 5, 2016
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

3 participants