godzie44 / BugStalker

Rust debugger for Linux x86-64
MIT License
554 stars 15 forks source link

Build fails on my Fedora 39 #1

Closed phideg closed 5 months ago

phideg commented 5 months ago

I tried running the project with

cargo run

Unfortunately it fails with the following build error

  --- stderr
  thread 'main' panicked at /home/phil/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unwind-sys-0.1.3/build.rs:16:55:
  called `Result::unwrap()` on an `Err` value: ParseIntError { kind: InvalidDigit }
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I figured that this is due to my libunwind version which is 1.7-rc1. The build.rs of unwind-sys wasn't prepared to deal with release candidates. It got fixed with following commit

The issue can be solved by updating unwind crate

-unwind = { version = "0.4.1", features = ["ptrace"], optional = true }
+unwind = { version = "0.4.2", features = ["ptrace"], optional = true }