Missing dependency declaration for `dh-dkms` ?
I tried to make package-deb, had installed the packages mentioned in the readme, but it still failed:
$ LANG=C make package-deb
debuild --no-sign
dpkg-buildpackage -us -uc -ui
dpkg-buildpackage: info: source package tuxedo-drivers
dpkg-buildpackage: info: source version 4.12.1
dpkg-buildpackage: info: source distribution noble
dpkg-buildpackage: info: source changed by Werner Sembach <tux@tuxedocomputers.com>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
dpkg-checkbuilddeps: error: Unmet build dependencies: dh-sequence-dkms
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
debuild: fatal error at line 1184:
dpkg-buildpackage -us -uc -ui failed
make: *** [Makefile:50: package-deb] Error 29
I found only 1 search result on the web with that: https://github.com/frankcrawford/it87/pull/31
I installed apt install dh-dkms then and afterwards the make step completed:
$ LANG=C make package-deb
debuild --no-sign
dpkg-buildpackage -us -uc -ui
dpkg-buildpackage: info: source package tuxedo-drivers
dpkg-buildpackage: info: source version 4.12.1
dpkg-buildpackage: info: source distribution noble
dpkg-buildpackage: info: source changed by Werner Sembach <tux@tuxedocomputers.com>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean
dh_clean
dpkg-source -b .
dpkg-source: info: using source format '3.0 (native)'
dpkg-source: info: building tuxedo-drivers in tuxedo-drivers_4.12.1.tar.xz
dpkg-source: info: building tuxedo-drivers in tuxedo-drivers_4.12.1.dsc
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
create-stamp debian/debhelper-build-stamp
dh_prep
debian/rules override_dh_install
make[1]: Entering directory '/home/nickv/Downloads/tuxedo-drivers-main'
dh_install src/. -X*.cmd -X*.d -X*.ko -X*.mod -X*.mod.c -X*.o -Xmodules.order -Xdkms.conf usr/src/tuxedo-drivers-4.12.1
dh_install tuxedo_keyboard.conf /etc/modprobe.d
dh_install 99-z-tuxedo-systemd-fix.rules /usr/lib/udev/rules.d
dh_install 99-infinityflex-touchpanel-toggle.rules /usr/lib/udev/rules.d
dh_install 61-sensor-infinityflex.hwdb /usr/lib/udev/hwdb.d
make[1]: Leaving directory '/home/nickv/Downloads/tuxedo-drivers-main'
dh_installdocs
dh_installchangelogs
debian/rules override_dh_dkms
make[1]: Entering directory '/home/nickv/Downloads/tuxedo-drivers-main'
dh_dkms -V
make[1]: Leaving directory '/home/nickv/Downloads/tuxedo-drivers-main'
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_fixperms
dh_missing
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'tuxedo-drivers' in '../tuxedo-drivers_4.12.1_all.deb'.
dpkg-genbuildinfo -O../tuxedo-drivers_4.12.1_amd64.buildinfo
dpkg-genchanges -O../tuxedo-drivers_4.12.1_amd64.changes
dpkg-genchanges: info: including full source code in upload
dpkg-source --after-build .
dpkg-buildpackage: info: full upload; Debian-native package (full source is included)
Now running lintian tuxedo-drivers_4.12.1_amd64.changes ...
Finished running lintian.
Did I do something wrong? Are you missing to declare the pre-requirement in the readme? Or should it be a dependency to the package somehow as in the GitHub link I found?