-
I basically followed https://solokeys.com/pages/firmware-update-on-a-mac but for Linux, in a Fedora 40 container (toolbox):
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
You might need to install something like |
Beta Was this translation helpful? Give feedback.
-
Ah okay, $ RUST_BACKTRACE=1 cargo install solo2
Updating crates.io index
Installing solo2 v0.2.2
Updating crates.io index
Locking 255 packages to latest compatible versions
Adding asn1-rs v0.5.2 (latest: v0.6.1)
Adding asn1-rs-derive v0.4.0 (latest: v0.5.0)
Adding asn1-rs-impl v0.1.0 (latest: v0.2.0)
Adding base64 v0.13.1 (latest: v0.22.1)
Adding base64 v0.21.7 (latest: v0.22.1)
Adding bitflags v1.3.2 (latest: v2.6.0)
Adding cfg_aliases v0.1.1 (latest: v0.2.1)
Adding const-oid v0.7.1 (latest: v0.9.6)
Adding crypto-bigint v0.3.2 (latest: v0.5.5)
Adding der v0.5.1 (latest: v0.7.9)
Adding der-parser v8.2.0 (latest: v9.0.0)
Adding dialoguer v0.10.4 (latest: v0.11.0)
Adding encode_unicode v0.3.6 (latest: v1.0.0)
Adding enum-iterator v1.5.0 (latest: v2.1.0)
Adding env_logger v0.7.1 (latest: v0.11.3)
Adding generic-array v0.14.7 (latest: v1.1.0)
Adding hash32 v0.2.1 (latest: v0.3.1)
Adding heapless v0.7.17 (latest: v0.8.0)
Adding hermit-abi v0.1.19 (latest: v0.4.0)
Adding hex-literal v0.3.4 (latest: v0.4.1)
Adding humantime v1.3.0 (latest: v2.1.0)
Adding idna v0.5.0 (latest: v1.0.2)
Adding jni-sys v0.3.0 (latest: v0.4.0)
Adding libloading v0.5.2 (latest: v0.8.4)
Adding linux-raw-sys v0.4.14 (latest: v0.6.4)
Adding malloc_buf v0.0.6 (latest: v1.0.0)
Adding nix v0.28.0 (latest: v0.29.0)
Adding num-bigint v0.2.6 (latest: v0.4.6)
Adding oid-registry v0.6.1 (latest: v0.7.0)
Adding pem v1.1.1 (latest: v3.0.4)
Adding pem-rfc7468 v0.3.1 (latest: v0.7.0)
Adding pkcs1 v0.3.3 (latest: v0.7.5)
Adding pkcs8 v0.8.0 (latest: v0.10.2)
Adding pretty_env_logger v0.4.0 (latest: v0.5.0)
Adding quick-error v1.2.3 (latest: v2.0.1)
Adding raw-window-handle v0.5.2 (latest: v0.6.2)
Adding ring v0.16.20 (latest: v0.17.8)
Adding rsa v0.6.1 (latest: v0.9.6)
Adding serde-big-array v0.4.1 (latest: v0.5.1)
Adding signature v1.6.4 (latest: v2.2.0)
Adding spin v0.5.2 (latest: v0.9.8)
Adding spki v0.5.4 (latest: v0.7.3)
Adding syn v1.0.109 (latest: v2.0.69)
Adding synstructure v0.12.6 (latest: v0.13.1)
Adding toml v0.5.11 (latest: v0.8.14)
Adding untrusted v0.7.1 (latest: v0.9.0)
Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
Adding webbrowser v0.8.15 (latest: v1.0.1)
Adding windows-core v0.52.0 (latest: v0.58.0)
Adding windows-sys v0.45.0 (latest: v0.52.0)
Adding windows-sys v0.48.0 (latest: v0.52.0)
Adding windows-targets v0.42.2 (latest: v0.52.6)
Adding windows-targets v0.48.5 (latest: v0.52.6)
Adding windows_aarch64_gnullvm v0.42.2 (latest: v0.52.6)
Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6)
Adding windows_aarch64_msvc v0.42.2 (latest: v0.52.6)
Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6)
Adding windows_i686_gnu v0.42.2 (latest: v0.52.6)
Adding windows_i686_gnu v0.48.5 (latest: v0.52.6)
Adding windows_i686_msvc v0.42.2 (latest: v0.52.6)
Adding windows_i686_msvc v0.48.5 (latest: v0.52.6)
Adding windows_x86_64_gnu v0.42.2 (latest: v0.52.6)
Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6)
Adding windows_x86_64_gnullvm v0.42.2 (latest: v0.52.6)
Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6)
Adding windows_x86_64_msvc v0.42.2 (latest: v0.52.6)
Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6)
Adding x509-parser v0.14.0 (latest: v0.16.0)
Compiling proc-macro2 v1.0.86
Compiling unicode-ident v1.0.12
Compiling autocfg v1.3.0
Compiling libc v0.2.155
Compiling cc v1.0.106
Compiling cfg-if v1.0.0
Compiling typenum v1.17.0
Compiling version_check v0.9.4
Compiling scopeguard v1.2.0
Compiling libm v0.2.8
Compiling subtle v2.6.1
Compiling log v0.4.22
Compiling heck v0.5.0
Compiling memchr v2.7.4
Compiling utf8parse v0.2.2
Compiling anstyle v1.0.7
Compiling colorchoice v1.0.1
Compiling is_terminal_polyfill v1.70.0
Compiling syn v1.0.109
Compiling anstyle-parse v0.2.4
Compiling pkg-config v0.3.30
Compiling anstyle-query v1.1.0
Compiling clap_lex v0.7.1
Compiling strsim v0.11.1
Compiling anstream v0.6.14
Compiling itoa v1.0.11
Compiling serde v1.0.204
Compiling zeroize v1.8.1
Compiling generic-array v0.14.7
Compiling num-conv v0.1.0
Compiling semver v1.0.23
Compiling lock_api v0.4.12
Compiling num-traits v0.2.19
Compiling clap_builder v4.5.8
Compiling minimal-lexical v0.2.1
Compiling powerfmt v0.2.0
Compiling thiserror v1.0.61
Compiling unicode-xid v0.2.4
Compiling base64ct v1.6.0
Compiling time-core v0.1.2
Compiling time-macros v0.2.18
Compiling nom v7.1.3
Compiling quote v1.0.36
Compiling deranged v0.3.11
Compiling spin v0.9.8
Compiling pem-rfc7468 v0.3.1
Compiling const-oid v0.7.1
Compiling syn v2.0.69
Compiling lazy_static v1.5.0
Compiling tinyvec_macros v0.1.1
Compiling const-oid v0.9.6
Compiling num-integer v0.1.46
Compiling byteorder v1.5.0
Compiling percent-encoding v2.3.1
Compiling getrandom v0.2.15
Compiling crypto-common v0.1.6
Compiling block-buffer v0.10.4
Compiling crypto-bigint v0.3.2
Compiling tinyvec v1.7.0
Compiling digest v0.10.7
Compiling rand_core v0.6.4
Compiling num-bigint v0.2.6
Compiling ring v0.17.8
Compiling hidapi v2.6.1
Compiling libloading v0.5.2
Compiling ppv-lite86 v0.2.17
Compiling once_cell v1.19.0
Compiling bitflags v2.6.0
Compiling delog v0.1.7
Compiling der v0.5.1
Compiling rand_chacha v0.3.1
Compiling rustc_version v0.4.0
Compiling ring v0.16.20
Compiling unicode-normalization v0.1.23
Compiling inout v0.1.3
Compiling aho-corasick v1.1.3
Compiling rusticata-macros v4.1.0
Compiling time v0.3.36
Compiling cfg_aliases v0.1.1
Compiling ryu v1.0.18
Compiling oid-registry v0.6.1
Compiling rustls-pki-types v1.7.0
Compiling portable-atomic v1.6.0
Compiling spki v0.5.4
Compiling unicode-bidi v0.3.15
Compiling num-bigint-dig v0.8.4
Compiling rustix v0.38.34
Compiling serde_json v1.0.120
Compiling regex-syntax v0.8.4
Compiling cpufeatures v0.2.12
Compiling anyhow v1.0.86
Compiling untrusted v0.9.0
Compiling unicode-width v0.1.13
Compiling console v0.15.8
Compiling idna v0.5.0
Compiling pkcs8 v0.8.0
Compiling nix v0.28.0
Compiling heapless v0.7.17
Compiling synstructure v0.12.6
Compiling cipher v0.4.4
Compiling rand v0.8.5
Compiling num-bigint v0.4.6
Compiling num-iter v0.1.45
Compiling form_urlencoded v1.2.1
Compiling atty v0.2.14
Compiling pcsc-sys v1.2.1
Compiling regex-automata v0.4.7
Compiling fnv v1.0.7
Compiling adler v1.0.2
Compiling quick-error v1.2.3
Compiling rustls v0.23.10
Compiling hashbrown v0.14.5
Compiling base64 v0.13.1
Compiling untrusted v0.7.1
Compiling spin v0.5.2
Compiling equivalent v1.0.1
Compiling linux-raw-sys v0.4.14
Compiling smallvec v1.13.2
Compiling pkcs11 v0.5.0
Compiling miniz_oxide v0.7.4
Compiling indexmap v2.2.6
Compiling uriparse v0.6.4
Compiling humantime v1.3.0
Compiling clap_derive v4.5.8
Compiling serde_derive v1.0.204
Compiling thiserror-impl v1.0.61
Compiling asn1-rs-derive v0.4.0
Compiling asn1-rs-impl v0.1.0
Compiling displaydoc v0.2.5
Compiling regex v1.10.5
Compiling enum-iterator-derive v1.4.0
Compiling asn1-rs v0.5.2
Compiling clap v4.5.8
Compiling clap-verbosity-flag v2.2.0
Compiling clap_complete v4.5.7
error: failed to run custom build command for `pcsc-sys v1.2.1`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
process didn't exit successfully: `/tmp/cargo-installITdTjU/release/build/pcsc-sys-58d8b651d0edbab9/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=LIBPCSCLITE_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=LIBPCSCLITE_STATIC
cargo:rerun-if-env-changed=LIBPCSCLITE_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
--- stderr
thread 'main' panicked at /var/home/rugk/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pcsc-sys-1.2.1/build.rs:32:25:
Could not find a PCSC library.
For the target OS `linux`, I tried to use pkg-config to find libpcsclite.
Do you have pkg-config and libpcsclite configured for this target?
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: build_script_build::main::{{closure}}
3: core::result::Result<T,E>::unwrap_or_else
4: build_script_build::main
5: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `solo2 v0.2.2`, intermediate artifacts can be found at `/tmp/cargo-installITdTjU`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path. |
Beta Was this translation helpful? Give feedback.
Try installing
pcsc-lite-devel
orpcsc-lite
.