Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 913595

Summary: sys-kernel/gentoo-sources-6.5.1 "error: unknown type name ‘bool’" and others
Product: Gentoo Linux Reporter: ignamartinoli
Component: Current packagesAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED OBSOLETE    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: make -j17 log
kernel config file
Makefile
emerge --info
make V=1

Description ignamartinoli 2023-09-04 02:17:54 UTC
Created attachment 869557 [details]
make -j17 log

Compiling kernel 6.5.1 with make -j17 returns the errors in the attachment.

Tried checking the solution on https://stackoverflow.com/questions/18284241/unknown-type-name-bool-when-compiling-kernel-module, but I already have in the Makefile the line

NOSTDINC_FLAGS += -nostdinc
Comment 1 ignamartinoli 2023-09-04 02:18:54 UTC
Created attachment 869558 [details]
kernel config file
Comment 2 ignamartinoli 2023-09-04 02:19:12 UTC
Created attachment 869559 [details]
Makefile
Comment 3 Mike Pagano gentoo-dev 2023-09-04 19:14:22 UTC
Post the output of 'emerge --info' please
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-04 19:18:52 UTC
make V=1 output may be helpful as well
Comment 5 Mike Pagano gentoo-dev 2023-09-04 19:26:25 UTC
And the entire build log
Comment 6 ignamartinoli 2023-09-04 21:57:58 UTC
Created attachment 869747 [details]
emerge --info
Comment 7 ignamartinoli 2023-09-04 21:59:00 UTC
Created attachment 869748 [details]
make V=1
Comment 8 ignamartinoli 2023-09-04 22:00:58 UTC
I attached both `emerge --info` and `make V=1`.

To get the entire build log do I have to run `make -j17 V=1 > /home/sicro/log 1>&2`?
Comment 9 ignamartinoli 2023-09-08 14:15:47 UTC
After updating to 6.5.2 the problem solved itself