Public bug reported:
[Impact]
gost-crypto-dkms does not compile from source in Plucky with kernel
6.14:
magma_generic.c:14:10: fatal error: asm/unaligned.h: No such file or directory
14 | #include <asm/unaligned.h>
| ^~~~~~~~~~~~~~~~~
gosthash94_generic.c:34:10: fatal error: asm/unaligned.h: No such file or
directory
34 | #include <asm/unaligned.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
kuznyechik_generic.c:15:10: fatal error: asm/unaligned.h: No such file or
directory
15 | #include <asm/unaligned.h>
| ^~~~~~~~~~~~~~~~~
gost28147_basic.c:42:10: fatal error: asm/unaligned.h: No such file or directory
42 | #include <asm/unaligned.h>
| ^~~~~~~~~~~~~~~~~
In file included from
/usr/src/linux-headers-6.14.0-5-generic/include/linux/module.h:22,
from testmgr.c:27:
testmgr.c:35:18: error: expected ‘,’ or ‘;’ before ‘CRYPTO_INTERNAL’
35 | MODULE_IMPORT_NS(CRYPTO_INTERNAL);
| ^~~~~~~~~~~~~~~
/usr/src/linux-headers-6.14.0-5-generic/include/linux/moduleparam.h:26:61:
note: in definition of macro ‘__MODULE_INFO’
26 | = __MODULE_INFO_PREFIX __stringify(tag) "=" info
| ^~~~
/usr/src/linux-headers-6.14.0-5-generic/include/linux/module.h:299:33: note: in
expansion of macro ‘MODULE_INFO’
299 | #define MODULE_IMPORT_NS(ns) MODULE_INFO(import_ns, ns)
| ^~~~~~~~~~~
testmgr.c:35:1: note: in expansion of macro ‘MODULE_IMPORT_NS’
35 | MODULE_IMPORT_NS(CRYPTO_INTERNAL);
| ^~~~~~~~~~~~~~~~
[ Test case ]
Verify that Plucky is running on 6.14 kernel:
$ uname -r
6.14.0-X-generic
Install gost-crypto-dkms:
$ sudo apt install gost-crypto-dkms
Load the module:
$ sudo modprobe gost-test
[Fix]
Patch the code to properly support Linux 6.14.
** Affects: gost-crypto (Ubuntu)
Importance: Undecided
Assignee: Massimiliano Pellizzer (mpellizzer)
Status: In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2100837
Title:
gost-crypto-dkms FTBFS in Plucky with 6.14 kernel
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gost-crypto/+bug/2100837/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs