Some internals changed and once again break the build, because of course: /tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/ppm_fillers.c: In function 'ppm_get_mm_exe_file': /tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/ppm_fillers.c:436:39: error: passing argument 1 of 'get_file_rcu' from incompatible pointer type [-Werror=incompatible-pointer-types] 436 | if (exe_file && !get_file_rcu(exe_file)) | ^~~~~~~~ | | | struct file * In file included from ./include/linux/compat.h:17, from /tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/ppm_fillers.c:12: ./include/linux/fs.h:1046:47: note: expected 'struct file **' but argument is of type 'struct file *' 1046 | struct file *get_file_rcu(struct file __rcu **f); | ~~~~~~~~~~~~~~~~~~~~^ Reproducible: Always Steps to Reproduce: 1. build 6.7-rc kernel tree 2. try to eerge scap-driver-0.29.3-r4 3. oh noe
The upstream patch does not apply but I'll cook up a backport.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bb9dff0d4ad83a6cc07858b5a70a336a4150860 commit 5bb9dff0d4ad83a6cc07858b5a70a336a4150860 Author: Holger Hoffstätte <holger@applied-asynchrony.com> AuthorDate: 2024-01-01 14:54:39 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-11 14:12:37 +0000 dev-util/scap-driver: fix build on kernel 6.7 Closes: https://bugs.gentoo.org/921163 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Sam James <sam@gentoo.org> .../files/0.29.3-fix-kmod-build-on-6.7+.patch | 21 +++++++++ dev-util/scap-driver/scap-driver-0.29.3-r5.ebuild | 52 ++++++++++++++++++++++ 2 files changed, 73 insertions(+)