Debdiff to enable support for both 6.8 and 6.14 kernels. ** Description changed:
[ Impact ] DKMS make.log for gost-crypto-0.3.5 for kernel 6.14.0-15-generic (x86_64) Fri May 16 20:55:48 UTC 2025 make: Entering directory '/usr/src/linux-headers-6.14.0-15-generic' make[1]: Entering directory '/var/lib/dkms/gost-crypto/0.3.5/build' warning: the compiler differs from the one used to build the kernel - The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 - You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 - CC [M] gost28147_basic.o - CC [M] gost28147_modes.o - CC [M] gosthash94_generic.o - CC [M] kuznyechik_generic.o + The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 + You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 + CC [M] gost28147_basic.o + CC [M] gost28147_modes.o + CC [M] gosthash94_generic.o + CC [M] kuznyechik_generic.o kuznyechik_generic.c:15:10: fatal error: asm/unaligned.h: No such file or directory - 15 | #include <asm/unaligned.h> - | ^~~~~~~~~~~~~~~~~ + 15 | #include <asm/unaligned.h> + | ^~~~~~~~~~~~~~~~~ compilation terminated. gosthash94_generic.c:34:10: fatal error: asm/unaligned.h: No such file or directory - 34 | #include <asm/unaligned.h> - | ^~~~~~~~~~~~~~~~~ + 34 | #include <asm/unaligned.h> + | ^~~~~~~~~~~~~~~~~ compilation terminated. make[3]: *** [/usr/src/linux-headers-6.14.0-15-generic/scripts/Makefile.build:207: kuznyechik_generic.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [/usr/src/linux-headers-6.14.0-15-generic/scripts/Makefile.build:207: gosthash94_generic.o] Error 1 gost28147_modes.c:41:10: fatal error: asm/unaligned.h: No such file or directory - 41 | #include <asm/unaligned.h> - | ^~~~~~~~~~~~~~~~~ + 41 | #include <asm/unaligned.h> + | ^~~~~~~~~~~~~~~~~ compilation terminated. gost28147_basic.c:42:10: fatal error: asm/unaligned.h: No such file or directory - 42 | #include <asm/unaligned.h> - | ^~~~~~~~~~~~~~~~~ + 42 | #include <asm/unaligned.h> + | ^~~~~~~~~~~~~~~~~ compilation terminated. make[3]: *** [/usr/src/linux-headers-6.14.0-15-generic/scripts/Makefile.build:207: gost28147_modes.o] Error 1 make[3]: *** [/usr/src/linux-headers-6.14.0-15-generic/scripts/Makefile.build:207: gost28147_basic.o] Error 1 make[2]: *** [/usr/src/linux-headers-6.14.0-15-generic/Makefile:1999: .] Error 2 make[1]: *** [/usr/src/linux-headers-6.14.0-15-generic/Makefile:251: __sub-make] Error 2 make[1]: Leaving directory '/var/lib/dkms/gost-crypto/0.3.5/build' make: *** [Makefile:251: __sub-make] Error 2 make: Leaving directory '/usr/src/linux-headers-6.14.0-15-generic' [ Test case ] Install the latest linux-6.14 kernel on Noble: $ sudo add-apt-repository ppa:canonical-kernel-team/ppa $ sudo apt install linux-generic-hwe-24.04-wip Install gost-crypto-dkms: $ sudo apt install gost-crypto-dkms + Load the module: + + $ sudo modprobe gost28147_generic + $ sudo modprobe gosthash94_generic + $ sudo modprobe kuznyechik_generic + $ sudo modprobe magma_generic + $ sudo modprobe streebog_generic + $ sudo modprobe gost-test + The same procedure can be repeated on linux-6.8 to test for possible regressions. [ Fix ] + Apply patches from gost-crypto-dkms from Plucky release: + + * debian/patches/move-asm_unaligned-to-linux_unaligned-linux-6.12.patch + * debian/patches/convert-symbol-namespace-to-string-literal-linux-6.13.patch + [ Regression potential ] We may experience regressions in systems that are using the gost-crypto drivers, especially with kernels >= 6.8 kernel. ** Patch added: "gost-crypto-support-noble-6.14.debdiff" https://bugs.launchpad.net/ubuntu/+source/gost-crypto/+bug/2111128/+attachment/5878052/+files/gost-crypto-support-noble-6.14.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2111128 Title: gost-crypto-dkms FTBS in Noble with the linux-6.14-hwe kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gost-crypto/+bug/2111128/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs