Control: reopen -1

# module-assistant -l 4.20.0-trunk-amd64 auto-build virtualbox-guest-source
Reading package lists... Done
Building dependency tree       
Reading state information... Done
virtualbox-guest-source is already the newest version (5.2.24-dfsg-4).
0 upgraded, 0 newly installed, 0 to remove and 52 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow 
instead.
.
Updated infos about 1 packages
Extracting the package tarball, /usr/src/virtualbox-guest.tar.bz2, please 
wait...
/usr/bin/make -C vboxguest clean
make[1]: Entering directory '/usr/src/modules/virtualbox-guest/vboxguest'
/usr/src/modules/virtualbox-guest/vboxguest/Makefile.include.header:141: *** 
Error: unable to find the headers of the Linux kernel to build against. Specify 
KERN_VER=<version> (currently 4.19.0-1-amd64) and run Make again.  Stop.
make[1]: Leaving directory '/usr/src/modules/virtualbox-guest/vboxguest'
make: *** [debian/rules:44: clean] Error 2
/usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory '/usr/src/modules/virtualbox-guest'
/usr/bin/make -C vboxguest clean
make[2]: Entering directory '/usr/src/modules/virtualbox-guest/vboxguest'
/usr/src/modules/virtualbox-guest/vboxguest/Makefile.include.header:141: *** 
Error: unable to find the headers of the Linux kernel to build against. Specify 
KERN_VER=<version> (currently 4.19.0-1-amd64) and run Make again.  Stop.
make[2]: Leaving directory '/usr/src/modules/virtualbox-guest/vboxguest'
make[1]: *** [debian/rules:44: clean] Error 2
make[1]: Leaving directory '/usr/src/modules/virtualbox-guest'
make: *** [/usr/share/modass/include/common-rules.make:56: kdist_build] Error 2
BUILD FAILED!
See /var/cache/modass/virtualbox-guest-source.buildlog.4.20.0-trunk-amd64.154786

It's still trying to use headers for 4.19.0-1-amd64 (the running kernel
version) when I ask to build for 4.20.0-trunk-amd64.

This has nothing to do with compatibility with any particular kernel
version; the problem is you are not passing through the target kernel
version when invoking "make clean".

Ben.

-- 
Ben Hutchings
Hoare's Law of Large Problems:
   Inside every large problem is a small problem struggling to get out.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to