Gentoo Archives: gentoo-user

From: "Ján Zahornadský" <yankyo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] nvidia-drivers-440.82-r3 failing to compile: Kernel configuration is invalid
Date: Fri, 22 May 2020 10:13:04
Message-Id: a3d29b81-72fa-4ca7-a029-7ac98514f216@gmail.com
In Reply to: Re: [gentoo-user] nvidia-drivers-440.82-r3 failing to compile: Kernel configuration is invalid by Ashley Dixon
1 On 21/05/2020 20:25, Ashley Dixon wrote:
2 > On Thu, May 21, 2020 at 08:13:38PM +0100, Ján Zahornadský wrote:
3 >> when updating the system today, a new revision of nvidia-drivers ebuild
4 >> fails with
5 >>
6 >> ERROR: Kernel configuration is invalid.
7 >> include/generated/autoconf.h or include/config/auto.conf are missing.
8 >> Run 'make oldconfig && make prepare' on kernel src to fix it.
9 >>
10 >> (full log attached as build.log)
11 >>
12 >> I'm fairly sure my kernel sources and configuration are in place:
13 >>
14 >> bolt /usr/src/linux-5.6.14-gentoo # ls -l include/generated/autoconf.h
15 >> include/config/auto.conf
16 >> -rw------- 1 root root 26144 May 21 10:13 include/config/auto.conf
17 >> -rw------- 1 root root 35329 May 21 10:13 include/generated/autoconf.h
18 >
19 > Try executing `chmod a+r <path>` on both of those files.
20 >
21
22 Yes, thanks, it was a permission issue after all, re-setting umask and
23 re-running make mrproper && make && make modules_install fixed it!
24
25 All the best,
26 Jan