Re: [Buildroot] [PATCH 1/2] package/python-pyudev: depend on libudev instead of udev

Julien Olivain via buildroot <[email protected]>
Newsgroups net.busybox.buildroot
Message-ID <[email protected]>
On 08/08/2026 12:13, Thomas Petazzoni via buildroot wrote:
> Commit 3f24135c56f6aa8f0524307b7339512fecfa6f92 ("package/libinput:
> only needs libudev, not udev daemon") changed libinput to depend on
> libudev instead of udev.
> 
> However, BR2_PACKAGE_LIBINPUT_PYTHON_TOOLS selects
> BR2_PACKAGE_PYTHON_PYUDEV, which depends on udev, causing a broken
> dependency chain:
> 
> WARNING: unmet direct dependencies detected for 
> BR2_PACKAGE_PYTHON_PYUDEV
>   Depends on [n]: BR2_PACKAGE_PYTHON3 [=y] && BR2_PACKAGE_HAS_UDEV [=n]
>   Selected by [y]:
>   - BR2_PACKAGE_LIBINPUT_PYTHON_TOOLS [=y] && BR2_PACKAGE_LIBINPUT [=y] 
> && BR2_PACKAGE_PYTHON3 [=y]
> 
> Turns out that after experimenting, the majority of the pyudev
> functionality works fine with just libudev. Only pyudev.udev_version()
> has been detected as not working as it calls into udevadm. But the
> actual features to enumerate devices and get their characteristics
> just fine.
> 
> So, to fix the issue, we change the dependency of python-pyudev to
> just libudev instead of udev.
> 
> Signed-off-by: Thomas Petazzoni <[email protected]>

Series applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.