Package: linux-source-6.6 Version: 6.6.15-2 Severity: grave Justification: renders package unusable
As I wanted: 1) to stay on long term kernel 6.6 branch, 2) 6.7.x has been uploaded to unstable already, 3) I would like to enable NTFS3, and AMD TEE I decided I will try to recompile the kernel myself first (I have MOK keys already registered and used to manually sign some external modules). I used the following debian documentation https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#s-common-getting https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#s-common-building cd linux-source-6.6 make localmodconfig and accepted the default values. Then make clean make bindeb-pkg And then it correctly builds the kernel and modules .ko file, then sign the ko and xz compress it to get foo.ko.xz. Here are extracts AR drivers/gpu/built-in.a AR drivers/built-in.a AR built-in.a AR vmlinux.a LD vmlinux.o OBJCOPY modules.builtin.modinfo GEN modules.builtin GEN .vmlinux.objs MODPOST Module.symvers CC .vmlinux.export.o UPD include/generated/utsversion.h CC init/version-timestamp.o LD .tmp_vmlinux.btf BTF .btf.vmlinux.bin.o LD .tmp_vmlinux.kallsyms1 NM .tmp_vmlinux.kallsyms1.syms KSYMS .tmp_vmlinux.kallsyms1.S AS .tmp_vmlinux.kallsyms1.S LD .tmp_vmlinux.kallsyms2 NM .tmp_vmlinux.kallsyms2.syms KSYMS .tmp_vmlinux.kallsyms2.S AS .tmp_vmlinux.kallsyms2.S LD vmlinux BTFIDS vmlinux NM System.map SORTTAB vmlinux RELOCS arch/x86/boot/compressed/vmlinux.relocs RSTRIP vmlinux ... SIGN debian/linux-image/lib/modules/6.6.15/kernel/net/bluetooth/bluetooth.ko XZ debian/linux-image/lib/modules/6.6.15/kernel/net/bluetooth/bluetooth.ko.xz INSTALL debian/linux-image/lib/modules/6.6.15/kernel/net/bluetooth/rfcomm/rfcomm.ko SIGN debian/linux-image/lib/modules/6.6.15/kernel/net/bluetooth/rfcomm/rfcomm.ko XZ debian/linux-image/lib/modules/6.6.15/kernel/net/bluetooth/rfcomm/rfcomm.ko.xz INSTALL debian/linux-image/lib/modules/6.6.15/kernel/net/bluetooth/bnep/bnep.ko SIGN debian/linux-image/lib/modules/6.6.15/kernel/net/bluetooth/bnep/bnep.ko XZ debian/linux-image/lib/modules/6.6.15/kernel/net/bluetooth/bnep/bnep.ko.xz INSTALL debian/linux-image/lib/modules/6.6.15/kernel/net/rfkill/rfkill.ko SIGN debian/linux-image/lib/modules/6.6.15/kernel/net/rfkill/rfkill.ko XZ debian/linux-image/lib/modules/6.6.15/kernel/net/rfkill/rfkill.ko.xz INSTALL debian/linux-image/lib/modules/6.6.15/kernel/virt/lib/irqbypass.ko SIGN debian/linux-image/lib/modules/6.6.15/kernel/virt/lib/irqbypass.ko XZ debian/linux-image/lib/modules/6.6.15/kernel/virt/lib/irqbypass.ko.xz DEPMOD debian/linux-image/lib/modules/6.6.15 INSTALL debian/linux-libc-dev/usr/include But then it tries to sign again the modules using the .ko file that does not exist: ls -l debian/linux-image/lib/modules/6.6.15/kernel/arch/x86/events/*.ko* -rw-rw-r-- 1 valette valette 103484 9 mars 19:39 debian/linux-image/lib/modules/6.6.15/kernel/arch/x86/events/rapl.ko.xz And fails with: SIGN debian/linux-image/lib/modules/6.6.15/kernel/arch/x86/events/rapl.ko At main.c:298: - SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67 - SSL error:10000080:BIO routines::no such file: ../crypto/bio/bss_file.c:75 sign-file: debian/linux-image/lib/modules/6.6.15/kernel/arch/x86/events/rapl.ko make[6]: *** [scripts/Makefile.modinst:137 : debian/linux-image/lib/modules/6.6.15/kernel/arch/x86/events/rapl.ko] Erreur 1 make[5]: *** [Makefile:1846 : modules_install] Erreur 2 make[4]: *** [Makefile:2061 : run-command] Erreur 2 make[3]: *** [debian/rules:17 : binary-arch] Erreur 2 dpkg-buildpackage: erreur: le sous-processus make -f debian/rules binary a retourné lâ\x80\x99état de sortie 2 make[2]: *** [scripts/Makefile.package:146 : bindeb-pkg] Erreur 2 make[1]: *** [/usr/src/linux-source-6.6/Makefile:1563 : bindeb-pkg] Erreur 2 make: *** [Makefile:246 : __sub-make] Erreur 2 -- System Information: Debian Release: trixie/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.6.15-amd64 (SMP w/16 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE Locale: LANG=fr_FR.UTF8, LC_CTYPE=fr_FR.UTF8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages linux-source-6.6 depends on: ii binutils 2.42-3 ii xz-utils 5.6.0-0.2 Versions of packages linux-source-6.6 recommends: ii bc 1.07.1-3+b1 ii bison 2:3.8.2+dfsg-1+b1 ii build-essential 12.10 ii cpio 2.15+dfsg-1 ii flex 2.6.4-8.2+b2 ii kmod 32-1 ii libelf-dev 0.190-1.1 ii libssl-dev 3.2.1-2 ii linux-config-6.6 6.6.15-2 ii rsync 3.2.7-1+b1 Versions of packages linux-source-6.6 suggests: ii libncurses-dev [ncurses-dev] 6.4+20240113-1 ii pkg-config 1.8.1-2 ii pkgconf [pkg-config] 1.8.1-2 ii qtbase5-dev 5.15.10+dfsg-7.2 -- no debconf information