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

Bug 488244

Summary: app-emulation/virtualbox-modules-4.3.0 fails to build with custom kernel object directory
Product: Gentoo Linux Reporter: nE0sIghT <ykonotopov>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bkohler
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description nE0sIghT 2013-10-16 15:37:27 UTC
If kernel built outside of source directory, app-emulation/virtualbox-modules fails to compile

Patch to fix this issue:
--- ../../../../../portage/app-emulation/virtualbox-modules/virtualbox-modules-4.3.0.ebuild	2013-10-15 17:24:20.000000000 +0400
+++ ./virtualbox-modules-4.3.0.ebuild	2013-10-16 19:25:23.943534399 +0400
@@ -30,7 +30,7 @@
 pkg_setup() {
 	linux-mod_pkg_setup
 
-	BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
+	BUILD_PARAMS="KERN_DIR=${KV_OUT_DIR} KERNOUT=${KV_OUT_DIR}"
 	enewgroup vboxusers
 }
Comment 1 Ben Kohler gentoo-dev 2013-10-16 16:47:58 UTC

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