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

Comments

Projects
None yet
2 participants
@rakyll
Copy link
Member

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

@rakyll rakyll added the repo-mobile label Mar 2, 2015

@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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.