Description
Bug Description
Build fails because system library libudev was not found
Steps to Reproduce
Follow the instructions for other distros
Additional Information
Distro: Pop Os 24.04 (alpha)
After running "sudo apt install libudev-dev" the build script finished and I was able to install the applet.
So maybe this should be added to the instructions if this is not an issue specific to me and/or the Pop Os alpha.
Logs
thread 'main' panicked at /home/deck/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libudev-sys-0.1.4/build.rs:38:41:
called Result::unwrap()
on an Err
value: "\npkg-config exited with status code 1\n> PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags libudev\n\nThe system library libudev
required by crate libudev-sys
was not found.\nThe file libudev.pc
needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.\nThe PKG_CONFIG_PATH environment variable is not set.\n\nHINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing libudev.pc
.\n"
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
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.
warning: build failed, waiting for other jobs to finish...
error: Recipe build-release
failed on line 26 with exit code 101