Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 602802

Summary: app-emulation/virtualbox-modules-5.1.10 fails to compile against kernel 4.9
Product: Gentoo Linux Reporter: Thomas Masper <thomas.masper>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
upstream fix ready for /etc/portage/patches/

Description Thomas Masper 2016-12-16 06:31:16 UTC
Created attachment 456354 [details]
build log

app-emulation/virtualbox-modules-5.1.10 fails to compile against kernel 4.9.
Created build log.


  from /var/tmp/portage/app-emulation/virtualbox-modules-5.1.10/work/vboxdrv/linux/../SUPDrvInternal.h:80,
                 from /var/tmp/portage/app-emulation/virtualbox-modules-5.1.10/work/vboxdrv/linux/SUPDrv-linux.c:32:
./arch/x86/include/asm/realmode.h: In function ‘real_mode_size_needed’:
./arch/x86/include/asm/realmode.h:66:2: error: implicit declaration of function ‘ALIGN’ [-Werror=implicit-function-declaration]
  return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE);

Upstream fix: https://www.virtualbox.org/changeset/64872/vbox

The attached patch fix the issue
Comment 1 Thomas Masper 2016-12-16 06:32:44 UTC
Created attachment 456356 [details, diff]
upstream fix ready for /etc/portage/patches/
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-12-16 08:19:28 UTC

*** This bug has been marked as a duplicate of bug 602420 ***