Package: kpatch-dkms
Version: 2.0.93-0.10
Severity: serious

When running kernel version 4.18.0-3-amd64 and building for
4.19.0-1-amd64, the build fails:

...
Setting up kpatch-dkms (0.6.0-0.1) ...
Loading new kpatch-0.6.0 DKMS files...
Building for 4.19.0-1-amd64
Building initial module for 4.19.0-1-amd64
Makefile:7: *** /lib/modules/4.18.0-3-amd64/build doesn\'t exist.  Try 
installing the kernel-devel-4.18.0-3-amd64 RPM or linux-headers-4.18.0-3-amd64 
DEB..  Stop.
make: *** [Makefile:27: clean] Error 2
...

The problem is that the CLEAN command specified in dkms.conf doesn't
set the KPATCH_BUILD variable, like the MAKE command does.

Ben.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kpatch-dkms depends on:
pn  dkms                 <none>
ii  linux-headers-amd64  4.19+101

kpatch-dkms recommends no packages.

kpatch-dkms suggests no packages.

Reply via email to