[Pkg-virtualbox-devel] Bug#785161: kbuild: module-assistant fails to build virtualbox-source
Lorenzo
lorenzo.ru.g at gmail.com
Tue May 12 22:42:43 UTC 2015
Package: kbuild
Version: 1:0.1.9998svn2780+dfsg-1
Severity: important
Dear Maintainer,
when I try to build virtualbox kernel modules using
# m-a build virtualbox-source
the build fails with the following error:
CC [M] /usr/src/modules/virtualbox/vboxdrv/r0drv/memobj-r0drv.o
│ CC [M] /usr/src/modules/virtualbox/vboxdrv/r0drv/mpnotification-r0drv.o
│ CC [M]
│ /usr/src/modules/virtualbox/vboxdrv/r0drv/powernotification-r0drv.o
│ ld: cannot open linker script file
│ /usr/src/modules/virtualbox/vboxdrv/r0drv/.tmp_: No such file or directory
│ kmk[3]: ***
│ [/usr/src/modules/virtualbox/vboxdrv/r0drv/mpnotification-r0drv.o] Error 1
│ kmk[3]: *** Waiting for unfinished jobs....
│ kmk[3]: Leaving directory `/home/ombra/Downloads/linux-van-4.0.1'
│ kmk[3]: Entering directory `/home/ombra/Downloads/linux-van-4.0.1'
│ kmk[3]: *** Exiting with status 2
│ kmk[2]: *** [/usr/src/modules/virtualbox/vboxdrv] Error 2
│ kmk[2]: Leaving directory `/home/ombra/Downloads/linux-van-4.0.1'
kmk[1]: *** [_module_/usr/src/modules/virtualbox] Error 2
│ kmk[1]: Leaving directory `/home/ombra/Downloads/linux-van-4.0.1'
│ kmk: *** [binary-modules] Error 2
│ /usr/share/modass/include/common-rules.make:56: recipe for target
│ 'kdist_build' failed
│ make: *** [kdist_build] Error 2
Note that this problem is related to kbuild and m-a but does not affect the dkms building system.
I file this bug against kbuild because downgrading m-a itself or virtualbox-source package to a previuos version doesn't solve the problem, while downgrading kbuild to the stable version (1:0.1.9998svn2695+dfsg-2) allow me to build virtualbox modules.
Thanks
Lorenzo
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.0.1-van (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages kbuild depends on:
ii libc6 2.19-18
kbuild recommends no packages.
kbuild suggests no packages.
-- no debconf information
More information about the Pkg-virtualbox-devel
mailing list