Package: kdbus-dkms
Version: 0.20150824t110616.0c05fbd-1
Severity: serious
User: [email protected]
Usertags: piuparts
Hi,
kdbus-dkms fails to install since it cannot build a module
for the current sid kernel. This is a test on a stretch host (3.16.0-4)
in a sid chroot with linux-headers-amd64 (4.1.0-2) installed:
[...]
Selecting previously unselected package kdbus-dkms.
Preparing to unpack .../kdbus-dkms_0.20150824t110616.0c05fbd-1_all.deb ...
Unpacking kdbus-dkms (0.20150824t110616.0c05fbd-1) ...
Setting up libkmod2:amd64 (21-1) ...
Setting up kmod (21-1) ...
Setting up dkms (2.2.0.3-2) ...
Setting up kdbus-dkms (0.20150824t110616.0c05fbd-1) ...
Loading new kdbus-20150824t110616.0c05fbd DKMS files...
First Installation: checking all kernels...
dpkg: warning: version '*-*' has bad syntax: version number does not start with
digit
It is likely that 3.16.0-4-amd64 belongs to a chroot's host
Building initial module for 4.1.0-2-amd64
Error! Bad return status for module build on kernel: 4.1.0-2-amd64 (x86_64)
Consult /var/lib/dkms/kdbus/20150824t110616.0c05fbd/build/make.log for more
information.
Processing triggers for libc-bin (2.19-20) ...
Let's do it manually:
# dkms build -m kdbus/20150824t110616.0c05fbd -k 4.1.0-2-amd64
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=4.1.0-2-amd64 KVER=4.1.0-2-amd64....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.1.0-2-amd64 (x86_64)
Consult /var/lib/dkms/kdbus/20150824t110616.0c05fbd/build/make.log for more
information.
and from make.log:
DKMS make.log for kdbus-20150824t110616.0c05fbd for kernel 4.1.0-2-amd64
(x86_64)
Sun Sep 20 11:46:25 UTC 2015
make -C /lib/modules/3.16.0-4-amd64/build
M=/var/lib/dkms/kdbus/20150824t110616.0c05fbd/build
EXTRA_CFLAGS="-I/var/lib/dkms/kdbus/20150824t110616.0c05fbd/build/include
-DKDBUS_SUPER_MAGIC=0x4442757" \
HOST_EXTRACFLAGS="-I/var/lib/dkms/kdbus/20150824t110616.0c05fbd/build/usr/include"
KDBUS_EXT= \
CONFIG_KDBUS=m CONFIG_SAMPLES=y CONFIG_SAMPLE_KDBUS=y
make[1]: *** /lib/modules/3.16.0-4-amd64/build: No such file or directory.
Stop.
Makefile:50: recipe for target 'module' failed
make: *** [module] Error 2
Andreas