Control: reassign -1 linux-kbuild-6.3 6.3.11-1
Control: retitle -1 linux-kbuild-6.3: missing Breaks: 
linux-headers-6.3.0-1-common, ...
Control: affects -1 + nvidia-kernel-dkms
Control: severity -1 serious

[resending, the previous attempt didn't have the bug in To/Cc]

This error can be easily be reproduced by installing
linux-headers-amd64 and dkms-test-dkms in sid.
Can be reproduced in testing by installing these packages
from testing and only linux-kbuild-6.3 from sid.

DKMS make.log for dkms_test-1.0 for kernel 6.3.0-1-amd64 (x86_64)
Sun Jul  2 22:41:19 UTC 2023
make: Entering directory '/usr/src/linux-headers-6.3.0-1-amd64'
  CC [M]  /var/lib/dkms/dkms_test/1.0/build/dkms_test.o
  MODPOST /var/lib/dkms/dkms_test/1.0/build/Module.symvers
  CC [M]  /var/lib/dkms/dkms_test/1.0/build/dkms_test.mod.o
/var/lib/dkms/dkms_test/1.0/build/dkms_test.mod.c:10:10: fatal error: 
asm/orc_header.h: No such file or directory
   10 | #include <asm/orc_header.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** 
[/usr/src/linux-headers-6.3.0-1-common/scripts/Makefile.modfinal:29: 
/var/lib/dkms/dkms_test/1.0/build/dkms_test.mod.o] Error 1
make: *** [/usr/src/linux-headers-6.3.0-1-common/Makefile:1967: modules] Error 2
make: Leaving directory '/usr/src/linux-headers-6.3.0-1-amd64'

Another instance of this bug is the dkms autopkgtest regression on amd64:
https://ci.debian.net/data/autopkgtest/testing/amd64/d/dkms/35086312/log.gz

My suggestion is to add Breaks against these packages:

linux-headers-6.3.0-1-common (<< 6.3.11)
linux-headers-6.3.0-1-common-rt (<< 6.3.11)
linux-headers-6.3.0-0-common (<< 6.3.11)
linux-headers-6.3.0-0-common-rt (<< 6.3.11)

These can be removed for Linux 6.4, but maybe 6.4 needs
in linux-kbuild-6.4 similar Breaks against

linux-headers-6.4.0-0-common (<< $ver)
linux-headers-6.4.0-0-common-rt (<< $ver)

if a similar change as the one in 6.3.0-2 is yet to be
applied to 6.4.


This needs to be fixed before linux 6.3.0-2-* can migrate to testing,
otherwise it will break dkms module building for everyone still having
linux-headers-6.3.0-1-* installed (which is probably for the currently
running kernel).


Andreas

Reply via email to