Hi Gianfranco, thank you for your reply. With version 1:0.1.9998svn2745+dfsg-1 I can do the build without any problem.
Lorenzo 2015-05-13 9:07 GMT+02:00 Gianfranco Costamagna < costamagnagianfra...@yahoo.it>: > Hi Lorenzo, in order to bisect the problem, would be nice if you could test > version 1:0.1.9998svn2745+dfsg-1 and 1:0.1.9998svn2734+dfsg-1 in > experimental > > > you can grab them from snapshots [1] if needed. > > thanks a lot, > > Gianfranco > > > [1] http://snapshot.debian.org/package/kbuild/ > > > > > Il Mercoledì 13 Maggio 2015 0:48, Lorenzo <lorenzo.r...@gmail.com> ha > scritto: > 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 >