Summary: | app-emulation/virtualbox-modules-4.2.4 with gentoo-sources-3.7.0 - Header files were moved and re-organized, causes a build failure. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | G.Wolfe Woodbury <redwolfe> |
Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED UPSTREAM | ||
Severity: | major | CC: | dirk, egorov_egor, gef.kornflakes, orzel, patrick, proxy-maint, swapon |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info output
Build Log for virtualbox-modules-4.1.22 (also broken by new kernel) build.log |
Description
G.Wolfe Woodbury
2012-12-14 23:35:37 UTC
Created attachment 332336 [details]
emerge --info output
ebuild log was lost
> ebuild log was lost
You can obtain it by emerging the package again. Can you try again?
Created attachment 332400 [details]
Build Log for virtualbox-modules-4.1.22 (also broken by new kernel)
I should add that I don't get any error on virtualbox-modules-4.2.4. Is this still a problem with virtualbox-4.1.24 and/or virtualbox-4.2.6? Yes Created attachment 333178 [details]
build.log
This code in file vboxdrv/r0drv/linux/memobj-r0drv-linux.c do not work: #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 7, 0) vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; #else vma->vm_flags |= VM_RESERVED; #endif Replacing VM_RESERVED to VM_DONTEXPAND | VM_DONTDUMP allow build fine. I couldn't reproduce this problem with kernel-3.7.9 and virtualbox-modules-4.2.6. Any chance this got fixed by the kernel developers meanwhile? This problem only if the kernel source is pumped out of git. However, this problem is now fixed. Bug may be closed This commit solve issue http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=da01ee3c8e7954fb7ed0ceb002d482c79f8b2ccd For those still having this problem: this is because you have a stalled include/linux/version.h in your kernel source tree. Probably because you use your own checkout. Just remove it, and the problem is gone. (and I think this bug could be closed now) For most arches, the 3.7 sources are no longer available due to security problems and I haven't experienced this with later versions; thus this bug should likely be closed, just let people that experience this again on much more recent versions file a new bug. It seems to be fixed upstream, closing |