Created attachment 887361 [details] build log /var/tmp/portage/app-emulation/virtualbox-guest-additions-7.0.14-r1/work/VirtualBox-7.0.14/out/linux.amd64/release/bin/additions/src/vboxguest/VBoxGuest-linux.c:1364:9: error: implicit declaration of function 'strlcpy'; did you mean 'strscpy'? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Werror=implicit-function-declaration]8;;] 1364 | strlcpy(&g_szLogGrp[0], pszValue, sizeof(g_szLogGrp));
Created attachment 887362 [details] emerge --info
This revision from upstream SVN appears to cover it: https://www.virtualbox.org/changeset/103024/vbox strlcpy() was removed from Linux Kernel, following discussions by maintainers to begin phasing it out in 2022. Looks like in 6.8 they finally got around to doing that. Usually Oracle does another quarterly release around April, so maybe 7.0.16 by then? But if you're in a rush for running Linux Kernel 6.8, you could try building with the above patch in the meantime.
Whoops -- missed a few links earlier. There's 7 SVN revisions associated with VirtualBox 6.8 in upstream bugref:10584. I'll condense them into a patch.
Created attachment 888904 [details, diff] Squash-of-initial-support-for-kernel-6.8-bugref-10584.patch This compiles/loads with my guest 6.8 kernel. Tested with VIDEO_CARDS="vmware" + mouse/keyboard. Seems to be stable.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96629f629191da9552b00fc9d514bdde47c924a3 commit 96629f629191da9552b00fc9d514bdde47c924a3 Author: Viorel Munteanu <ceamac@gentoo.org> AuthorDate: 2024-03-14 09:00:15 +0000 Commit: Viorel Munteanu <ceamac@gentoo.org> CommitDate: 2024-03-28 18:32:42 +0000 app-emulation/virtualbox-guest-additions: patches for kernel 6.8 Apply a few upstream patches. Closes: https://bugs.gentoo.org/926766 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org> ...tualbox-guest-additions-7.0.14-kernel-6.8.patch | 242 +++++++++++++++++ .../virtualbox-guest-additions-7.0.14-r2.ebuild | 295 +++++++++++++++++++++ 2 files changed, 537 insertions(+)