falcosecurity-scap-dkms failed to build on N-oem-6.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned | ||
falcosecurity-libs (Ubuntu) |
In Progress
|
Undecided
|
GuoqingJiang | ||
linux-oem-6.10 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This DKMS is required for ubuntu_
Build log:
DKMS make.log for scap-0.15.1 for kernel 6.10.0-1005-oem (x86_64)
Thu Jun 27 04:29:18 UTC 2024
make: Entering directory '/usr/src/
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-
You are using: gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
[configure-kmod] Including /var/lib/
[configure-kmod] Setting HAS_DEVNODE_
[configure-kmod] Setting HAS_ACCESS_OK_2 flag
[configure-kmod] Setting HAS_CLASS_CREATE_1 flag
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
/var/lib/
353 | uint64_t nsec_to_
| ^~~~~~~~~~~~~~~
/var/lib/
/var/lib/
1653 | !fd_is_
| ^~~~~~~~~~
| finish_open
/var/lib/
/var/lib/
2829 | int scap_init(void)
| ^~~~~~~~~
/var/lib/
2992 | void scap_exit(void)
| ^~~~~~~~~
/var/lib/
509 | struct file *ppm_get_
| ^~~~~~~~~~~~~~~~~~~
/var/lib/
550 | unsigned long ppm_get_
| ^~~~~~~~~~~~~~~~~~
/var/lib/
728 | int accumulate_
| ^~~~~~~
/var/lib/
874 | bool ppm_is_
| ^~~~~~~~~~~~~~~~~~
/var/lib/
2269 | int f_sys_send_
| ^~~~~~~~~~~~~~~~~~~
/var/lib/
2405 | int f_sys_recv_
| ^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/usr/src/
make: *** [Makefile:240: __sub-make] Error 2
make: Leaving directory '/usr/src/
Changed in falcosecurity-libs (Ubuntu): | |
assignee: | nobody → GuoqingJiang (guoqingjiang) |
We probably need this commit to fix the issue
From fac87101d678976 5bed434bc84b97c 66f1bcc8dc Mon Sep 17 00:00:00 2001
From: Federico Di Pierro <email address hidden>
Date: Thu, 30 May 2024 11:36:32 +0200
Subject: [PATCH] fix(driver): fix build of kmod on linux 6.10.
Signed-off-by: Federico Di Pierro <email address hidden>