vboxdrv (virtualbox-modules) fails with sys-kernel/calculate-sources-4.0.1

First off I know, I know 4.0.1 is an unstable kernel.

When attempting to upgrade to the new kernel virtualbox-modules fail to compile. I have no clue as to how to fix this. Any one else out there ran into the same issue? How did you resolve it?

emerge info:
[[http://pastebin.calculate-linux.org/en/show/10851]]


Compiling source in /var/calculate/tmp/portage/app-emulation/virtualbox-modules-4.3.26/work …
ln: failed to create symbolic link ‘Module.symvers’: File exists
* Preparing vboxdrv module
make-j9 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- ‘LDFLAGS=-m elf_x86_64’ KERN_DIR=/usr/src/linux KERNOUT=/usr/src/linux all
* Building ‘vboxdrv’ module*
make[1]: Entering directory ‘/var/calculate/tmp/portage/app-emulation/virtualbox-modules-4.3.26/work/vboxdrv’
make KBUILD_VERBOSE= SUBDIRS=/var/calculate/tmp/portage/app-emulation/virtualbox-modules-4.3.26/work/vboxdrv SRCROOT=/var/calculate/tmp/portage/app-emulation/virtualbox-modules-4.3.26/work/vboxdrv CONFIG_MODULE_SIG= -C /usr/src/linux modules
make[2]: Entering directory ‘/usr/src/linux-4.0.1-calculate’
Makefile:784: scripts/Makefile.kasan: No such file or directory
make[2]: ***** No rule to make target ‘scripts/Makefile.kasan’. Stop.
make[2]: Leaving directory ‘/usr/src/linux-4.0.1-calculate’
Makefile:289: recipe for target ‘vboxdrv’ failed
make[1]: ***** [vboxdrv] Error 2
make[1]: Leaving directory ‘/var/calculate/tmp/portage/app-emulation/virtualbox-modules-4.3.26/work/vboxdrv’
Makefile:39: recipe for target ‘all’ failed
make: ***** [all] Error 2
* ERROR: app-emulation/virtualbox-modules-4.3.26::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info ‘=app-emulation/virtualbox-modules-4.3.26::gentoo’`,
* the complete build log and the output of `emerge -pqv ‘=app-emulation/virtualbox-modules-4.3.26::gentoo’`.
* The complete build log is located at ‘/var/calculate/tmp/portage/app-emulation/virtualbox-modules-4.3.26/temp/build.log’.
* The ebuild environment file is located at ‘/var/calculate/tmp/portage/app-emulation/virtualbox-modules-4.3.26/temp/environment’.
* Working directory: ‘/var/calculate/tmp/portage/app-emulation/virtualbox-modules-4.3.26/work’
* S: ‘/var/calculate/tmp/portage/app-emulation/virtualbox-modules-4.3.26/work’

* Failed to emerge app-emulation/virtualbox-modules-4.3.26::gentoo
* Update failed

Unmask the latest version of virtualbox.

1. see versions available

eix virtualbox-bin
app-emulation/virtualbox-bin
     Available versions:  4.3.18.96516 ~4.3.24.98716 ~4.3.26.98988 ~4.3.26.98988-r1
...

2. unmask the latest available version

emerge --autounmask-write =app-emulation/virtualbox-bin-4.3.26.98988-r1
dispatch-conf

then confirm by pressing the “u”

3. install the package

emerge app-emulation/virtualbox-bin

So I need the bin version of Virtualbox?

I was using =app-emulation/virtualbox-3.3.26

 Calculating dependencies ...                                                                                                            [ ok ]
 * (1 of 1) Family of powerful x86 virtualization products for enterprise as well as home use
 * Emerging app-emulation/virtualbox-4.3.26 ...                                                                                            [ ok ]
Checking for zlib: found version 1.2.8, OK.
Checking for libpng: found version 1.6.16, OK.
Checking for SDL: found version 1.2.15, OK.
Checking for X libraries: Checking for Xcursor: found, OK.
Checking for Xinerama: found, OK.
Checking for Xrandr: found, OK.
Checking for Xmu: found, OK.
Checking for Mesa / GLU: Checking for Qt4: 
  ** qt4 not working!
Check /var/calculate/tmp/portage/app-emulation/virtualbox-4.3.26/work/VirtualBox-4.3.26/configure.log for details
 * ERROR: app-emulation/virtualbox-4.3.26::gentoo failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_configure
 *   environment, line 6056:  Called die
 * The specific snippet of code:
 *       ./configure --with-gcc="$(tc-getCC)" --with-g++="$(tc-getCXX)" --disable-kmods --disable-dbus --disable-devmapper ${myconf} || die "configure failed"
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/virtualbox-4.3.26::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-4.3.26::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =virtualbox-4.3.26
 * The complete build log is located at '/var/calculate/tmp/portage/app-emulation/virtualbox-4.3.26/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/app-emulation/virtualbox-4.3.26/temp/environment'.
 * Working directory: '/var/calculate/tmp/portage/app-emulation/virtualbox-4.3.26/work/VirtualBox-4.3.26'
 * S: '/var/calculate/tmp/portage/app-emulation/virtualbox-4.3.26/work/VirtualBox-4.3.26'

 * Failed to emerge app-emulation/virtualbox-4.3.26::gentoo
 * Update failed

http://pastebin.calculate-linux.org/en/show/10913

Please I need help!!

What version of distro you are using? CLD, CLDX, CLS? Have you installed dev-qt/qtopengl?

I’m using CLD. I have dev-qt/qtopengl-4.8.6-r1:4 installed.

I don’t understand how you broke your system. Just installed cld, installed kernel 4.0.3 and installed app-emulation/virtualbox-4.3.26. And guess? Everything works.
Please show all what you unmask/mask and use changed. Please, show all changes from /etc/portage

Checking for Mesa / GLU: Checking for Qt4:
**** qt4 not working!

I suggest to re-emerge qtcore first or try to update the system:
# emerge --sync
# emerge -avuND world
# eselect python update
# python-updater
# perl-cleaner --all
# emerge -a --depclean
# revdep-rebuild -i
# etc-update
and then emerge virtualbox again.


Deko G
PCMarc - Computer repair
https://www.pcmarc.com

I tryed on my CLD last week with kernel 4.0.2 : it is ok.

On your kernel : the USE minimal is disabled ? (-minimal)

I installed Virtualbox as http://www.calculate-linux.org/blogs/en/502/show