Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stronghold doesn't work #2242

Open
alexiokay opened this issue Dec 30, 2024 · 1 comment
Open

Stronghold doesn't work #2242

alexiokay opened this issue Dec 30, 2024 · 1 comment
Labels
bug Something isn't working platform: android Android specific issues platform: windows Windows specific issues plugin: stronghold status: upstream This issue needs to be fixed in an upstream project

Comments

@alexiokay
Copy link

alexiokay commented Dec 30, 2024

After proper stronghold plugin installaton I run tauri dev and it's what I see:

`error: failed to run custom build command for libsodium-sys-stable v1.22.1

Caused by:
process didn't exit successfully: ....frontend\apps\tauri-mobile\src-tauri\target\debug\build\libsodium-sys-stable-f106d9e71c3063c6\build-script-build (exit code: 101)
--- stdout
cargo:rerun-if-env-changed=SODIUM_LIB_DIR
cargo:rerun-if-env-changed=SODIUM_SHARED
cargo:rerun-if-env-changed=SODIUM_USE_PKG_CONFIG
cargo:rerun-if-env-changed=VCPKGRS_DYNAMIC
cargo:rerun-if-env-changed=SODIUM_DISABLE_PIE
OPT_LEVEL = Some(0)
OUT_DIR = Some(...\tauri-mobile\src-tauri\target\aarch64-linux-android\debug\build\libsodium-sys-stable-508e66e1067286bd\out)
TARGET = Some(aarch64-linux-android)
HOST = Some(x86_64-pc-windows-msvc)
cargo:rerun-if-env-changed=CC_aarch64-linux-android
CC_aarch64-linux-android = None
cargo:rerun-if-env-changed=CC_aarch64_linux_android
CC_aarch64_linux_android = None
cargo:rerun-if-env-changed=TARGET_CC
TARGET_CC = Some(....\AppData\Local\Android\Sdk\ndk\28.0.12674087\toolchains/llvm/prebuilt/windows-x86_64\bin\aarch64-linux-android24-clang.cmd)
RUSTC_WRAPPER = None
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some(true)
cargo:rerun-if-env-changed=CFLAGS_aarch64-linux-android
CFLAGS_aarch64-linux-android = None
cargo:rerun-if-env-changed=CFLAGS_aarch64_linux_android
CFLAGS_aarch64_linux_android = None
cargo:rerun-if-env-changed=TARGET_CFLAGS
TARGET_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
CARGO_ENCODED_RUSTFLAGS = Some(-Clink-arg=-landroid▼-Clink-arg=-llog▼-Clink-arg=-lOpenSLES)

--- stderr
[......cargo\bin\registry\src\index.crates.io-6f17d22bba15001f\libsodium-sys-stable-1.22.1\build.rs:527:5] "Compiling for target:" = "Compiling for target:"
[......cargo\bin\registry\src\index.crates.io-6f17d22bba15001f\libsodium-sys-stable-1.22.1\build.rs:527:5] Target::get().name = "aarch64-linux-android"
thread 'main' panicked at ......cargo\bin\registry\src\index.crates.io-6f17d22bba15001f\libsodium-sys-stable-1.22.1\build.rs:626:13:
Unable to compile or find precompiled libsodium for target [aarch64-linux-android]: [Failed to run './configure': %1 is not a valid Win32 application. (os error 193)


Use the 'cargo zigbuild' command to cross-compile Rust code
with C dependencies such as libsodium.


]`

@FabianLars
Copy link
Member

This should be the most fitting upstream issue iotaledger/stronghold.rs#494

Unfortunately it's still a wontfix basically so there won't be a solution for your issue any time soon I assume.

@FabianLars FabianLars added bug Something isn't working status: upstream This issue needs to be fixed in an upstream project platform: android Android specific issues plugin: stronghold platform: windows Windows specific issues labels Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working platform: android Android specific issues platform: windows Windows specific issues plugin: stronghold status: upstream This issue needs to be fixed in an upstream project
Projects
None yet
Development

No branches or pull requests

2 participants