On 21/05/2020 20:25, Ashley Dixon wrote:
On Thu, May 21, 2020 at 08:13:38PM +0100, Ján Zahornadský wrote:
when updating the system today, a new revision of nvidia-drivers ebuild
fails 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.

(full log attached as build.log)

I'm fairly sure my kernel sources and configuration are in place:

bolt /usr/src/linux-5.6.14-gentoo # ls -l include/generated/autoconf.h
include/config/auto.conf
-rw------- 1 root root 26144 May 21 10:13 include/config/auto.conf
-rw------- 1 root root 35329 May 21 10:13 include/generated/autoconf.h

Try executing `chmod a+r <path>` on both of those files.


Yes, thanks, it was a permission issue after all, re-setting umask and re-running make mrproper && make && make modules_install fixed it!

All the best,
Jan

Reply via email to