mobile icon indicating copy to clipboard operation
mobile copied to clipboard

cmd/gomobile: fix ndkRoot for updated NDK location

Open federicobond opened this issue 4 years ago • 37 comments

ANDROID_HOME and ANDROID_NDK_HOME are deprecated (see https://developer.android.com/studio/command-line/variables). Replace them with ANDROID_SDK_ROOT and ANDROID_NDK_ROOT.

Fixes #39945

federicobond avatar Jul 21 '20 20:07 federicobond

This PR (HEAD: fe79ae40d4d80cbf07e97becd475b0cbf1259dfc) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/mobile/+/244057 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off) See the Wiki page for more info

gopherbot avatar Jul 21 '20 20:07 gopherbot

Message from Hyang-Ah Hana Kim:

Patch Set 1: Run-TryBot+1

(2 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Jul 21 '20 21:07 gopherbot

Message from Gobot Gobot:

Patch Set 1:

TryBots beginning. Status page: https://farmer.golang.org/try?commit=61fc10f2


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Jul 21 '20 21:07 gopherbot

Message from Gobot Gobot:

Patch Set 1:

Build is still in progress... This change failed on linux-amd64-androidemu: See https://storage.googleapis.com/go-build-log/11f92e9d/linux-amd64-androidemu_d0145856.log

Other builds still in progress; subsequent failure notices suppressed until final report. Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed.


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Jul 21 '20 21:07 gopherbot

Message from Gobot Gobot:

Patch Set 1: TryBot-Result-1

1 of 2 TryBots failed: Failed on linux-amd64-androidemu: https://storage.googleapis.com/go-build-log/11f92e9d/linux-amd64-androidemu_d0145856.log

Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed.


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Jul 21 '20 21:07 gopherbot

This PR (HEAD: 6d01e7159f2d3f1fb7504ab182056f5b5d7b50f1) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/mobile/+/244057 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off) See the Wiki page for more info

gopherbot avatar Jul 22 '20 02:07 gopherbot

This PR (HEAD: 6c1d94535ab3ab48ee323f23f45d5fbd01d3ff49) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/mobile/+/244057 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off) See the Wiki page for more info

gopherbot avatar Jul 22 '20 02:07 gopherbot

Message from Federico Bond:

Patch Set 3:

(3 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Jul 22 '20 02:07 gopherbot

Message from Hajime Hoshi:

Patch Set 3:

(4 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Jul 22 '20 03:07 gopherbot

This PR (HEAD: f387a03c36b0ac772a0d2e03cfb9cdcef49b6995) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/mobile/+/244057 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off) See the Wiki page for more info

gopherbot avatar Jul 22 '20 03:07 gopherbot

Message from Federico Bond:

Patch Set 4:

(3 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Jul 22 '20 04:07 gopherbot

Message from Hajime Hoshi:

Patch Set 4: Run-TryBot+1

(3 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Jul 22 '20 04:07 gopherbot

Message from Gobot Gobot:

Patch Set 4:

TryBots beginning. Status page: https://farmer.golang.org/try?commit=847475df


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Jul 22 '20 04:07 gopherbot

Message from Gobot Gobot:

Patch Set 4: TryBot-Result-1

1 of 2 TryBots failed: Failed on linux-amd64-androidemu: https://storage.googleapis.com/go-build-log/11f92e9d/linux-amd64-androidemu_5f3ae9c2.log

Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed.


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Jul 22 '20 04:07 gopherbot

Message from Hajime Hoshi:

Patch Set 4:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Jul 22 '20 16:07 gopherbot

Message from Federico Bond:

Patch Set 4:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Jul 24 '20 19:07 gopherbot

Message from Hajime Hoshi:

Patch Set 5:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Jul 24 '20 19:07 gopherbot

maybe go mobile cannot support cgo robustly, I am compile some filecoin code to aar, and there are some problem:

gomobile: go build -buildmode=c-shared -o=/tmp/gomobile-work-475423979/android/src/main/jniLibs/armeabi-v7a/libgojni.so ./gobind failed: exit status 2
go: downloading golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028
go: found github.com/qiluge/filecoin-golang-sdk/sdk in github.com/qiluge/filecoin-golang-sdk v0.0.0-00010101000000-000000000000
go: downloading github.com/ipfs/go-datastore v0.4.4
go: downloading github.com/ipfs/go-log v1.0.4
go: downloading github.com/filecoin-project/sector-storage v0.0.0-20200727112136-9377cb376d25
go: downloading github.com/filecoin-project/go-crypto v0.0.0-20191218222705-effae4ea9f03
go: downloading github.com/ipfs/go-ds-leveldb v0.4.2
go: downloading github.com/multiformats/go-base32 v0.0.3
go: downloading github.com/BurntSushi/toml v0.3.1
go: downloading github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1
go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
go: downloading go.opencensus.io v0.22.3
go: downloading github.com/syndtr/goleveldb v1.0.0
go: downloading github.com/filecoin-project/specs-actors v0.8.1-0.20200728182452-1476088f645b
go: downloading github.com/ipfs/go-log/v2 v2.1.2-0.20200626104915-0016c0b4b3e4
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/ipfs/go-ds-badger2 v0.1.1-0.20200708190120-187fc06f714e
go: downloading github.com/filecoin-project/go-fil-commcid v0.0.0-20200716160307-8f644712406f
go: downloading github.com/ipfs/go-ds-measure v0.1.0
go: downloading go.uber.org/multierr v1.5.0
go: downloading github.com/filecoin-project/go-address v0.0.2-0.20200504173055-8b6f2fb2b3ef
go: downloading github.com/gorilla/mux v1.7.4
go: downloading github.com/google/uuid v1.1.1
go: downloading github.com/kelseyhightower/envconfig v1.4.0
go: downloading github.com/multiformats/go-multiaddr v0.2.2
go: downloading github.com/dgraph-io/badger v1.6.1
go: downloading github.com/multiformats/go-multihash v0.0.14
go: downloading github.com/jbenet/goprocess v0.1.4
go: downloading github.com/golang/snappy v0.0.1
go: downloading github.com/hashicorp/go-multierror v1.1.0
go: downloading github.com/ipsn/go-secp256k1 v0.0.0-20180726113642-9d62b9f0bc52
go: downloading github.com/ipfs/go-ipld-cbor v0.0.5-0.20200428170625-a0bd04d3cbdf
go: downloading github.com/filecoin-project/go-bitfield v0.1.1
go: downloading github.com/GeertJohan/go.rice v1.0.0
go: downloading github.com/detailyang/go-fallocate v0.0.0-20180908115635-432fa640bd2e
go: downloading github.com/whyrusleeping/cbor-gen v0.0.0-20200723182808-cb5de1c427f5
go: downloading github.com/filecoin-project/specs-storage v0.1.1-0.20200622113353-88a9704877ea
go: downloading github.com/dgraph-io/badger/v2 v2.0.3
go: downloading golang.org/x/crypto v0.0.0-20200604202706-70a84ac30bf9
go: downloading github.com/ipfs/go-ipfs-files v0.0.8
go: downloading go.uber.org/zap v1.15.0
go: downloading github.com/minio/sha256-simd v0.1.1
go: downloading github.com/polydawn/refmt v0.0.0-20190809202753-05966cbd336a
go: downloading github.com/ipfs/go-block-format v0.0.2
go: downloading github.com/ipfs/go-fs-lock v0.0.1
go: downloading github.com/libp2p/go-libp2p-core v0.6.0
go: downloading github.com/ipfs/go-ipfs-util v0.0.2
go: downloading github.com/ipfs/go-cid v0.0.7
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading github.com/spaolacci/murmur3 v1.1.0
go: downloading github.com/ipfs/go-ipld-format v0.2.0
go: downloading github.com/multiformats/go-varint v0.0.5
go: downloading github.com/crackcomm/go-gitignore v0.0.0-20170627025303-887ab5e44cc3
go: downloading go4.org v0.0.0-20190313082347-94abd6928b1d
go: downloading github.com/daaku/go.zipexe v1.0.0
go: downloading github.com/ipfs/go-ipfs-exchange-interface v0.0.1
go: downloading github.com/ipfs/go-graphsync v0.0.6-0.20200721211002-c376cbe14c0a
go: downloading github.com/libp2p/go-buffer-pool v0.0.2
go: downloading github.com/filecoin-project/go-multistore v0.0.2
go: downloading github.com/mr-tron/base58 v1.1.3
go: downloading github.com/gbrlsnchs/jwt/v3 v3.0.0-beta.1
go: downloading github.com/raulk/clock v1.1.0
go: downloading github.com/elastic/go-sysinfo v1.3.0
go: downloading github.com/multiformats/go-multiaddr-dns v0.2.0
go: downloading github.com/hashicorp/errwrap v1.0.0
go: downloading github.com/btcsuite/btcd v0.20.1-beta
go: downloading github.com/filecoin-project/go-data-transfer v0.5.1
go: downloading github.com/filecoin-project/go-fil-markets v0.5.2
go: downloading github.com/ipfs/go-ipfs-exchange-offline v0.0.1
go: downloading github.com/ipld/go-ipld-prime v0.0.2-0.20200428162820-8b59dc292b8e
go: downloading github.com/ipfs/go-blockservice v0.1.4-0.20200624145336-a978cec6e834
go: downloading github.com/ipfs/go-filestore v1.0.0
go: downloading github.com/ipfs/go-metrics-interface v0.0.1
go: downloading github.com/multiformats/go-multibase v0.0.3
go: downloading github.com/ipfs/go-hamt-ipld v0.1.1
go: downloading github.com/opentracing/opentracing-go v1.1.0
go: downloading github.com/gogo/protobuf v1.3.1
go: downloading github.com/filecoin-project/go-statestore v0.1.0
go: downloading github.com/ipfs/go-ipfs-blockstore v1.0.0
go: downloading github.com/ipfs/go-ipfs-posinfo v0.0.1
go: downloading github.com/joeshaw/multierror v0.0.0-20140124173710-69b34d4ec901
go: downloading github.com/ipfs/go-verifcid v0.0.1
go: downloading github.com/golang/protobuf v1.4.2
go: downloading github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2
go: downloading github.com/dgraph-io/ristretto v0.0.2
go: downloading github.com/ipfs/go-ipfs-ds-help v1.0.0
go: downloading github.com/multiformats/go-base36 v0.1.0
go: downloading google.golang.org/protobuf v1.24.0
go: downloading github.com/prometheus/procfs v0.1.0
go: downloading github.com/ipfs/go-merkledag v0.3.1
go: downloading golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980
go: downloading github.com/hashicorp/golang-lru v0.5.4
go: downloading github.com/dustin/go-humanize v1.0.0
go: downloading github.com/cespare/xxhash v1.1.0
go: downloading golang.org/x/net v0.0.0-20200602114024-627f9648deb9
go: downloading github.com/DataDog/zstd v1.4.1
go: downloading howett.net/plist v0.0.0-20181124034731-591f970eefbb
go: downloading github.com/filecoin-project/go-cbor-util v0.0.0-20191219014500-08c40a1e63a2
go: downloading github.com/filecoin-project/go-amt-ipld/v2 v2.1.0
go: downloading github.com/ipfs/bbloom v0.0.4
go: downloading go.uber.org/atomic v1.6.0
# github.com/filecoin-project/filecoin-ffi/generated
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lOpenCL
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lutil
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lutil
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lrt
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpthread
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lgcc_s
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lrt
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpthread
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lutil
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lfilcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lfilcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lfilcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lfilcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: warning: skipping incompatible /data/code/src/github.com/filecoin-project/lotus/extern/filecoin-ffi/generated/../libfilcrypto.a while searching for filcrypto
/data/android/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lfilcrypto
cgo-gcc-prolog:53: error: undefined reference to 'fil_aggregate'
cgo-gcc-prolog:72: error: undefined reference to 'fil_clear_cache'
cgo-gcc-prolog:87: error: undefined reference to 'fil_destroy_aggregate_response'
cgo-gcc-prolog:99: error: undefined reference to 'fil_destroy_clear_cache_response'
cgo-gcc-prolog:111: error: undefined reference to 'fil_destroy_fauxrep_response'
cgo-gcc-prolog:123: error: undefined reference to 'fil_destroy_finalize_ticket_response'
cgo-gcc-prolog:135: error: undefined reference to 'fil_destroy_generate_data_commitment_response'
cgo-gcc-prolog:147: error: undefined reference to 'fil_destroy_generate_piece_commitment_response'
cgo-gcc-prolog:159: error: undefined reference to 'fil_destroy_generate_window_post_response'
cgo-gcc-prolog:171: error: undefined reference to 'fil_destroy_generate_winning_post_response'
cgo-gcc-prolog:183: error: undefined reference to 'fil_destroy_generate_winning_post_sector_challenge'
cgo-gcc-prolog:195: error: undefined reference to 'fil_destroy_gpu_device_response'
cgo-gcc-prolog:207: error: undefined reference to 'fil_destroy_hash_response'
cgo-gcc-prolog:219: error: undefined reference to 'fil_destroy_init_log_fd_response'
cgo-gcc-prolog:231: error: undefined reference to 'fil_destroy_private_key_generate_response'
cgo-gcc-prolog:243: error: undefined reference to 'fil_destroy_private_key_public_key_response'
cgo-gcc-prolog:255: error: undefined reference to 'fil_destroy_private_key_sign_response'
cgo-gcc-prolog:267: error: undefined reference to 'fil_destroy_seal_commit_phase1_response'
cgo-gcc-prolog:279: error: undefined reference to 'fil_destroy_seal_commit_phase2_response'
cgo-gcc-prolog:291: error: undefined reference to 'fil_destroy_seal_pre_commit_phase1_response'
cgo-gcc-prolog:303: error: undefined reference to 'fil_destroy_seal_pre_commit_phase2_response'
cgo-gcc-prolog:315: error: undefined reference to 'fil_destroy_string_response'
cgo-gcc-prolog:327: error: undefined reference to 'fil_destroy_unseal_range_response'
cgo-gcc-prolog:339: error: undefined reference to 'fil_destroy_verify_seal_response'
cgo-gcc-prolog:351: error: undefined reference to 'fil_destroy_verify_window_post_response'
cgo-gcc-prolog:363: error: undefined reference to 'fil_destroy_verify_winning_post_response'
cgo-gcc-prolog:375: error: undefined reference to 'fil_destroy_write_with_alignment_response'
cgo-gcc-prolog:387: error: undefined reference to 'fil_destroy_write_without_alignment_response'
cgo-gcc-prolog:404: error: undefined reference to 'fil_fauxrep'
cgo-gcc-prolog:424: error: undefined reference to 'fil_generate_data_commitment'
cgo-gcc-prolog:444: error: undefined reference to 'fil_generate_piece_commitment'
cgo-gcc-prolog:465: error: undefined reference to 'fil_generate_window_post'
cgo-gcc-prolog:486: error: undefined reference to 'fil_generate_winning_post'
cgo-gcc-prolog:507: error: undefined reference to 'fil_generate_winning_post_sector_challenge'
cgo-gcc-prolog:524: error: undefined reference to 'fil_get_gpu_devices'
cgo-gcc-prolog:542: error: undefined reference to 'fil_get_max_user_bytes_per_staged_sector'
cgo-gcc-prolog:560: error: undefined reference to 'fil_get_post_circuit_identifier'
cgo-gcc-prolog:578: error: undefined reference to 'fil_get_post_params_cid'
cgo-gcc-prolog:596: error: undefined reference to 'fil_get_post_params_path'
cgo-gcc-prolog:614: error: undefined reference to 'fil_get_post_verifying_key_cid'
cgo-gcc-prolog:632: error: undefined reference to 'fil_get_post_verifying_key_path'
cgo-gcc-prolog:650: error: undefined reference to 'fil_get_post_version'
cgo-gcc-prolog:668: error: undefined reference to 'fil_get_seal_circuit_identifier'
cgo-gcc-prolog:686: error: undefined reference to 'fil_get_seal_params_cid'
cgo-gcc-prolog:704: error: undefined reference to 'fil_get_seal_params_path'
cgo-gcc-prolog:722: error: undefined reference to 'fil_get_seal_verifying_key_cid'
cgo-gcc-prolog:740: error: undefined reference to 'fil_get_seal_verifying_key_path'
cgo-gcc-prolog:758: error: undefined reference to 'fil_get_seal_version'
cgo-gcc-prolog:777: error: undefined reference to 'fil_hash'
cgo-gcc-prolog:801: error: undefined reference to 'fil_hash_verify'
cgo-gcc-prolog:819: error: undefined reference to 'fil_init_log_fd'
cgo-gcc-prolog:836: error: undefined reference to 'fil_private_key_generate'
cgo-gcc-prolog:854: error: undefined reference to 'fil_private_key_generate_with_seed'
cgo-gcc-prolog:872: error: undefined reference to 'fil_private_key_public_key'
cgo-gcc-prolog:892: error: undefined reference to 'fil_private_key_sign'
cgo-gcc-prolog:920: error: undefined reference to 'fil_seal_commit_phase1'
cgo-gcc-prolog:941: error: undefined reference to 'fil_seal_commit_phase2'
cgo-gcc-prolog:967: error: undefined reference to 'fil_seal_pre_commit_phase1'
cgo-gcc-prolog:988: error: undefined reference to 'fil_seal_pre_commit_phase2'
cgo-gcc-prolog:1015: error: undefined reference to 'fil_unseal_range'
cgo-gcc-prolog:1037: error: undefined reference to 'fil_verify'
cgo-gcc-prolog:1063: error: undefined reference to 'fil_verify_seal'
cgo-gcc-prolog:1086: error: undefined reference to 'fil_verify_window_post'
cgo-gcc-prolog:1109: error: undefined reference to 'fil_verify_winning_post'
cgo-gcc-prolog:1132: error: undefined reference to 'fil_write_with_alignment'
cgo-gcc-prolog:1153: error: undefined reference to 'fil_write_without_alignment'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

my repo locate at: https://github.com/qiluge/filecoin-golang-sdk, use build.sh may compile project.

qiluge avatar Jul 30 '20 11:07 qiluge

Message from Hajime Hoshi:

Patch Set 5:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Aug 01 '20 11:08 gopherbot

Message from Hyang-Ah Hana Kim:

Patch Set 5:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Aug 07 '20 12:08 gopherbot

Message from Hajime Hoshi:

Patch Set 5: Run-TryBot+1


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Aug 17 '20 04:08 gopherbot

Message from Gobot Gobot:

Patch Set 5:

TryBots beginning. Status page: https://farmer.golang.org/try?commit=b6291e34


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Aug 17 '20 04:08 gopherbot

Message from Gobot Gobot:

Patch Set 5: TryBot-Result-1

1 of 2 TryBots failed: Failed on linux-amd64-androidemu: https://storage.googleapis.com/go-build-log/51ac0f0f/linux-amd64-androidemu_fe1f71a3.log

Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed.


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Aug 17 '20 04:08 gopherbot

Message from Hajime Hoshi:

Patch Set 5:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Aug 17 '20 08:08 gopherbot

Message from Federico Bond:

Patch Set 5:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Aug 17 '20 15:08 gopherbot

Message from Dmitri Shuralyov:

Patch Set 5:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Aug 17 '20 15:08 gopherbot

Message from Dmitri Shuralyov:

Patch Set 5:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Sep 23 '20 15:09 gopherbot

Message from Go Bot:

Patch Set 1:

TryBots beginning. Status page: https://farmer.golang.org/try?commit=61fc10f2


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Oct 15 '20 03:10 gopherbot

Message from Go Bot:

Patch Set 1:

Build is still in progress... This change failed on linux-amd64-androidemu: See https://storage.googleapis.com/go-build-log/11f92e9d/linux-amd64-androidemu_d0145856.log

Other builds still in progress; subsequent failure notices suppressed until final report. Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed.


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Oct 15 '20 03:10 gopherbot

Message from Go Bot:

Patch Set 1: TryBot-Result-1

1 of 2 TryBots failed: Failed on linux-amd64-androidemu: https://storage.googleapis.com/go-build-log/11f92e9d/linux-amd64-androidemu_d0145856.log

Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed.


Please don’t reply on this GitHub thread. Visit golang.org/cl/244057. After addressing review feedback, remember to publish your drafts!

gopherbot avatar Oct 15 '20 03:10 gopherbot