Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

udev rules now need systemd-dev package on Debian unstable #62

Closed
toupeira opened this issue Aug 22, 2024 · 2 comments
Closed

udev rules now need systemd-dev package on Debian unstable #62

toupeira opened this issue Aug 22, 2024 · 2 comments
Assignees
Milestone

Comments

@toupeira
Copy link

Hi there,

I just upgraded Overwitch for the first time in a while, and noticed that the udev rules weren't getting installed.

It turns out that the pkg-config file /usr/share/pkgconfig/udev.pc was moved from udev to systemd-dev, so after installing that package (and regenerating the Makefile) it worked again.

Looks like this was changed in version 253-2 of the udev / systemd-dev packages and affects both Debian testing and unstable.

@dagargo dagargo self-assigned this Aug 22, 2024
@dagargo dagargo added this to the 1.2 milestone Aug 26, 2024
@dagargo
Copy link
Owner

dagargo commented Aug 26, 2024

Thanks for reporting.

I can confirm this. Nothing was being installed on Debian testing (Trixie).

overwitch/udev$ sudo make install
 cd .. && /bin/bash /home/user/Desarrollo/git/overwitch/missing automake-1.16 --gnu udev/Makefile
 cd .. && /bin/bash ./config.status udev/Makefile 
config.status: creating udev/Makefile
make[1]: se entra en el directorio '/home/user/Desarrollo/git/overwitch/udev'
make[1]: No se hace nada para 'install-exec-am'.
make[1]: se sale del directorio '/home/user/Desarrollo/git/overwitch/udev'

As explained, the solution is to install the aforementioned package systemd-dev. After running the usual installation commands, running sudo make install from the udev directory installs the rules.

overwitch$ autoreconf
overwitch$ ./configure
[...]
overwitch/udev$ sudo make install
make[1]: se entra en el directorio '/home/user/Desarrollo/git/overwitch/udev'
make[1]: No se hace nada para 'install-exec-am'.
 /usr/bin/mkdir -p '/usr/lib/udev/hwdb.d'
 /usr/bin/install -c -m 644 20-usb-elektron.hwdb '/usr/lib/udev/hwdb.d'
 /usr/bin/mkdir -p '/usr/lib/udev/rules.d'
 /usr/bin/install -c -m 644 20-usb-elektron.rules '/usr/lib/udev/rules.d'
make  install-data-hook
make[2]: se entra en el directorio '/home/user/Desarrollo/git/overwitch/udev'
make[2]: se sale del directorio '/home/user/Desarrollo/git/overwitch/udev'
make[1]: se sale del directorio '/home/user/Desarrollo/git/overwitch/udev'

Installations updated in 92a6cda.

Can you confirm this solution addresses your issue, @toupeira?

@toupeira
Copy link
Author

@dagargo yes that looks great, I'll go ahead and close. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants