On 1/13/24 08:22, Mariusz Pielat wrote: > Hello, > > I've tried to enable and build the usbutils package in PTXDIST-2023.07.0 > and it was not possible due to unfulfilled requirements. > > In the given PTXDIST version the usbutils rulefile points to version > 015. According to usbutils/configure.ac <http://configure.ac> it > requires libudev in version 196 or higher > (https://github.com/gregkh/usbutils/blob/v015/configure.ac#L20 > <https://github.com/gregkh/usbutils/blob/v015/configure.ac#L20>). > PTXDIST rulefile for the udev package points to version 182, so it's > lower than required. > > I can see that the problem exists for newer PTXDIST versions as well. > > So far I didn't work on that issue - just reporting. >
Hi, Thanks for reporting. I think this has been missed for a long time, the blame line for version 196 claims it's 11 years old... usbutils seem to use it for the hwdb implementation. This hasn't triggered because I think most targets are systemd based. And that hwdb implementation should work fine. I have locally been running eudev instead of udev as a drop in replacement for ages. And that one works fine too. I think the correct solution here is to use eudev (which is actively developed still) and drop udev-182 (12 something years old by now?) or just drop legacy builds without systemd altogether. I'm not really a fan of the latter, but the argument against it increases as time passes by. I could post the eudev drop in replacement bump (probably needs some more work), but I'm unsure if people in general thinks it's worth the hassle. Regards, Christian > Best Regards, > Mariusz >
