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 init fails when checking sha256 for NDK (again) #15973

atavism opened this issue Jun 6, 2016 · 3 comments

x/mobile: gomobile init fails when checking sha256 for NDK (again) #15973

atavism opened this issue Jun 6, 2016 · 3 comments


Copy link

@atavism atavism commented Jun 6, 2016

  1. What version of Go are you using (go version)?

go version go1.6.2 darwin/amd64

  1. What operating system and processor architecture are you using (go env)?

GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/todd/Dev/go/src/" GORACE="" GOROOT="/usr/local/Cellar/go/1.6.2/libexec" GOTOOLDIR="/usr/local/Cellar/go/1.6.2/libexec/pkg/tool/darwin_amd64" GO15VENDOREXPERIMENT="1" CC="clang" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common" CXX="clang++" CGO_ENABLED="1"

  1. What did you do?
    If possible, provide a recipe for reproducing the error.
    A complete runnable program is good.
    A link on is best.

Completely removed gomobile and re-installed from scratch. Ran gomobile init

  1. What did you expect to see?

Successful gomobile init

  1. What did you see instead?

gomobile: sha256 for "gomobile-openal-soft-": 84c9361734902df622dd49a8c0cfb0090fd7743a2cbf927a9ae85c4826beb173, want ff7ff835355a1158001e6b6cc03d3a65abb508abc34a5f19ae9af0bdeadd978b

Copy link

@gopherbot gopherbot commented Jun 14, 2016

CL mentions this issue.

gopherbot pushed a commit to golang/mobile that referenced this issue Jun 14, 2016
The command deletes all files under $GOPATH/pkg/gomobile dir
that keeps downloaded files and precompiled objects during the
last gomobile init run.

'gomobile clean' will be suggested in case of gomobile init
failures due to downloaded file hash mismatch.

For golang/go#15973

Change-Id: Ie9d3cfa7aef9d68931fd68f7b58d1a18c9d4b3b8
Reviewed-by: David Crawshaw <>
@quentinmit quentinmit added this to the Unreleased milestone Jun 17, 2016
Copy link

@8tt 8tt commented Sep 9, 2016

This error is fixed by updating to latest version of go mobile. Still not a good idea to replace the file in place.

@gopherbot gopherbot added the mobile label Jul 20, 2017
Copy link

@eliasnaur eliasnaur commented Mar 16, 2018

Gomobile doesn't download the NDK anymore.

@eliasnaur eliasnaur closed this Mar 16, 2018
@golang golang locked and limited conversation to collaborators Mar 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.