as above. Reproducible: Always Steps to Reproduce: 1. Emerge app-emulation/virtualbox:0/6.1 Actual Results: Compilation fails. Error message is /var/tmp/portage/app-emulation/virtualbox-modules-6.1.50-r1/work/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1093:9: error: implicit declaration of function ‘p4d_large’; did you mean ‘p4d_page’? [-Werror=implicit-function-declaration] /var/tmp/portage/app-emulation/virtualbox-modules-6.1.50-r1/work/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1109:9: error: implicit declaration of function ‘pud_large’; did you mean ‘pud_page’? [-Werror=implicit-function-declaration] /var/tmp/portage/app-emulation/virtualbox-modules-6.1.50-r1/work/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1125:9: error: implicit declaration of function ‘pmd_large’; did you mean ‘pmd_page’? [-Werror=implicit-function-declaration] Expected Results: Package compiles successfully
Created attachment 899266 [details] emerge --info
Created attachment 899267 [details, diff] virtualbox-6.0.50 patch for >=kernel6.9 This patch allowed me to compile successfully. https://www.virtualbox.org/ticket/22033
Created attachment 899268 [details] build.log
Created attachment 899269 [details, diff] virtualbox-6.1.50 patch for >=kernel-6.9
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=531d8afa4029a0c8bf180e94488783cce34e5dfe commit 531d8afa4029a0c8bf180e94488783cce34e5dfe Author: Viorel Munteanu <ceamac@gentoo.org> AuthorDate: 2024-08-10 06:38:48 +0000 Commit: Viorel Munteanu <ceamac@gentoo.org> CommitDate: 2024-08-10 06:48:11 +0000 app-emulation/virtualbox-modules: fix build with kernel 6.9+ Closes: https://bugs.gentoo.org/937445 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org> .../virtualbox-modules-7.0.14-kernel-6.9.patch | 46 ++++++++++++++++++++++ .../virtualbox-modules-6.1.50-r2.ebuild | 39 ++++++++++++++++++ 2 files changed, 85 insertions(+)