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

build with RustOver: failed to run custom build command for hidapi v2.6.1 #35705

Closed
chzhongsending opened this issue Dec 6, 2024 · 1 comment

Comments

@chzhongsending
Copy link

OS: Ubuntu 22.04
Git revision: 27eff84
IDE: RustOver 2024.3
rustc 1.76.0 (07dca489a 2024-02-04)
cargo 1.76.0 (c84b36747 2024-01-18)

HI

I cloned the source from https://github.com/solana-labs/solana at master branch, followed README and compiled the project successfully in the terminal.
But when I open the project with RustOver, the IDE says build failure for hidapi v2.6.1:

error: failed to run custom build command for `hidapi v2.6.1`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
  process didn't exit successfully: `/mnt/library/workspace/solana-tools/solana/target/debug/build/hidapi-1facc6edf0acd91e/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at /home/$USER/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hidapi-2.6.1/build.rs:113:9:
  Exactly one linux hidapi backend must be selected.
  stack backtrace:
     0: rust_begin_unwind
               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
     1: core::panicking::panic_fmt
               at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
     2: build_script_build::compile_linux
     3: build_script_build::main
     4: core::ops::function::FnOnce::call_once
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Did I misconfigured something?

Copy link
Contributor

github-actions bot commented Dec 6, 2024

This repository is no longer in use. Please re-open this issue in the agave repo: https://github.com/anza-xyz/agave

@github-actions github-actions bot closed this as completed Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant