Foundation-Devices / tor

Tor plugin for Flutter
https://pub.dev/packages/tor
MIT License
18 stars 9 forks source link

Build for Android on W11 fails #48

Closed robert-virkus closed 3 weeks ago

robert-virkus commented 3 weeks ago

Hey Tor Team,

thanks for your work on the foundation-devices/tor project!

I tried to run the example on Android with Windows 11 as the OS and I receive the following build error:

error: failed to run custom build command for `openssl-sys v0.9.92`
thread 'main' panicked at C:\[...]\.cargo\registry\src\index.crates.io-6f17d22bba15001f\openssl-src-111.27.0+1.1.1v\src\lib.rs:504:39:
called `Result::unwrap()` on an `Err` value: Error { kind: NotFound, message: "program not found" }

Can you help? Also, is there some setup documentation available? Many thanks in advance and keep up the good work!

Full Logoutput

Launching lib\main.dart on sdk gphone x86 64 in debug mode... You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply WARNING: [Processor] Library 'C:\Users\PC\.gradle\caches\modules-2\files-2.1\androidx.media2\media2-session\1.2.1\f927563711e36371c19b2e86fb7ccf1c3f259ca4\media2-session-1.2.1.aar' contains references to both AndroidX and old support library. This seems like the library is partially migrated. Jetifier will try to rewrite the library anyway. Example of androidX reference: 'androidx/media2/session/MediaBrowser$Builder' Example of support library reference: 'android/support/v4/media/session/MediaSessionCompat$Token' Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. The system cannot find the path specified. The system cannot find the path specified. The system cannot find the file specified. The system cannot find the file specified. Resolving dependencies... Downloading packages... + adaptive_number 1.0.0 + args 2.4.2 (2.5.0 available) + async 2.11.0 + build_tool 1.0.0 from path C:\Users\PC\AppData\Local\Pub\Cache\hosted\pub.dev\tor-0.0.7\cargokit\build_tool + collection 1.18.0 (1.19.0 available) + convert 3.1.1 + crypto 3.0.3 (3.0.5 available) + ed25519_edwards 0.3.1 + fixnum 1.1.0 + github 9.17.0 (9.24.0 available) + hex 0.2.0 + http 1.1.0 (1.2.2 available) + http_parser 4.0.2 (4.1.0 available) + json_annotation 4.9.0 + logging 1.2.0 + meta 1.15.0 + path 1.8.0 (1.9.0 available) + petitparser 5.4.0 (6.0.2 available) + source_span 1.10.0 + string_scanner 1.3.0 + term_glyph 1.2.1 + toml 0.14.0 (0.16.0 available) + typed_data 1.3.2 + version 3.0.0 (3.0.2 available) + yaml 3.1.2 Changed 25 dependencies! 10 packages have newer versions incompatible with dependency constraints. Try `dart pub outdated` for more information. Compiling bin/build_tool_runner.dart to kernel file bin/build_tool_runner.dill. INFO: Precompiled binaries are disabled INFO: Installing Rust target: x86_64-linux-android INFO: Building tor for x86_64-linux-android INFO: Installing NDK 23.1.7779620 SEVERE: ================================================================================ SEVERE: Cargokit BuildTool failed with error: SEVERE: -------------------------------------------------------------------------------- SEVERE: External Command: rustup "run" "stable" "cargo" "build" "--manifest-path" "C:\Users\PC\AppData\Local\Pub\Cache\hosted\pub.dev\tor-0.0.7\rust\Cargo.toml" "-p" "tor" "--target" "x86_64-linux-android" "--target-dir" "C:\[...]\build\tor/build" SEVERE: Returned Exit Code: 101 SEVERE: -------------------------------------------------------------------------------- SEVERE: STDOUT: SEVERE: -------------------------------------------------------------------------------- SEVERE: STDERR: SEVERE: Updating crates.io index SEVERE: Downloading crates ... SEVERE: Downloaded adler v1.0.2 SEVERE: Downloaded anstyle-parse v0.2.3 SEVERE: Downloaded fallible-iterator v0.3.0 SEVERE: Downloaded phf_shared v0.11.2 SEVERE: Downloaded pin-utils v0.1.0 SEVERE: Downloaded pkcs1 v0.7.5 SEVERE: Downloaded pkg-config v0.3.27 SEVERE: Downloaded proc-macro-crate v1.3.1 SEVERE: Downloaded pin-project-lite v0.2.13 SEVERE: Downloaded cipher v0.4.4 SEVERE: Downloaded rand_core v0.6.4 SEVERE: Downloaded rand_chacha v0.3.1 SEVERE: Downloaded rand v0.8.5 SEVERE: Downloaded regex-automata v0.1.10 SEVERE: Downloaded clap_builder v4.4.11 SEVERE: Downloaded radium v0.7.0 SEVERE: Downloaded proc-macro2 v1.0.66 SEVERE: Downloaded regex-syntax v0.7.5 SEVERE: Downloaded clap_lex v0.6.0 SEVERE: Downloaded clap_lex v0.2.4 SEVERE: Downloaded clap v3.2.25 SEVERE: Downloaded pin-project v1.1.3 SEVERE: Downloaded cfg-if v1.0.0 SEVERE: Downloaded cc v1.0.83 SEVERE: Downloaded amplify_derive v3.0.1 SEVERE: Downloaded ppv-lite86 v0.2.17 SEVERE: Downloaded powerfmt v0.2.0 SEVERE: Downloaded pkcs8 v0.10.2 SEVERE: Downloaded byteorder v1.4.3 SEVERE: Downloaded bitvec v1.0.1 SEVERE: Downloaded curve25519-dalek-derive v0.1.1 SEVERE: Downloaded ctr v0.9.2 SEVERE: Downloaded crypto-common v0.1.6 SEVERE: Downloaded darling_macro v0.14.4 SEVERE: Downloaded darling_core v0.14.4 SEVERE: Downloaded mio v0.8.8 SEVERE: Downloaded tracing-subscriber v0.3.17 SEVERE: Downloaded tracing-log v0.1.3 SEVERE: Downloaded p384 v0.13.0 SEVERE: Downloaded miniz_oxide v0.7.1 SEVERE: Downloaded merlin v3.0.0 SEVERE: Downloaded memmap2 v0.9.0 SEVERE: Downloaded windows-targets v0.52.0 SEVERE: Downloaded memchr v2.6.2 SEVERE: Downloaded lazy_static v1.4.0 SEVERE: Downloaded humantime v2.1.0 SEVERE: Downloaded httpdate v1.0.3 SEVERE: Downloaded httparse v1.8.0 SEVERE: Downloaded futures-util v0.3.28 SEVERE: Downloaded tracing-test-macro v0.2.4 SEVERE: Downloaded tracing-test v0.2.4 SEVERE: Downloaded dyn-clone v1.0.13 SEVERE: Downloaded derive_builder_macro_fork_arti v0.11.2 SEVERE: Downloaded derive_builder_core_fork_arti v0.11.2 SEVERE: Downloaded derive-deftly v0.10.5 SEVERE: Downloaded darling_core v0.20.3 SEVERE: Downloaded darling v0.20.3 SEVERE: Downloaded async_executors v0.7.0 SEVERE: Downloaded amplify_syn v2.0.1 SEVERE: Downloaded amplify v4.0.1 SEVERE: Downloaded darling_macro v0.20.3 SEVERE: Downloaded curve25519-dalek v4.1.1 SEVERE: Downloaded derive_builder_fork_arti v0.11.2 SEVERE: Downloaded coarsetime v0.1.23 SEVERE: Downloaded caret v0.4.6 SEVERE: Downloaded bounded-vec-deque v0.1.1 SEVERE: Downloaded blanket v0.3.0 SEVERE: Downloaded anstyle-query v1.0.1 SEVERE: Downloaded http v1.0.0 SEVERE: Downloaded hostname-validator v1.1.1 SEVERE: Downloaded heck v0.5.0 SEVERE: Downloaded event-listener v5.3.1 SEVERE: Downloaded rustc_version v0.4.0 SEVERE: Downloaded rustc-demangle v0.1.23 SEVERE: Downloaded rlimit v0.10.1 SEVERE: Downloaded platforms v3.2.0 SEVERE: Downloaded pin-project-internal v1.1.3 SEVERE: Downloaded errno v0.3.3 SEVERE: Downloaded enum-ordinalize v3.1.13 SEVERE: Downloaded enum-as-inner v0.6.0 SEVERE: Downloaded elliptic-curve v0.13.6 SEVERE: Downloaded either v1.9.0 SEVERE: Downloaded ed25519 v2.2.3 SEVERE: Downloaded serde v1.0.188 SEVERE: Downloaded secmem-proc v0.3.2 SEVERE: Downloaded sec1 v0.7.3 SEVERE: Downloaded rustversion v1.0.14 SEVERE: Downloaded rsa v0.9.2 SEVERE: Downloaded serde_spanned v0.6.5 SEVERE: Downloaded serde-value v0.7.0 SEVERE: Downloaded priority-queue v2.0.3 SEVERE: Downloaded simple_asn1 v0.6.2 SEVERE: Downloaded regex v1.9.4 SEVERE: Downloaded terminal_size v0.3.0 SEVERE: Downloaded termcolor v1.2.0 SEVERE: Downloaded tap v1.0.1 SEVERE: Downloaded subtle v2.5.0 SEVERE: Downloaded strum v0.26.3 SEVERE: Downloaded matchers v0.1.0 SEVERE: Downloaded toml v0.5.11 SEVERE: Downloaded tinyvec_macros v0.1.1 SEVERE: Downloaded tinyvec v1.6.0 SEVERE: Downloaded toml_datetime v0.6.5 SEVERE: Downloaded openssl-macros v0.1.1 SEVERE: Downloaded once_cell v1.18.0 SEVERE: Downloaded num_cpus v1.16.0 SEVERE: Downloaded notify v6.1.1 SEVERE: Downloaded native-tls v0.2.11 SEVERE: Downloaded toml_edit v0.19.14 SEVERE: Downloaded windows-targets v0.48.5 SEVERE: Downloaded winapi-util v0.1.5 SEVERE: Downloaded num_enum_derive v0.7.0 SEVERE: Downloaded num_enum v0.7.0 SEVERE: Downloaded ordered-float v2.10.1 SEVERE: Downloaded parking_lot_core v0.9.8 SEVERE: Downloaded parking_lot v0.12.1 SEVERE: Downloaded hkdf v0.12.3 SEVERE: Downloaded p256 v0.13.2 SEVERE: Downloaded jobserver v0.1.26 SEVERE: Downloaded typed-index-collections v3.1.0 SEVERE: Downloaded tor-hsclient v0.19.0 SEVERE: Downloaded tor-guardmgr v0.19.0 SEVERE: Downloaded overload v0.1.1 SEVERE: Downloaded zstd v0.12.4 SEVERE: Downloaded zeroize_derive v1.4.2 SEVERE: Downloaded phf v0.11.2 SEVERE: Downloaded percent-encoding v2.3.0 SEVERE: Downloaded pem-rfc7468 v0.7.0 SEVERE: Downloaded paste v1.0.14 SEVERE: Downloaded weak-table v0.3.2 SEVERE: Downloaded version_check v0.9.4 SEVERE: Downloaded regex-automata v0.3.7 SEVERE: Downloaded futures-channel v0.3.28 SEVERE: Downloaded ff v0.13.0 SEVERE: Downloaded filetime v0.2.22 SEVERE: Downloaded figment v0.10.19 SEVERE: Downloaded keccak v0.1.4 SEVERE: Downloaded inventory v0.3.14 SEVERE: Downloaded idna v0.4.0 SEVERE: Downloaded fnv v1.0.7 SEVERE: Downloaded flate2 v1.0.27 SEVERE: Downloaded tor-units v0.19.0 SEVERE: Downloaded tor-rtmock v0.19.0 SEVERE: Downloaded tor-rtcompat v0.19.0 SEVERE: Downloaded tor-persist v0.19.0 SEVERE: Downloaded tor-checkable v0.19.0 SEVERE: Downloaded tor-log-ratelim v0.19.0 SEVERE: Downloaded tor-consdiff v0.19.0 SEVERE: Downloaded tor-config v0.19.0 SEVERE: Downloaded tor-circmgr v0.19.0 SEVERE: Downloaded foreign-types v0.3.2 SEVERE: Downloaded futures-executor v0.3.28 SEVERE: Downloaded tor-linkspec v0.19.0 SEVERE: Downloaded tor-llcrypto v0.19.0 SEVERE: Downloaded tor-proto v0.19.0 SEVERE: Downloaded tor-netdoc v0.19.0 SEVERE: Downloaded fluid-let v1.0.0 SEVERE: Downloaded futures-io v0.3.28 SEVERE: Downloaded futures-core v0.3.28 SEVERE: Downloaded futures v0.3.28 SEVERE: Downloaded funty v2.0.0 SEVERE: Downloaded fslock v0.2.1 SEVERE: Downloaded tor-keymgr v0.19.0 SEVERE: Downloaded fs-mistrust v0.7.11 SEVERE: Downloaded form_urlencoded v1.2.0 SEVERE: Downloaded foreign-types-shared v0.1.1 SEVERE: Downloaded zstd-sys v2.0.8+zstd.1.5.5 SEVERE: Downloaded tor-netdir v0.19.0 SEVERE: Downloaded tor-cell v0.19.0 SEVERE: Downloaded tor-basic-utils v0.19.0 SEVERE: Downloaded linux-raw-sys v0.4.5 SEVERE: Downloaded hickory-proto v0.24.0 SEVERE: Downloaded gimli v0.28.0 SEVERE: Downloaded lzma-sys v0.1.20 SEVERE: Downloaded windows_x86_64_msvc v0.52.0 SEVERE: Downloaded tor-cert v0.19.0 SEVERE: Downloaded tor-bytes v0.19.0 SEVERE: Downloaded tor-ptmgr v0.19.0 SEVERE: Downloaded tor-socksproto v0.19.0 SEVERE: Downloaded tor-relay-selection v0.19.0 SEVERE: Downloaded tor-protover v0.19.0 SEVERE: Downloaded zeroize v1.6.0 SEVERE: Downloaded tracing-core v0.1.31 SEVERE: Downloaded sha3 v0.10.8 SEVERE: Downloaded glob-match v0.2.1 SEVERE: Downloaded windows_x86_64_msvc v0.48.5 SEVERE: Downloaded zstd-safe v6.0.6 SEVERE: Downloaded tracing-attributes v0.1.26 SEVERE: Downloaded tracing-appender v0.2.2 SEVERE: Downloaded fastrand v2.0.0 SEVERE: Downloaded fallible-streaming-iterator v0.1.9 SEVERE: Downloaded tracing v0.1.37 SEVERE: Downloaded toml_edit v0.21.0 SEVERE: Downloaded futures-sink v0.3.28 SEVERE: Downloaded futures-macro v0.3.28 SEVERE: Downloaded vcpkg v0.2.15 SEVERE: Downloaded utf8parse v0.2.1 SEVERE: Downloaded url v2.4.1 SEVERE: Downloaded windows-sys v0.48.0 SEVERE: Downloaded unicode-normalization v0.1.22 SEVERE: Downloaded unicode-ident v1.0.11 SEVERE: Downloaded unicode-bidi v0.3.13 SEVERE: Downloaded uncased v0.9.10 SEVERE: Downloaded typenum v1.16.0 SEVERE: Downloaded openssl v0.10.57 SEVERE: Downloaded object v0.32.0 SEVERE: Downloaded libc v0.2.147 SEVERE: Downloaded tokio v1.32.0 SEVERE: Downloaded rustix v0.38.11 SEVERE: Downloaded os_str_bytes v6.5.1 SEVERE: Downloaded openssl-sys v0.9.92 SEVERE: Downloaded libm v0.2.7 SEVERE: Downloaded itertools v0.12.0 SEVERE: Downloaded iana-time-zone v0.1.57 SEVERE: Downloaded tor-error v0.19.0 SEVERE: Downloaded ssh-key v0.6.2 SEVERE: Downloaded option-ext v0.2.0 SEVERE: Downloaded openssl-probe v0.1.5 SEVERE: Downloaded log v0.4.20 SEVERE: Downloaded libsqlite3-sys v0.28.0 SEVERE: Downloaded lock_api v0.4.10 SEVERE: Downloaded itoa v1.0.9 SEVERE: Downloaded openssl-src v111.27.0+1.1.1v SEVERE: Downloaded ipnet v2.8.0 SEVERE: Downloaded inout v0.1.3 SEVERE: Downloaded inotify v0.9.6 SEVERE: Downloaded indexmap v2.0.0 SEVERE: Downloaded indexmap v1.9.3 SEVERE: Downloaded ident_case v1.0.1 SEVERE: Downloaded humantime-serde v1.1.1 SEVERE: Downloaded hex v0.4.3 SEVERE: Downloaded heck v0.4.1 SEVERE: Downloaded hashlink v0.9.1 SEVERE: Downloaded hashbrown v0.12.3 SEVERE: Downloaded group v0.13.0 SEVERE: Downloaded getrandom v0.2.10 SEVERE: Downloaded futures-task v0.3.28 SEVERE: Downloaded walkdir v2.3.3 SEVERE: Downloaded void v1.0.2 SEVERE: Downloaded visibility v0.1.0 SEVERE: Downloaded tor-hscrypto v0.19.0 SEVERE: Downloaded tor-chanmgr v0.19.0 SEVERE: Downloaded tor-async-utils v0.19.0 SEVERE: Downloaded semver v1.0.18 SEVERE: Downloaded retry-error v0.5.3 SEVERE: Downloaded num-iter v0.1.43 SEVERE: Downloaded num-bigint v0.4.4 SEVERE: Downloaded inotify-sys v0.1.5 SEVERE: Downloaded hmac v0.12.1 SEVERE: Downloaded generic-array v0.14.7 SEVERE: Downloaded zerocopy v0.7.34 SEVERE: Downloaded xz2 v0.1.7 SEVERE: Downloaded x25519-dalek v2.0.0 SEVERE: Downloaded wyz v0.5.1 SEVERE: Downloaded winnow v0.5.15 SEVERE: Downloaded parking v2.1.1 SEVERE: Downloaded safelog v0.3.7 SEVERE: Downloaded postage v0.5.0 SEVERE: Downloaded toml v0.8.8 SEVERE: Downloaded tokio-util v0.7.8 SEVERE: Downloaded tokio-macros v2.1.0 SEVERE: Downloaded textwrap v0.16.0 SEVERE: Downloaded tempfile v3.8.0 SEVERE: Downloaded syn v2.0.32 SEVERE: Downloaded static_assertions v1.1.0 SEVERE: Downloaded shellexpand v3.1.0 SEVERE: Downloaded sha1 v0.10.5 SEVERE: Downloaded schannel v0.1.22 SEVERE: Downloaded rusqlite v0.31.0 SEVERE: Downloaded regex-syntax v0.6.29 SEVERE: Downloaded num-traits v0.2.16 SEVERE: Downloaded num-integer v0.1.45 SEVERE: Downloaded num-conv v0.1.0 SEVERE: Downloaded windows v0.48.0 SEVERE: Downloaded num-bigint-dig v0.8.4 SEVERE: Downloaded nu-ansi-term v0.46.0 SEVERE: Downloaded tinystr v0.7.1 SEVERE: Downloaded time v0.3.36 SEVERE: Downloaded thread_local v1.1.7 SEVERE: Downloaded thiserror-impl v1.0.47 SEVERE: Downloaded thiserror v1.0.47 SEVERE: Downloaded strum_macros v0.26.4 SEVERE: Downloaded strsim v0.10.0 SEVERE: Downloaded ssh-encoding v0.2.0 SEVERE: Downloaded ssh-cipher v0.2.0 SEVERE: Downloaded spki v0.7.2 SEVERE: Downloaded spin v0.5.2 SEVERE: Downloaded socket2 v0.5.3 SEVERE: Downloaded smallvec v1.11.0 SEVERE: Downloaded slotmap v1.0.6 SEVERE: Downloaded siphasher v0.3.11 SEVERE: Downloaded signal-hook-registry v1.4.1 SEVERE: Downloaded sha2 v0.10.8 SEVERE: Downloaded scopeguard v1.2.0 SEVERE: Downloaded sanitize-filename v0.5.0 SEVERE: Downloaded same-file v1.0.6 SEVERE: Downloaded ryu v1.0.15 SEVERE: Downloaded rfc6979 v0.4.0 SEVERE: Downloaded time-macros v0.2.18 SEVERE: Downloaded time-core v0.1.2 SEVERE: Downloaded signature v2.1.0 SEVERE: Downloaded sharded-slab v0.1.4 SEVERE: Downloaded serde_with_macros v3.3.0 SEVERE: Downloaded serde_json v1.0.105 SEVERE: Downloaded tor-dirmgr v0.19.0 SEVERE: Downloaded tor-dirclient v0.19.0 SEVERE: Downloaded educe v0.4.22 SEVERE: Downloaded ed25519-dalek v2.1.0 SEVERE: Downloaded derive-deftly-macros v0.10.5 SEVERE: Downloaded cbindgen v0.24.3 SEVERE: Downloaded async-compression v0.4.2 SEVERE: Downloaded arti-client v0.19.0 SEVERE: Downloaded arti v1.2.4 SEVERE: Downloaded slab v0.4.9 SEVERE: Downloaded serde_with v3.3.0 SEVERE: Downloaded serde_ignored v0.1.9 SEVERE: Downloaded serde_derive v1.0.188 SEVERE: Downloaded quote v1.0.33 SEVERE: Downloaded primeorder v0.13.2 SEVERE: Downloaded phf_generator v0.11.2 SEVERE: Downloaded ecdsa v0.16.8 SEVERE: Downloaded downcast-rs v1.2.0 SEVERE: Downloaded displaydoc v0.2.4 SEVERE: Downloaded dirs-sys v0.4.1 SEVERE: Downloaded dirs v5.0.1 SEVERE: Downloaded directories v5.0.1 SEVERE: Downloaded digest v0.10.7 SEVERE: Downloaded derive_more v0.99.17 SEVERE: Downloaded deranged v0.3.11 SEVERE: Downloaded der v0.7.8 SEVERE: Downloaded data-encoding v2.4.0 SEVERE: Downloaded darling v0.14.4 SEVERE: Downloaded crypto-bigint v0.5.3 SEVERE: Downloaded crossbeam-utils v0.8.16 SEVERE: Downloaded cpufeatures v0.2.9 SEVERE: Downloaded clap v4.4.11 SEVERE: Downloaded by_address v1.1.0 SEVERE: Downloaded block-buffer v0.10.4 SEVERE: Downloaded base64 v0.21.3 SEVERE: Downloaded ascii v1.1.0 SEVERE: Downloaded anstyle-wincon v3.0.2 SEVERE: Downloaded anstream v0.6.4 SEVERE: Downloaded crossbeam-queue v0.3.8 SEVERE: Downloaded crossbeam-channel v0.5.8 SEVERE: Downloaded const-oid v0.9.5 SEVERE: Downloaded chrono v0.4.28 SEVERE: Downloaded backtrace v0.3.69 SEVERE: Downloaded async-trait v0.1.73 SEVERE: Downloaded crc32fast v1.3.2 SEVERE: Downloaded convert_case v0.4.0 SEVERE: Downloaded concurrent-queue v2.5.0 SEVERE: Downloaded colorchoice v1.0.0 SEVERE: Downloaded bytes v1.4.0 SEVERE: Downloaded bitflags v2.4.0 SEVERE: Downloaded atomic v0.5.3 SEVERE: Downloaded asynchronous-codec v0.7.0 SEVERE: Downloaded async-native-tls v0.5.0 SEVERE: Downloaded anyhow v1.0.79 SEVERE: Downloaded amplify_num v0.5.0 SEVERE: Downloaded aho-corasick v1.0.5 SEVERE: Downloaded aes v0.8.3 SEVERE: Downloaded base64ct v1.6.0 SEVERE: Downloaded phf_macros v0.11.2 SEVERE: Downloaded bitflags v1.3.2 SEVERE: Downloaded base16ct v0.2.0 SEVERE: Downloaded autocfg v1.1.0 SEVERE: Downloaded atty v0.2.14 SEVERE: Downloaded arrayvec v0.7.4 SEVERE: Downloaded anstyle v1.0.4 SEVERE: Downloaded android_system_properties v0.1.5 SEVERE: Downloaded android-tzdata v0.1.1 SEVERE: Downloaded ahash v0.8.11 SEVERE: Downloaded addr2line v0.21.0 SEVERE: Compiling proc-macro2 v1.0.66 SEVERE: Compiling unicode-ident v1.0.11 SEVERE: Compiling libc v0.2.147 SEVERE: Compiling cfg-if v1.0.0 SEVERE: Compiling autocfg v1.1.0 SEVERE: Compiling version_check v0.9.4 SEVERE: Compiling typenum v1.16.0 SEVERE: Compiling jobserver v0.1.26 SEVERE: Compiling once_cell v1.18.0 SEVERE: Compiling syn v1.0.109 SEVERE: Compiling pin-project-lite v0.2.13 SEVERE: Compiling thiserror v1.0.47 SEVERE: Compiling const-oid v0.9.5 SEVERE: Compiling futures-core v0.3.28 SEVERE: Compiling smallvec v1.11.0 SEVERE: Compiling memchr v2.6.2 SEVERE: Compiling serde v1.0.188 SEVERE: Compiling subtle v2.5.0 SEVERE: Compiling futures-sink v0.3.28 SEVERE: Compiling cc v1.0.83 SEVERE: Compiling futures-channel v0.3.28 SEVERE: Compiling futures-task v0.3.28 SEVERE: Compiling futures-io v0.3.28 SEVERE: Compiling semver v1.0.18 SEVERE: Compiling futures-util v0.3.28 SEVERE: Compiling pkg-config v0.3.27 SEVERE: Compiling pin-utils v0.1.0 SEVERE: Compiling libm v0.2.7 SEVERE: Compiling itoa v1.0.9 SEVERE: Compiling generic-array v0.14.7 SEVERE: Compiling slab v0.4.9 SEVERE: Compiling num-traits v0.2.16 SEVERE: Compiling strsim v0.10.0 SEVERE: Compiling spin v0.5.2 SEVERE: Compiling num-integer v0.1.45 SEVERE: Compiling lazy_static v1.4.0 SEVERE: Compiling num-bigint v0.4.4 SEVERE: Compiling rustc_version v0.4.0 SEVERE: Compiling tracing-core v0.1.31 SEVERE: Compiling quote v1.0.33 SEVERE: Compiling base64ct v1.6.0 SEVERE: Compiling cpufeatures v0.2.9 SEVERE: Compiling rustversion v1.0.14 SEVERE: Compiling syn v2.0.32 SEVERE: Compiling convert_case v0.4.0 SEVERE: Compiling getrandom v0.2.10 SEVERE: Compiling rand_core v0.6.4 SEVERE: Compiling pem-rfc7468 v0.7.0 SEVERE: Compiling ppv-lite86 v0.2.17 SEVERE: Compiling fnv v1.0.7 SEVERE: Compiling heck v0.5.0 SEVERE: Compiling ident_case v1.0.1 SEVERE: Compiling adler v1.0.2 SEVERE: Compiling paste v1.0.14 SEVERE: Compiling bytes v1.4.0 SEVERE: Compiling rand_chacha v0.3.1 SEVERE: Compiling miniz_oxide v0.7.1 SEVERE: Compiling ahash v0.8.11 SEVERE: Compiling either v1.9.0 SEVERE: Compiling crypto-common v0.1.6 SEVERE: Compiling block-buffer v0.10.4 SEVERE: Compiling rand v0.8.5 SEVERE: Compiling inout v0.1.3 SEVERE: Compiling digest v0.10.7 SEVERE: Compiling num-conv v0.1.0 SEVERE: Compiling platforms v3.2.0 SEVERE: Compiling time-core v0.1.2 SEVERE: Compiling powerfmt v0.2.0 SEVERE: Compiling deranged v0.3.11 SEVERE: Compiling signature v2.1.0 SEVERE: Compiling time-macros v0.2.18 SEVERE: Compiling sha2 v0.10.8 SEVERE: Compiling num-iter v0.1.43 SEVERE: Compiling curve25519-dalek v4.1.1 SEVERE: Compiling byteorder v1.4.3 SEVERE: Compiling zerocopy v0.7.34 SEVERE: Compiling gimli v0.28.0 SEVERE: Compiling static_assertions v1.1.0 SEVERE: Compiling object v0.32.0 SEVERE: Compiling num-bigint-dig v0.8.4 SEVERE: Compiling keccak v0.1.4 SEVERE: Compiling equivalent v1.0.1 SEVERE: Compiling bitflags v2.4.0 SEVERE: Compiling hex v0.4.3 SEVERE: Compiling rustc-demangle v0.1.23 SEVERE: Compiling hashbrown v0.14.5 SEVERE: Compiling vcpkg v0.2.15 SEVERE: Compiling winnow v0.5.15 SEVERE: Compiling toml_datetime v0.6.5 SEVERE: Compiling backtrace v0.3.69 SEVERE: Compiling regex-syntax v0.7.5 SEVERE: Compiling log v0.4.20 SEVERE: Compiling indexmap v2.0.0 SEVERE: Compiling retry-error v0.5.3 SEVERE: Compiling ed25519 v2.2.3 SEVERE: Compiling fluid-let v1.0.0 SEVERE: Compiling darling_core v0.14.4 SEVERE: Compiling sha3 v0.10.8 SEVERE: Compiling sha1 v0.10.5 SEVERE: Compiling option-ext v0.2.0 SEVERE: Compiling dirs-sys v0.4.1 SEVERE: Compiling lock_api v0.4.10 SEVERE: Compiling parking_lot_core v0.9.8 SEVERE: Compiling derive-deftly-macros v0.10.5 SEVERE: Compiling addr2line v0.21.0 SEVERE: Compiling regex-automata v0.3.7 SEVERE: Compiling itertools v0.12.0 SEVERE: Compiling toml_edit v0.19.14 SEVERE: Compiling openssl-src v111.27.0+1.1.1v SEVERE: Compiling time v0.3.36 SEVERE: Compiling void v1.0.2 SEVERE: Compiling same-file v1.0.6 SEVERE: Compiling scopeguard v1.2.0 SEVERE: Compiling walkdir v2.3.3 SEVERE: Compiling dirs v5.0.1 SEVERE: Compiling openssl-sys v0.9.92 SEVERE: Compiling uncased v0.9.10 SEVERE: Compiling humantime v2.1.0 SEVERE: Compiling crossbeam-utils v0.8.16 SEVERE: Compiling regex v1.9.4 SEVERE: Compiling proc-macro-crate v1.3.1 SEVERE: Compiling parking_lot v0.12.1 SEVERE: Compiling darling_core v0.20.3 SEVERE: Compiling figment v0.10.19 SEVERE: Compiling tinyvec_macros v0.1.1 SEVERE: Compiling tinyvec v1.6.0 SEVERE: Compiling mio v0.8.8 SEVERE: Compiling ordered-float v2.10.1 SEVERE: Compiling caret v0.4.6 SEVERE: Compiling shellexpand v3.1.0 SEVERE: Compiling directories v5.0.1 SEVERE: Compiling amplify_syn v2.0.1 SEVERE: Compiling signal-hook-registry v1.4.1 SEVERE: error: failed to run custom build command for `openssl-sys v0.9.92` SEVERE: SEVERE: Caused by: SEVERE: process didn't exit successfully: `C:\[...]\build\tor/build\debug\build\openssl-sys-7c05587bd6899797\build-script-main` (exit code: 101) SEVERE: --- stdout SEVERE: cargo:rerun-if-env-changed=X86_64_LINUX_ANDROID_OPENSSL_NO_VENDOR SEVERE: X86_64_LINUX_ANDROID_OPENSSL_NO_VENDOR unset SEVERE: cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR SEVERE: OPENSSL_NO_VENDOR unset SEVERE: cargo:rerun-if-env-changed=CC_x86_64-linux-android SEVERE: CC_x86_64-linux-android = Some("C:\\Users\\PC\\AppData\\Local\\Android\\Sdk\\ndk\\23.1.7779620\\toolchains\\llvm\\prebuilt\\windows-x86_64\\bin\\clang.exe") SEVERE: cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS SEVERE: CRATE_CC_NO_DEFAULTS = None SEVERE: DEBUG = Some("true") SEVERE: cargo:rerun-if-env-changed=CFLAGS_x86_64-linux-android SEVERE: CFLAGS_x86_64-linux-android = Some("--target=x86_64-linux-android21") SEVERE: cargo:rerun-if-env-changed=AR_x86_64-linux-android SEVERE: AR_x86_64-linux-android = Some("C:\\Users\\PC\\AppData\\Local\\Android\\Sdk\\ndk\\23.1.7779620\\toolchains\\llvm\\prebuilt\\windows-x86_64\\bin\\llvm-ar.exe") SEVERE: cargo:rerun-if-env-changed=ARFLAGS_x86_64-linux-android SEVERE: ARFLAGS_x86_64-linux-android = None SEVERE: cargo:rerun-if-env-changed=ARFLAGS_x86_64_linux_android SEVERE: ARFLAGS_x86_64_linux_android = None SEVERE: cargo:rerun-if-env-changed=TARGET_ARFLAGS SEVERE: TARGET_ARFLAGS = None SEVERE: cargo:rerun-if-env-changed=ARFLAGS SEVERE: ARFLAGS = None SEVERE: cargo:rerun-if-env-changed=RANLIB_x86_64-linux-android SEVERE: RANLIB_x86_64-linux-android = Some("C:\\Users\\PC\\AppData\\Local\\Android\\Sdk\\ndk\\23.1.7779620\\toolchains\\llvm\\prebuilt\\windows-x86_64\\bin\\llvm-ranlib.exe") SEVERE: cargo:rerun-if-env-changed=RANLIBFLAGS_x86_64-linux-android SEVERE: RANLIBFLAGS_x86_64-linux-android = None SEVERE: cargo:rerun-if-env-changed=RANLIBFLAGS_x86_64_linux_android SEVERE: RANLIBFLAGS_x86_64_linux_android = None SEVERE: cargo:rerun-if-env-changed=TARGET_RANLIBFLAGS SEVERE: TARGET_RANLIBFLAGS = None SEVERE: cargo:rerun-if-env-changed=RANLIBFLAGS SEVERE: RANLIBFLAGS = None SEVERE: running "perl" "./Configure" "--prefix=C:\\[...]\\build\\tor/build\\x86_64-linux-android\\debug\\build\\openssl-sys-fe1aad373af53de8\\out\\openssl-build\\install" "--openssldir=/usr/local/ssl" "no-dso" "no-shared" "no-ssl3" "no-unit-test" "no-comp" "no-zlib" "no-zlib-dynamic" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "no-stdio" "linux-x86_64" "-O2" "-DANDROID" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=x86_64-linux-android" "--target=x86_64-linux-android21" SEVERE: SEVERE: --- stderr SEVERE: thread 'main' panicked at C:\Users\PC\.cargo\registry\src\index.crates.io-6f17d22bba15001f\openssl-src-111.27.0+1.1.1v\src\lib.rs:504:39: SEVERE: called `Result::unwrap()` on an `Err` value: Error { kind: NotFound, message: "program not found" } SEVERE: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace SEVERE: warning: build failed, waiting for other jobs to finish... SEVERE: -------------------------------------------------------------------------------- SEVERE: #0 runCommand (package:build_tool/src/util.dart:66:5) SEVERE: #1 RustBuilder.build (package:build_tool/src/builder.dart:143:5) SEVERE: SEVERE: #2 ArtifactProvider.getArtifacts (package:build_tool/src/artifacts_provider.dart:72:25) SEVERE: SEVERE: #3 BuildGradle.build (package:build_tool/src/build_gradle.dart:36:23) SEVERE: SEVERE: #4 BuildGradleCommand.runBuildCommand (package:build_tool/src/build_tool.dart:66:5) SEVERE: SEVERE: #5 BuildCommand.run (package:build_tool/src/build_tool.dart:38:5) SEVERE: SEVERE: #6 CommandRunner.runCommand (package:args/command_runner.dart:212:13) SEVERE: SEVERE: #7 runMain (package:build_tool/src/build_tool.dart:252:5) SEVERE: SEVERE: -------------------------------------------------------------------------------- SEVERE: BuildTool arguments: [build-gradle] SEVERE: ================================================================================ FAILURE: Build failed with an exception. * Where: Script 'C:\Users\PC\AppData\Local\Pub\Cache\hosted\pub.dev\tor-0.0.7\cargokit\gradle\plugin.gradle' line: 63 * What went wrong: Execution failed for task ':tor:cargokitCargoBuildTorDebug'. > Process 'command 'C:\Users\PC\AppData\Local\Pub\Cache\hosted\pub.dev\tor-0.0.7\cargokit\gradle\..\run_build_tool.cmd'' finished with non-zero exit value 1 * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 6m 57s Error: Gradle task assembleDebug failed with exit code 1 Exited (1).

icota commented 3 weeks ago

Hi @robert-virkus!

It seems that the build script for openssl-sys needs Perl to be installed on your machine. This is just my guess judging by the output. Check out https://github.com/wez/wezterm/issues/731

robert-virkus commented 3 weeks ago

Thanks so much for your quick, @icota ! Indeed, Perl was not installed on my system. With the install, I run into the following problem:

SEVERE:   This perl implementation doesn't produce Unix like paths (with forward slash
SEVERE:   directory separators).  Please use an implementation that matches your
SEVERE:   building platform.
[...]
SEVERE:   running "perl" "./Configure" "--prefix=C:\\[...]\\build\\tor/build\\x86_64-linux-android\\debug\\build\\openssl-sys-fe1aad373af53de8\\out\\openssl-build\\install" "--openssldir=/usr/local/ssl" "no-dso" "no-shared" "no-ssl3" "no-unit-test" "no-comp" "no-zlib" "no-zlib-dynamic" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "no-stdio" "linux-x86_64" "-O2" "-DANDROID" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=x86_64-linux-android" "--target=x86_64-linux-android21"

The --openssldir parameter looks fishy to me...

Full Log

Launching lib\main.dart on sdk gphone x86 64 in debug mode... You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply 1 file(s) moved. Resolving dependencies... Downloading packages... args 2.4.2 (2.5.0 available) collection 1.18.0 (1.19.0 available) crypto 3.0.3 (3.0.5 available) github 9.17.0 (9.24.0 available) http 1.1.0 (1.2.2 available) http_parser 4.0.2 (4.1.0 available) path 1.8.0 (1.9.0 available) petitparser 5.4.0 (6.0.2 available) toml 0.14.0 (0.16.0 available) version 3.0.0 (3.0.2 available) Got dependencies! 10 packages have newer versions incompatible with dependency constraints. Try `dart pub outdated` for more information. Compiling bin/build_tool_runner.dart to kernel file bin/build_tool_runner.dill. INFO: Precompiled binaries are disabled INFO: Building tor for x86_64-linux-android SEVERE: ================================================================================ SEVERE: Cargokit BuildTool failed with error: SEVERE: -------------------------------------------------------------------------------- SEVERE: External Command: rustup "run" "stable" "cargo" "build" "--manifest-path" "C:\Users\PC\AppData\Local\Pub\Cache\hosted\pub.dev\tor-0.0.7\rust\Cargo.toml" "-p" "tor" "--target" "x86_64-linux-android" "--target-dir" "C:\[...]\build\tor/build" SEVERE: Returned Exit Code: 101 SEVERE: -------------------------------------------------------------------------------- SEVERE: STDOUT: SEVERE: -------------------------------------------------------------------------------- SEVERE: STDERR: SEVERE: Compiling serde_derive v1.0.188 SEVERE: Compiling thiserror-impl v1.0.47 SEVERE: Compiling zeroize_derive v1.4.2 SEVERE: Compiling futures-macro v0.3.28 SEVERE: Compiling tracing-attributes v0.1.26 SEVERE: Compiling derive_more v0.99.17 SEVERE: Compiling enum-ordinalize v3.1.13 SEVERE: Compiling strum_macros v0.26.4 SEVERE: Compiling curve25519-dalek-derive v0.1.1 SEVERE: Compiling darling_macro v0.14.4 SEVERE: Compiling openssl-sys v0.9.92 SEVERE: Compiling darling_macro v0.20.3 SEVERE: Compiling unicode-normalization v0.1.22 SEVERE: Compiling pin-project-internal v1.1.3 SEVERE: Compiling tokio-macros v2.1.0 SEVERE: Compiling socket2 v0.5.3 SEVERE: Compiling educe v0.4.22 SEVERE: Compiling darling v0.14.4 SEVERE: Compiling darling v0.20.3 SEVERE: Compiling derive_builder_core_fork_arti v0.11.2 SEVERE: Compiling num_cpus v1.16.0 SEVERE: Compiling unicode-bidi v0.3.13 SEVERE: Compiling foreign-types-shared v0.1.1 SEVERE: Compiling zeroize v1.6.0 SEVERE: Compiling openssl v0.10.57 SEVERE: Compiling percent-encoding v2.3.0 SEVERE: Compiling data-encoding v2.4.0 SEVERE: Compiling cipher v0.4.4 SEVERE: Compiling futures-util v0.3.28 SEVERE: Compiling der v0.7.8 SEVERE: Compiling curve25519-dalek v4.1.1 SEVERE: Compiling num-bigint-dig v0.8.4 SEVERE: Compiling merlin v3.0.0 SEVERE: Compiling ctr v0.9.2 SEVERE: Compiling aes v0.8.3 SEVERE: Compiling tokio v1.32.0 SEVERE: Compiling pin-project v1.1.3 SEVERE: Compiling idna v0.4.0 SEVERE: Compiling thiserror v1.0.47 SEVERE: Compiling spki v0.7.2 SEVERE: Compiling simple_asn1 v0.6.2 SEVERE: Compiling ed25519-dalek v2.1.0 SEVERE: Compiling x25519-dalek v2.0.0 SEVERE: Compiling tracing v0.1.37 SEVERE: Compiling pkcs8 v0.10.2 SEVERE: Compiling derive_builder_macro_fork_arti v0.11.2 SEVERE: Compiling pkcs1 v0.7.5 SEVERE: Compiling tor-basic-utils v0.19.0 SEVERE: Compiling form_urlencoded v1.2.0 SEVERE: Compiling rsa v0.9.2 SEVERE: Compiling derive_builder_fork_arti v0.11.2 SEVERE: Compiling foreign-types v0.3.2 SEVERE: Compiling serde_with_macros v3.3.0 SEVERE: Compiling amplify_derive v3.0.1 SEVERE: Compiling openssl-macros v0.1.1 SEVERE: Compiling strum v0.26.3 SEVERE: Compiling serde_json v1.0.105 SEVERE: Compiling native-tls v0.2.11 SEVERE: Compiling amplify_num v0.5.0 SEVERE: Compiling regex-syntax v0.6.29 SEVERE: Compiling ascii v1.1.0 SEVERE: Compiling derive-deftly-macros v0.10.5 SEVERE: Compiling async-trait v0.1.73 SEVERE: Compiling siphasher v0.3.11 SEVERE: Compiling rand_core v0.6.4 SEVERE: Compiling rand v0.8.5 SEVERE: Compiling phf_shared v0.11.2 SEVERE: Compiling url v2.4.1 SEVERE: Compiling tor-protover v0.19.0 SEVERE: Compiling async_executors v0.7.0 SEVERE: Compiling overload v0.1.1 SEVERE: Compiling by_address v1.1.0 SEVERE: Compiling openssl-probe v0.1.5 SEVERE: Compiling crossbeam-queue v0.3.8 SEVERE: Compiling futures-executor v0.3.28 SEVERE: Compiling phf_generator v0.11.2 SEVERE: Compiling nu-ansi-term v0.46.0 SEVERE: error: failed to run custom build command for `openssl-sys v0.9.92` SEVERE: SEVERE: Caused by: SEVERE: process didn't exit successfully: `C:\[...]\build\tor/build\debug\build\openssl-sys-7c05587bd6899797\build-script-main` (exit code: 101) SEVERE: --- stdout SEVERE: cargo:rerun-if-env-changed=X86_64_LINUX_ANDROID_OPENSSL_NO_VENDOR SEVERE: X86_64_LINUX_ANDROID_OPENSSL_NO_VENDOR unset SEVERE: cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR SEVERE: OPENSSL_NO_VENDOR unset SEVERE: cargo:rerun-if-env-changed=CC_x86_64-linux-android SEVERE: CC_x86_64-linux-android = Some("C:\\Users\\PC\\AppData\\Local\\Android\\Sdk\\ndk\\23.1.7779620\\toolchains\\llvm\\prebuilt\\windows-x86_64\\bin\\clang.exe") SEVERE: cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS SEVERE: CRATE_CC_NO_DEFAULTS = None SEVERE: DEBUG = Some("true") SEVERE: cargo:rerun-if-env-changed=CFLAGS_x86_64-linux-android SEVERE: CFLAGS_x86_64-linux-android = Some("--target=x86_64-linux-android21") SEVERE: cargo:rerun-if-env-changed=AR_x86_64-linux-android SEVERE: AR_x86_64-linux-android = Some("C:\\Users\\PC\\AppData\\Local\\Android\\Sdk\\ndk\\23.1.7779620\\toolchains\\llvm\\prebuilt\\windows-x86_64\\bin\\llvm-ar.exe") SEVERE: cargo:rerun-if-env-changed=ARFLAGS_x86_64-linux-android SEVERE: ARFLAGS_x86_64-linux-android = None SEVERE: cargo:rerun-if-env-changed=ARFLAGS_x86_64_linux_android SEVERE: ARFLAGS_x86_64_linux_android = None SEVERE: cargo:rerun-if-env-changed=TARGET_ARFLAGS SEVERE: TARGET_ARFLAGS = None SEVERE: cargo:rerun-if-env-changed=ARFLAGS SEVERE: ARFLAGS = None SEVERE: cargo:rerun-if-env-changed=RANLIB_x86_64-linux-android SEVERE: RANLIB_x86_64-linux-android = Some("C:\\Users\\PC\\AppData\\Local\\Android\\Sdk\\ndk\\23.1.7779620\\toolchains\\llvm\\prebuilt\\windows-x86_64\\bin\\llvm-ranlib.exe") SEVERE: cargo:rerun-if-env-changed=RANLIBFLAGS_x86_64-linux-android SEVERE: RANLIBFLAGS_x86_64-linux-android = None SEVERE: cargo:rerun-if-env-changed=RANLIBFLAGS_x86_64_linux_android SEVERE: RANLIBFLAGS_x86_64_linux_android = None SEVERE: cargo:rerun-if-env-changed=TARGET_RANLIBFLAGS SEVERE: TARGET_RANLIBFLAGS = None SEVERE: cargo:rerun-if-env-changed=RANLIBFLAGS SEVERE: RANLIBFLAGS = None SEVERE: running "perl" "./Configure" "--prefix=C:\\[...]\\build\\tor/build\\x86_64-linux-android\\debug\\build\\openssl-sys-fe1aad373af53de8\\out\\openssl-build\\install" "--openssldir=/usr/local/ssl" "no-dso" "no-shared" "no-ssl3" "no-unit-test" "no-comp" "no-zlib" "no-zlib-dynamic" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "no-stdio" "linux-x86_64" "-O2" "-DANDROID" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=x86_64-linux-android" "--target=x86_64-linux-android21" SEVERE: Configuring OpenSSL version 1.1.1v (0x1010116fL) for linux-x86_64 SEVERE: Using os-specific seed configuration SEVERE: SEVERE: --- stderr SEVERE: SEVERE: ****************************************************************************** SEVERE: This perl implementation doesn't produce Unix like paths (with forward slash SEVERE: directory separators). Please use an implementation that matches your SEVERE: building platform. SEVERE: SEVERE: This Perl version: 5.40.0 for MSWin32-x64-multi-thread SEVERE: ****************************************************************************** SEVERE: thread 'main' panicked at C:\Users\PC\.cargo\registry\src\index.crates.io-6f17d22bba15001f\openssl-src-111.27.0+1.1.1v\src\lib.rs:506:13: SEVERE: SEVERE: SEVERE: SEVERE: Error configuring OpenSSL build: SEVERE: Command: "perl" "./Configure" "--prefix=C:\\[...]\\build\\tor/build\\x86_64-linux-android\\debug\\build\\openssl-sys-fe1aad373af53de8\\out\\openssl-build\\install" "--openssldir=/usr/local/ssl" "no-dso" "no-shared" "no-ssl3" "no-unit-test" "no-comp" "no-zlib" "no-zlib-dynamic" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "no-stdio" "linux-x86_64" "-O2" "-DANDROID" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=x86_64-linux-android" "--target=x86_64-linux-android21" SEVERE: Exit status: exit code: 255 SEVERE: SEVERE: SEVERE: SEVERE: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace SEVERE: warning: build failed, waiting for other jobs to finish... SEVERE: -------------------------------------------------------------------------------- SEVERE: #0 runCommand (package:build_tool/src/util.dart:66:5) SEVERE: #1 RustBuilder.build (package:build_tool/src/builder.dart:143:5) SEVERE: SEVERE: #2 ArtifactProvider.getArtifacts (package:build_tool/src/artifacts_provider.dart:72:25) SEVERE: SEVERE: #3 BuildGradle.build (package:build_tool/src/build_gradle.dart:36:23) SEVERE: SEVERE: #4 BuildGradleCommand.runBuildCommand (package:build_tool/src/build_tool.dart:66:5) SEVERE: SEVERE: #5 BuildCommand.run (package:build_tool/src/build_tool.dart:38:5) SEVERE: SEVERE: #6 CommandRunner.runCommand (package:args/command_runner.dart:212:13) SEVERE: SEVERE: #7 runMain (package:build_tool/src/build_tool.dart:252:5) SEVERE: SEVERE: -------------------------------------------------------------------------------- SEVERE: BuildTool arguments: [build-gradle] SEVERE: ================================================================================ FAILURE: Build failed with an exception. * Where: Script 'C:\Users\PC\AppData\Local\Pub\Cache\hosted\pub.dev\tor-0.0.7\cargokit\gradle\plugin.gradle' line: 63 * What went wrong: Execution failed for task ':tor:cargokitCargoBuildTorDebug'. > Process 'command 'C:\Users\PC\AppData\Local\Pub\Cache\hosted\pub.dev\tor-0.0.7\cargokit\gradle\..\run_build_tool.cmd'' finished with non-zero exit value 1 * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 1m 8s Error: Gradle task assembleDebug failed with exit code 1 Exited (1).

icota commented 3 weeks ago

It's better to troubleshoot these issues in the openssl-sys repo. I searched there for the string and found https://github.com/sfackler/rust-openssl/issues/2195

Closing this as we don't have the resources right now to support the build of our dependencies for all the different platform/target combinations