Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 602802 - app-emulation/virtualbox-modules-5.1.10 fails to compile against kernel 4.9
Summary: app-emulation/virtualbox-modules-5.1.10 fails to compile against kernel 4.9
Status: RESOLVED DUPLICATE of bug 602420
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-16 06:31 UTC by Thomas Masper
Modified: 2016-12-16 08:19 UTC (History)
0 users

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


Attachments
build log (build.log,42.76 KB, text/x-log)
2016-12-16 06:31 UTC, Thomas Masper
Details
upstream fix ready for /etc/portage/patches/ (SUPDrvInternal-kernel-4.9-fix.patch,257 bytes, patch)
2016-12-16 06:32 UTC, Thomas Masper
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***