Control: severity -1 important On Mon, 12 Jul 2021 19:24:56 +0200 Andreas Beckmann <a...@debian.org> wrote: > Package: kpatch-dkms > Version: 0.6.0-0.2 > Severity: serious > User: debian...@lists.debian.org > Usertags: piuparts > > kpatch-dkms fails to build a module for the latest kernel in stable. > > For more context on this change in the kernel, please see the > corresponding bug in iptables-netflow-dkms: > https://bugs.debian.org/990123 > > DKMS make.log for kpatch-0.6.0 for kernel 4.19.0-17-amd64 (x86_64) > Mon Jul 12 17:13:04 UTC 2021 > make: Entering directory '/var/lib/dkms/kpatch/0.6.0/build/kmod' > make -C core clean > make[1]: Entering directory '/var/lib/dkms/kpatch/0.6.0/build/kmod/core' > rm -f -Rf .*.o.cmd .*.ko.cmd .tmp_versions *.o *.ko *.mod.c \ > Module.symvers > make[1]: Leaving directory '/var/lib/dkms/kpatch/0.6.0/build/kmod/core' > make -C core > make[1]: Entering directory '/var/lib/dkms/kpatch/0.6.0/build/kmod/core' > make -C /lib/modules/4.19.0-17-amd64/build > M=/var/lib/dkms/kpatch/0.6.0/build/kmod/core kpatch.ko > make[2]: Entering directory '/var/lib/dkms/kpatch/0.6.0/build/kmod/core' > make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make > rule. > CC [M] /var/lib/dkms/kpatch/0.6.0/build/kmod/core/core.o > /var/lib/dkms/kpatch/0.6.0/build/kmod/core/core.c: In function > 'kpatch_find_external_symbol': > /var/lib/dkms/kpatch/0.6.0/build/kmod/core/core.c:661:8: error: implicit > declaration of function 'find_symbol'; did you mean 'sprint_symbol'? > [-Werror=implicit-function-declaration] > sym = find_symbol(name, NULL, NULL, true, true); > ^~~~~~~~~~~ > sprint_symbol > /var/lib/dkms/kpatch/0.6.0/build/kmod/core/core.c:661:6: warning: assignment > to 'const struct kernel_symbol *' from 'int' makes pointer from integer > without a cast [-Wint-conversion] > sym = find_symbol(name, NULL, NULL, true, true); > ^ > cc1: some warnings being treated as errors > make[5]: *** > [/usr/src/linux-headers-4.19.0-17-common/scripts/Makefile.build:309: > /var/lib/dkms/kpatch/0.6.0/build/kmod/core/core.o] Error 1 > make[4]: *** [/usr/src/linux-headers-4.19.0-17-common/Makefile:1738: > kpatch.ko] Error 2 > make[3]: *** [Makefile:146: sub-make] Error 2 > make[2]: *** [Makefile:8: all] Error 2 > make[2]: Leaving directory '/usr/src/linux-headers-4.19.0-17-amd64' > make[1]: *** [Makefile:13: kpatch.ko] Error 2 > make[1]: Leaving directory '/var/lib/dkms/kpatch/0.6.0/build/kmod/core' > make: *** [Makefile:7: all] Error 2 > make: Leaving directory '/var/lib/dkms/kpatch/0.6.0/build/kmod' > > Andreas >
kpatch 0.9.9 (currently in the delayed queue) is able to build patches for linux 6.1. I haven't tested linux 4.19, but given 4.19 is no longer included in any active debian release, I am reducing the severity of this issue. However, I think it can be safely closed, and will do so in some time (unless there is any objection). Cheers, -- Santiago
signature.asc
Description: PGP signature