Created attachment 514816 [details] output of emerge --info Trying to emerge a world update. My kernel build is out of source KBUILD_OUTPUT=/var/kernel-builds/4.12.5 Get the following error: >>> Running pre-merge checks for sys-libs/libomp-4.0.1 * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Could not find a Makefile in the kernel source directory. * Please ensure that /usr/src/linux points to a complete set of Linux sources * Unable to calculate Linux Kernel version for build, attempting to use running version * Unable to calculate Linux Kernel version for build, attempting to use running version /home/portage/eclass/linux-info.eclass: line 386: value = (2 << 16) + (4 << 8) + : syntax error: operand expected (error token is "+ ") * The ebuild phase 'pretend' has exited unexpectedly. This type of * behavior is known to be triggered by things such as failed variable * assignments (bug #190128) or bad substitution errors (bug #200313). * Normally, before exiting, bash should have displayed an error message * above. If bash did not produce an error message above, it's possible * that the ebuild has called `exit` when it should have called `die` * instead. This behavior may also be triggered by a corrupt bash binary or * a hardware problem such as memory or cpu malfunction. If the problem is * not reproducible or it appears to occur randomly, then it is likely to * be triggered by a hardware problem. If you suspect a hardware problem * then you should try some basic hardware diagnostics such as memtest. * Please do not report this as a bug unless it is consistently * reproducible and you are sure that your bash binary and hardware are * functioning properly.
Perhaps I should file this agains the linux-info eclass?
I apologize for the noise, it was a bad link within my build directory to the wrong source directory.
ok I close then