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 with renaming error #10056

Closed
rakyll opened this issue Mar 2, 2015 · 0 comments
Closed

x/mobile: gomobile init fails with renaming error #10056

rakyll opened this issue Mar 2, 2015 · 0 comments

Comments

@rakyll
Copy link
Contributor

rakyll commented Mar 2, 2015

gomobile init is consistently failing on darwin_amd64 with the following renaming error.

$ gomobile init -x
NDKCCPATH=/Users/jbd/pkg/gomobile/android-ndk-r10d
WORK=/Users/jbd/pkg/gomobile/android-ndk-r10d/gomobile-init-156150741
mkdir -p $WORK/go/pkg
cp -a $GOROOT/lib $WORK/go/lib
cp -a $GOROOT/src $WORK/go/src
ln -s $GOROOT/.git $WORK/go/.git
PATH=$HOME/Downloads/visualvm_138/bin:$HOME/Downloads/go_appengine:/usr/local/git/current/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin/g4bin:/usr/local/go/bin:/usr/local/go/bin:$HOME/bin:$GOROOTogle-cloud-sdk/bin:$GOROOTogle-cloud-sdk/bin:$HOME/bin:$GOROOT/bin GOOS=android GOARCH=arm GOARM=7 CGO_ENABLED=1 CC_FOR_TARGET=$NDKCCPATH/arm/bin/arm-linux-androideabi-gcc CXX_FOR_TARGET=$NDKCCPATH/arm/bin/arm-linux-androideabi-g++ TMPDIR=$WORK HOME=$HOME $WORK/go/src/make.bash --no-clean
mv $WORK/go/pkg/tool/darwin_amd64/5a $NDKCCPATH/arm/bin/5a
rm -r -f "$WORK"
gomobile: rename /Users/jbd/pkg/gomobile/android-ndk-r10d/gomobile-init-156150741/go/pkg/tool/darwin_amd64/5a /Users/jbd/pkg/gomobile/android-ndk-r10d/arm/bin/5a: no such file or directory
@mikioh mikioh changed the title mobile: gomobile init fails with renaming error x/mobile: gomobile init fails with renaming error Aug 5, 2015
@golang golang locked and limited conversation to collaborators Aug 5, 2016
imWildCat pushed a commit to imWildCat/go-mobile that referenced this issue Apr 10, 2021
See https://go-review.googlesource.com/6366

fixes golang/go#10056

Change-Id: If518d69398df0393feadf6b5d8c56da89a201090
Reviewed-on: https://go-review.googlesource.com/6482
Reviewed-by: David Crawshaw <crawshaw@golang.org>
imWildCat pushed a commit to imWildCat/go-mobile that referenced this issue Apr 11, 2021
See https://go-review.googlesource.com/6366

fixes golang/go#10056

Change-Id: If518d69398df0393feadf6b5d8c56da89a201090
Reviewed-on: https://go-review.googlesource.com/6482
Reviewed-by: David Crawshaw <crawshaw@golang.org>
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

2 participants