libudev-sys causing CI problems on github. Obsolete?
My CI builds are breaking on girls because of libudev-sys. https://github.com/N-of-1/meme_quicksilver/runs/444518021?check_suite_focus=true
This is from your upstream dependency which seems to be obsolete in newer Ubuntu? Not sure- apologies if I am mistaken.
'''
error: failed to run custom build command for libudev-sys v0.1.4
Caused by:
process didn't exit successfully: /home/runner/work/meme_quicksilver/meme_quicksilver/target/debug/build/libudev-sys-a2baf8f556bbfbfe/build-script-build
(exit code: 101)
--- stderr
thread 'main' panicked at 'called Result::unwrap()
on an Err
value: "\"pkg-config\" \"--libs\" \"--cflags\" \"libudev\"
did not exit successfully: exit code: 1\n--- stderr\nPackage libudev was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libudev.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'libudev' found\n"', src/libcore/result.rs:1165:5
'''
The reason I suspect it is outdated is this was not an issue until recently on github with "ubuntu-latest" build target. Numerous attempts can not surface a current apt dependency which will restore this library and complete the compilation (though it is still still available on my local Mint). I also see the following quote from https://www.freedesktop.org/software/systemd/man/libudev.html
"Furthermore, libudev also exports legacy APIs that should not be used by new software (and as such are not documented as part of this manual). This includes the hardware database known as udev_hwdb (please use the new sd-hwdb(3) API instead) and the udev_queue object to query the udev daemon (which should not be used by new software at all)."