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

Closed
atavism opened this issue Jun 6, 2016 · 3 comments
Closed

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

atavism opened this issue Jun 6, 2016 · 3 comments
Labels
FrozenDueToAge mobile Android, iOS, and x/mobile NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@atavism
Copy link

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/github.com/getlantern/lantern" 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 play.golang.org 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-1.16.0.1.tar.gz": 84c9361734902df622dd49a8c0cfb0090fd7743a2cbf927a9ae85c4826beb173, want ff7ff835355a1158001e6b6cc03d3a65abb508abc34a5f19ae9af0bdeadd978b

@adg adg added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jun 6, 2016
@gopherbot
Copy link

CL https://golang.org/cl/24074 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-on: https://go-review.googlesource.com/24074
Reviewed-by: David Crawshaw <crawshaw@golang.org>
@quentinmit quentinmit added this to the Unreleased milestone Jun 17, 2016
@8tt
Copy link

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 Android, iOS, and x/mobile label Jul 20, 2017
@eliasnaur
Copy link
Contributor

Gomobile doesn't download the NDK anymore.

@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.
Labels
FrozenDueToAge mobile Android, iOS, and x/mobile NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

6 participants