Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937445 - app-emulation/virtualbox-modules-6.1.50-r1 won't compile with >=kernel-6.9
Summary: app-emulation/virtualbox-modules-6.1.50-r1 won't compile with >=kernel-6.9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Viorel Munteanu
URL: https://www.virtualbox.org/ticket/22033
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-06 07:54 UTC by Fabio Cavallo
Modified: 2024-08-10 06:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.txt,17.24 KB, text/plain)
2024-08-06 07:56 UTC, Fabio Cavallo
Details
virtualbox-6.0.50 patch for >=kernel6.9 (virtualbox-6.0.50.patch,2.39 KB, patch)
2024-08-06 08:02 UTC, Fabio Cavallo
Details | Diff
build.log (build.log,124.51 KB, text/x-log)
2024-08-06 08:05 UTC, Fabio Cavallo
Details
virtualbox-6.1.50 patch for >=kernel-6.9 (virtualbox-6.1.50.patch,2.39 KB, patch)
2024-08-06 08:08 UTC, Fabio Cavallo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Cavallo 2024-08-06 07:54:55 UTC
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
Comment 1 Fabio Cavallo 2024-08-06 07:56:22 UTC
Created attachment 899266 [details]
emerge --info
Comment 2 Fabio Cavallo 2024-08-06 08:02:26 UTC
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
Comment 3 Fabio Cavallo 2024-08-06 08:05:16 UTC
Created attachment 899268 [details]
build.log
Comment 4 Fabio Cavallo 2024-08-06 08:08:15 UTC
Created attachment 899269 [details, diff]
virtualbox-6.1.50 patch for >=kernel-6.9
Comment 5 Larry the Git Cow gentoo-dev 2024-08-10 06:48:25 UTC
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(+)