When the object dir is different from the source dir, the toplevel "Config.kmk" has typo which doesn't properly detect the source dir -- it just sets it to root. Attached are patches to work around the bug.
Created attachment 112659 [details, diff] virtualbox-1.3.6.ebuild-split-kernel.patch Corrects the typo. It is possible that the method worked for older kernels, but the format of the Makefile it scans has changed. I am using kernel 2.6.18-suspend-r1.
Created attachment 112660 [details, diff] virtualbox-1.3.6-split-kernel.patch This is the patch to be applied to the source tree.
Yup, I can confirm this bug here with KBUILD_OUTPUT used on vanilla-sources-2.6.20.1 And I tested the patch, works-for-me. BTW, this has been fixed in the trunk: ------------------------------------------------------------------------ r907 | vboxsync | 2007-02-15 00:01:05 +0900 (Thu, 15 Feb 2007) | 2 lines Changed paths: M /trunk/Config.kmk Config.kmk: support splitted Linux kernels ------------------------------------------------------------------------ I have added the two patches into my overlay[1] for easy testing. BTW attachment 112660 [details, diff] had an extra whitespace in the first part. [1] https://svn.tar.bz/repos/pkalin/trunk/app-emulation/virtualbox/ Feel free to add the above via layman. HOWTO: https://svn.tar.bz/repos/pkalin/trunk/README.txt I'll have a look at the other bug reports as well. bug #170051 : fixed in my overlay bug #167001 : no amd64 to test the new 1.3.6, please test if you can bug #170051 : need more info Somebody please fix in the official tree. BTW, removing the wrapper USE flag might be a good idea, I wonder if anybody is using it without the wrapper script...
I am using this without the wrapper because I forgot to set the USE flag, but indeed it's annoying. I agree that the wrapper should be installed by default.
(In reply to comment #3) > > BTW, removing the wrapper USE flag might be a good idea, I wonder if anybody is > using it without the wrapper script... > Hi, some users don't like or use the wrapper script, they like to start the XPCOM server manually, this is useful for debugging purposes too (some error messages are show there) (In reply to comment #4) > I am using this without the wrapper because I forgot to set the USE flag, but > indeed it's annoying. I agree that the wrapper should be installed by default. > Hi again :) expect an update soon: the wrapper script can be enabled by default without problems, i think it's time to change the use flag "wrapper" in "nowrapper", therefore users who don't want it will not lose the ability to choose
(In reply to comment #0) > When the object dir is different from the source dir, the toplevel "Config.kmk" > has typo which doesn't properly detect the source dir -- it just sets it to > root. > > Attached are patches to work around the bug. > hi, the problem still occurs with virtualbox-1.3.8?
No, it seems to work fine for me now, thanks to the change upstream. Closing bug!