Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1024309: Compilation fails with dh_install missing files

137 views
Skip to first unread message

Greek

unread,
Nov 17, 2022, 6:40:04 AM11/17/22
to
Package: libfprint-2-2
Source: libfprint
Version: 1:1.94.5-1
Severity: important

Dear Maintainer,

when compiling the source package in systems with systemd version >= 248, the compilation fails with:

dh_install: warning: Cannot find (any matches for) "lib/udev/hwdb.d/" (tried in ., debian/tmp)
dh_install: warning: libfprint-2-2 missing files: lib/udev/hwdb.d/
dh_install: error: missing files, aborting
make: *** [debian/rules:15: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

This is due to commit e7eaecedc6757800a9b4c795fea51f255d3a0efe (meson: Autodetect whether autosuspend rules are provided by udev), which installs the autosuspend file only on systems with systemd version < 248 (since systemd already provides this file).

A possible fix would be to change the 2 lines in 'debian/libfprint-2-2.install' from:
lib/udev/hwdb.d/
lib/udev/rules.d/

to:
lib/udev/
0 new messages