I have recently updated my Kernel to unstable gentoo-sources I seem to be that since than I couldn't install virtualbox, it crashes with: " ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it. " I have tried to fix this as suggested, but both files are in are there anyways. Reproducible: Always Steps to Reproduce: 1. Install gentoo kernel 3.11 2. try to emerge virtualbox modules Actual Results: Stops on build process. Expected Results: Build the modules
Created attachment 359928 [details] Build log
Created attachment 359930 [details] make.conf
Created attachment 359932 [details] emerge --info
Looks like you have permission problems on /usr/src/linux-3.11.2, new stable portage enables 'userpriv' by default so the sources need to be readable by the portage user. Either fix the permissions, or disable userpriv.
I have set owner root:portage to the entire /usr/src directory. Now virtualbox-modules merges. But is this the right way to do that? Also another error emerges if I try to build the rest of my modules zsf-kmod and spl: "Cannot find UTS_RELEASE definition."
The easiest way to keep things working is to keep default permissions on kernel sources-- they should be world readable (root:root 644 on files, root:root 755 on dirs). If you need to restrict permissions on them (I'm not sure why users READING them would be a problem) then you should adjust permissions to be readable by portage or disable userpriv on all kernel module packages. If you're still having trouble on those other modules, please open a new bug. Thanks!