get_version, should check that the linux source directory is configured, before if starts trying to find out which version of the kernel it is using, as the tests it uses to find alternatives for KV_LOCAL include calling linux_chkconfig_string which calls getfilevar over the .config file which will fail with an assert if it is given a second parameter which references a file which doesn't exist, and which confuses the error message as shown below : * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.15 * getfilevar requires 2 variables, with the second a valid file. * getfilevar <VARIABLE> <CONFIGFILE> * Could not find a usable .config in the kernel source directory. * Please ensure that /usr/src/linux points to a configured set of Linux sources expected output : * Found kernel source directory: * /usr/src/linux * Could not find a usable .config in the kernel source directory. * Please ensure that /usr/src/linux points to a configured set of Linux sources
Created attachment 76819 [details, diff] patch which reorganizes the tests to ensure that all dependencies are covered previously
thanks for spotting this, fixed in CVS.