Electric-Coin-Company / zcash-android-wallet-sdk

Native Android SDK for Zcash
MIT License
5 stars 11 forks source link

Linking failed: exit status: 127 #1494

Closed HonzaR closed 6 months ago

HonzaR commented 6 months ago

Describe the issue

There is a Rust linking issue when building the project from source code for the first time.

error: linking with `/zcash-android-wallet-sdk/build/linker-wrapper/linker-wrapper.sh` failed: exit status: 127

Actual behavior + errors

Following setup instructions leads to this issue.

Any extra information that might be useful in the debugging process.

Full stack trace:

   Compiling zcash-android-wallet-sdk v0.0.4 (/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib)
   Compiling dlopen2 v0.6.1
   Compiling log-panics v2.1.0
   Compiling zcash_keys v0.2.0
   Compiling zcash_proofs v0.15.0
   Compiling jni v0.21.1
   Compiling rusqlite v0.29.0
   Compiling schemer-rusqlite v0.2.2
   Compiling zcash_client_sqlite v0.10.3
error: linking with `/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/build/linker-wrapper/linker-wrapper.sh` failed: exit status: 127
  |
  = note: LC_ALL="C" PATH="/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/bin:/Users/honza/Development/google/google-cloud-sdk/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Library/TeX/texbin:/usr/local/sbin:/Users/honza/.cargo/bin" VSLANG="1033" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/build/linker-wrapper/linker-wrapper.sh" "-Wl,--version-script=/var/folders/c0/4ztzwpwn16l5c19ycgv03d1h0000gn/T/rustcvFbegn/list" "-Wl,--no-undefined-version" "/var/folders/c0/4ztzwpwn16l5c19ycgv03d1h0000gn/T/rustcvFbegn/symbols.o" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/zcashwalletsdk.zcashwalletsdk.684820c9b6a21376-cgu.00.rcgu.o" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/zcashwalletsdk.zcashwalletsdk.684820c9b6a21376-cgu.01.rcgu.o" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/zcashwalletsdk.zcashwalletsdk.684820c9b6a21376-cgu.02.rcgu.o" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/zcashwalletsdk.zcashwalletsdk.684820c9b6a21376-cgu.03.rcgu.o" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/zcashwalletsdk.zcashwalletsdk.684820c9b6a21376-cgu.04.rcgu.o" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/zcashwalletsdk.zcashwalletsdk.684820c9b6a21376-cgu.05.rcgu.o" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/zcashwalletsdk.zcashwalletsdk.684820c9b6a21376-cgu.06.rcgu.o" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/zcashwalletsdk.zcashwalletsdk.684820c9b6a21376-cgu.07.rcgu.o" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/zcashwalletsdk.zcashwalletsdk.684820c9b6a21376-cgu.08.rcgu.o" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/zcashwalletsdk.zcashwalletsdk.684820c9b6a21376-cgu.09.rcgu.o" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/zcashwalletsdk.zcashwalletsdk.684820c9b6a21376-cgu.10.rcgu.o" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/zcashwalletsdk.zcashwalletsdk.684820c9b6a21376-cgu.11.rcgu.o" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/zcashwalletsdk.zcashwalletsdk.684820c9b6a21376-cgu.12.rcgu.o" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/zcashwalletsdk.zcashwalletsdk.684820c9b6a21376-cgu.13.rcgu.o" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/zcashwalletsdk.zcashwalletsdk.684820c9b6a21376-cgu.14.rcgu.o" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/zcashwalletsdk.zcashwalletsdk.684820c9b6a21376-cgu.15.rcgu.o" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/zcashwalletsdk.14puioenec7o8ejj.rcgu.o" "-Wl,--as-needed" "-L" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps" "-L" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/release/deps" "-L" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/build/ring-4eb27da3077e84b8/out" "-L" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/build/secp256k1-sys-eac66cf0fc2baf43/out" "-L" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/build/libsqlite3-sys-daa819ad0f321821/out" "-L" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib" "-Wl,-Bstatic" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/liblog_panics-cd01038cd45ef44e.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libparanoid_android-d209563f95ab78f5.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libndk_sys-8aba9b712f8782fd.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libdlopen2-14c599142d9ad751.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libzcash_proofs-337ddab8c9b3b1d7.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libhome-f1629013d9b4f533.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libzcash_client_sqlite-f55e07bb700362bc.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libschemer_rusqlite-18ff9e526022805c.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libschemer-7e844f5fba70def3.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libuuid-0eb6a637615568b6.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libdaggy-4bc042ee3fbba5c7.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libpetgraph-2cbe8709a1ecfef3.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libindexmap-e90ccbc9fab9fad0.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libequivalent-02029a9a2eedb7a3.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libfixedbitset-4cc5da845b89c90e.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/librusqlite-088d38017d58469e.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libfallible_streaming_iterator-7e80b6f8d42302e7.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libfallible_iterator-3aca65f1e91d99ca.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libhashlink-a89d26d2157141b3.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libhashbrown-a25ea8f9093f6233.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libahash-5a68831c0a8c0c94.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libzerocopy-006debcae80c534f.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/liballocator_api2-51a0e3b1940d6a8d.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/liblibsqlite3_sys-5a3d3f6683b23a91.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libzcash_client_backend-82fbc484839fe472.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libtime-758c19bc9933b9f0.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libitoa-6e1a9df5faf5dbcd.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libtime_core-c65a48c2b7a6d5d5.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libnum_conv-c4da1959dd358dcd.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libderanged-4b1a171c151dda6f.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libpowerfmt-907bf59e95a76e59.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libpercent_encoding-389b6235214b4fc2.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libnom-4673181a6f643b02.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libbase64-db19b3aa76ea20f5.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libshardtree-dfe8b98f63732ea2.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libbitflags-d3ff452fdf271ce3.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libzcash_keys-ff1ef8c02fc5f17a.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libzcash_primitives-94f3ae9a89726943.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libbip0039-ecc1093c0fed6e04.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libpbkdf2-9748d243172fd1af.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libunicode_normalization-dfa0cfa281eb16e5.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libtinyvec-e9f9371fba1d5d12.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libtinyvec_macros-d00b0edf2a80139d.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libhmac-6bc5158f22a88eee.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libripemd-f3b90fc9d24aa426.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libsapling_crypto-e3800443c8f94e49.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libbellman-7dba34cc093ffda4.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libcrossbeam_channel-dec390d887e31922.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libblake2s_simd-aa8227f31b164380.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libredjubjub-eeb1e8f62087b812.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/liborchard-fc123cad41c5350b.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libreddsa-abd8f4508661f253.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libserde-4387a868aaf56d27.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libjubjub-dda0a09db583ebd5.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libbls12_381-7aa08ce0f31d796b.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libpairing-28ab1a2144bd3a48.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libfpe-eef8d837018ec541.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libcbc-0fe134c4cb05197e.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/liblibm-5fec09e3ba8fedad.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libnum_bigint-170a72fd983264eb.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libnum_integer-9ea912c8520062a2.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libnum_traits-3e2f89644a20120f.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libaes-949a50a614423cfa.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libhalo2_gadgets-5a6868c22fb17a82.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libuint-436fc3639da606e4.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libcrunchy-7bdeb9b8363cb9c1.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libhex-59103c38d68cb175.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libzcash_note_encryption-9d08a1eb9fc3331f.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libchacha20poly1305-69c23c9c615e878e.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libpoly1305-34fc91ac99b567fc.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libopaque_debug-e26c817af14ebfbe.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libuniversal_hash-858294a6f6e9741a.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libaead-72c6a9c0c51de761.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libchacha20-e91ea7add19dccb8.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libcipher-7db478bc07b97eeb.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libinout-fbe5a0b97b6d11fb.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libhalo2_proofs-76fa816787699ba4.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libhalo2_legacy_pdqsort-227fea645d70355c.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libmaybe_rayon-23d3da5f45e57515.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/librayon-a24d89476f705add.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/librayon_core-4ce62341cdbe37d9.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libcrossbeam_deque-87ccda10a819fe9d.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libcrossbeam_epoch-fcf49d5b9aa03905.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libcrossbeam_utils-3eaa306b08804957.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libpasta_curves-1433201d3d9ac904.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libstatic_assertions-8480d4aa84e05e2b.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/librand-9edcdec233fff310.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/librand_chacha-0b6047f2b417a781.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libppv_lite86-6b70e84fc43e8741.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libgroup-3a840c89f610e218.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libff-a7015accf0a7d2e9.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libbitvec-730bc7b03d377948.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libwyz-73492109c05d31f6.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libtap-59f0f3249440091a.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libradium-98c0099869914ba7.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libfunty-ebf5fa3369d86d93.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libincrementalmerkletree-08a9767e7828d1f8.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libeither-dc20dd47caf70270.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libzip32-d94d7b4d2c70cb40.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libzcash_spec-2bb47d39a202753d.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libhdwallet-8a271a45c69774ac.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libsecp256k1-ea8dd26fa20ce596.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libsecp256k1_sys-4ad60b00d1f97a43.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libring-468330c231269f2b.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libuntrusted-ac2293bbe1b94403.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/librand_core-80e7e1f1bc521c7b.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libgetrandom-2f071892d1a69e8c.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libequihash-9e9978185130642d.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libzcash_address-7db818332f347cad.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libf4jumble-5b5cb9ac2bf986db.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libblake2b_simd-25824783e601f71c.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libconstant_time_eq-e392badf833f732f.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libarrayvec-8ff4c34736bf82ea.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libarrayref-8799c874d2a5acdb.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libbs58-60c59e76750007be.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libsha2-ee0be2d7934032e0.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libdigest-14b719818a4b0f62.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libsubtle-3e98af168f080a9d.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libblock_buffer-ab567d3345086445.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libcrypto_common-950356763a0cce30.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libgeneric_array-dc56fb0bc396f20a.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libtypenum-5cbd12b4b779065f.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libzcash_encoding-d50c95187451008b.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libbyteorder-25c3aad876a61906.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libzcash_protocol-aff78cd2f71818ed.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libmemuse-d06e53e8717786c2.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libnonempty-e578f8348610e671.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libbech32-35e370dec04f68e9.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libtracing_subscriber-eb02f995f1aaec7f.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libsmallvec-3496e431c2824d86.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libnu_ansi_term-007185f9da2e7bff.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/liboverload-c98c4cfbc6099cc8.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libthread_local-68612aa69a885d21.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libsharded_slab-25f967243542c173.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/liblazy_static-4fa44d434fe77606.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libspin-79d286b6e01fff4a.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libtracing_log-92c6b24c7b0e5bda.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libtracing-0899dfa5279c75ec.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libpin_project_lite-14c817ae9b4d1b4e.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libtracing_core-bfbcb4f66c06de42.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libonce_cell-c5f237377f818ab4.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libsecrecy-58a3dda1eb159bf2.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libzeroize-f0bab4b54bb0f2e4.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libprost-e56805cf1d723125.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libjni-4ae8566450b4b8fd.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libcesu8-83115c1bf1e4b3d9.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/liblog-b8bc83857aedf003.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libcombine-859e1b43ed961471.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libbytes-842d0cfdb3e65385.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libthiserror-a18ab7fc0d432e23.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libjni_sys-d53fa23bedd51221.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libfailure-0636cb4e62c5322d.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libbacktrace-2665333f30f6f0d1.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libminiz_oxide-bf840c6f5b1924d6.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libadler-ab47edaffba6d351.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libobject-5873a99b086c34a8.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libmemchr-77744241b0e0b959.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/liblibc-8993c15434455818.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libaddr2line-5c962789b00711ec.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libgimli-6cd70740f60545cd.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libcfg_if-3ce359064879ef03.rlib" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/librustc_demangle-66ab080c90e97c8c.rlib" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib/libstd-387e45565485b9cd.rlib" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib/libpanic_unwind-929a376d39391420.rlib" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib/libobject-467f05b29084be5b.rlib" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib/libmemchr-1dbce54172dc8270.rlib" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib/libaddr2line-0c1e4f0877aeb0e7.rlib" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib/libgimli-44cc7871e310f09b.rlib" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib/librustc_demangle-15448d3f009a03d5.rlib" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib/libstd_detect-79fdfb72389374be.rlib" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib/libhashbrown-71c3a7a4eabf38e8.rlib" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib/librustc_std_workspace_alloc-a9cf9d6dd360b957.rlib" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib/libminiz_oxide-bf3c2d41cb02cd46.rlib" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib/libadler-83bedfef6cc6e056.rlib" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib/libunwind-b78884e3810ecf2a.rlib" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib/libcfg_if-0bbd139447817f86.rlib" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib/liblibc-512bdeb4fb3fc5dc.rlib" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib/liballoc-ad7b3179a6dc8e3d.rlib" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib/librustc_std_workspace_core-292448a68fc083d9.rlib" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib/libcore-19a034802a6d5eea.rlib" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib/libcompiler_builtins-cc66c9e5764dfbe4.rlib" "-Wl,-Bdynamic" "-landroid" "-ldl" "-llog" "-lunwind" "-ldl" "-lm" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/Users/honza/.rustup/toolchains/1.75.0-x86_64-apple-darwin/lib/rustlib/aarch64-linux-android/lib" "-o" "/Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/backend-lib/target/aarch64-linux-android/release/deps/libzcashwalletsdk.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs"
  = note: /Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/build/linker-wrapper/linker-wrapper.sh: line 4: python: command not found

error: could not compile `zcash-android-wallet-sdk` (lib) due to previous error

> Task :backend-lib:cargoBuildArm64 FAILED
HonzaR commented 6 months ago

Moving back in the commit history until the beginning of this year didn't find the problematic commit for me.

str4d commented 6 months ago

This is the specific error:

  = note: /Users/honza/Projects/test-sdk/zcash-android-wallet-sdk/build/linker-wrapper/linker-wrapper.sh: line 4: python: command not found

This means that something changed with your Python setup that is preventing the rust-android-gradle plugin from finding Python. You can configure where your Python is explicitly by following these instructions (i.e. either setting it in local.properties in the root dir, or providing the RUST_ANDROID_GRADLE_PYTHON_COMMAND environment variable.

HonzaR commented 6 months ago

That's correct, thank you. Closing this.