Gentoo Archives: gentoo-user

From: "Ján Zahornadský" <yankyo@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] nvidia-drivers-440.82-r3 failing to compile: Kernel configuration is invalid
Date: Thu, 21 May 2020 19:13:52
Message-Id: 4718851e-7319-8769-fb8a-7b56dd726ae1@gmail.com
1 Hello list,
2
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 Running 'make oldconfig && make prepare' doesn't help (I've ran full
20 make oldconfig && make && make modules_install even before the first
21 failure).
22
23 Also, when manually running
24
25 make -j12 HOSTCC=x86_64-pc-linux-gnu-gcc
26 CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' ARCH=x86_64
27 IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux
28 CC=x86_64-pc-linux-gnu-gcc NV_VERBOSE=1 module
29
30 in the leftover working directory
31
32 /tmp/portage/x11-drivers/nvidia-drivers-440.82-r3/work/kernel
33
34 everything seems to compile and the mentioned kernel config check passes
35 (full log attached as manual-build.log).
36
37 Any ideas where could be the culprit or where to look for further clues?
38
39 Many thanks!
40 Jan

Attachments

File name MIME type
build.log text/x-log
manual-build.log text/x-log

Replies