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

Bug 942777

Summary: dev-debug/scap-driver-0.18.1 fails to compile: test.c:26:48: error: initialization of char ()(struct device , umode_t ) {aka char ()(struct device , short unsigned int )} from incompatible pointer type char ()(const struct device , umode_t ) {aka char ()
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Holger Hoffstätte <holger>
Status: RESOLVED INVALID    
Severity: normal CC: holger, proxy-maint, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-11-02 18:37:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-debug/scap-driver-0.18.1 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-02 18:37:29 UTC
Created attachment 907716 [details]
build.log

build log and emerge --info
Comment 2 Holger Hoffstätte 2024-11-02 20:04:29 UTC
You are using linux-headers-6.11 building a module for kernel-6.1.x.
Please retry with linux-headers-6.1.
Comment 3 Holger Hoffstätte 2024-11-02 20:06:27 UTC
I'm removing this from the c99 effort since it ha nothing to do with the regular prototytpe/implicit-declaration stuff, this is simply Linux not having a stable ABI.
Comment 4 Holger Hoffstätte 2024-11-20 12:40:04 UTC
It's really not possible to mix kernel vs. headers with the 6.4 boundary in between.