6.8 removed strlcpy, which - of course - scap-driver uses: ../scap-driver-0.29.3-r5/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/ppm_events.c:627:44: error: implicit declaration of function 'strlcpy'; did you mean 'strscpy'? [-Werror=implicit-function-declaration] 627 | len = (int)strlcpy(args->buffer + args->arg_data_offset, | ^~~~~~~ | strscpy Reproducible: Always Steps to Reproduce: 1. try to build scap-driver against kernel-6.8 2. build failure
I'm working on the usual backport.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8534c90299b019823f5f221a0875786e64e8c03c commit 8534c90299b019823f5f221a0875786e64e8c03c Author: Holger Hoffstätte <holger@applied-asynchrony.com> AuthorDate: 2024-03-11 15:34:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-12 02:50:32 +0000 dev-debug/scap-driver: fix build on kernel 6.8 Closes: https://bugs.gentoo.org/926768 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/35712 Signed-off-by: Sam James <sam@gentoo.org> .../files/0.29.3-fix-kmod-build-on-6.8+.patch | 44 ++++++++++++++++++ dev-debug/scap-driver/scap-driver-0.29.3-r6.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 97 insertions(+)