During an emerge @module-rebuild the app-emulation/virtualbox-modules-4.2.24 ebuild build step failed with the message:" * Installing vboxnetadp module install: cannot stat ‘vboxnetadp.ko’: No such file or directory !!! doins: vboxnetadp.ko does not exist " Reproducible: Always Steps to Reproduce: 1.emerge "=sys-kernel/gentoo-sources-3.17.0" 2.emerge "=app-emulation/virtualbox-modules-4.2.24" Actual Results: vboxnetadp.ko is not built because of the following error message: /var/tmp/portage/app-emulation/virtualbox-modules-4.2.24/work/vboxnetadp/linux/VBoxNetAdp-linux.c: In function ‘vboxNetAdpOsCreate’: /var/tmp/portage/app-emulation/virtualbox-modules-4.2.24/work/vboxnetadp/linux/VBoxNetAdp-linux.c:186:48: error: macro "alloc_netdev" requires 4 arguments, but only 3 given Expected Results: the build should succeed. This bug seems to be related to the one reported at: https://forums.virtualbox.org/viewtopic.php?f=7&t=63208 I have not tried the patch recommended there yet. Update will follow as soon as possible.
Created attachment 387036 [details] build.log
Created attachment 387110 [details, diff] patch for app-emulation/virtualbox /etc/portage/patches/app-emulation/virtualbox/virtualbox.patch
Created attachment 387112 [details, diff] patch for app-emulation/virtualbox-modules /etc/portage/patches/app-emulation/virtualbox-modules/virtualbox-alloc_netdev.diff.patch
I have now tested the patches suggested at https://forums.virtualbox.org/viewtopic.php?f=7&t=63208 and https://forums.virtualbox.org/viewtopic.php?p=296650#p296650 by putting them into /etc/portage/patches/app-emulation/virtualbox respectively /etc/portage/patches/app-emulation/virtualbox-modules. Both patches are needed, app-emulation/virtualbox and app-emulation/virtualbox-modules both need to be recompiled under the 3.17 kernel version, and the kernel modules need to be re-loaded of course. The virtual machine is now starting up again without any problems.