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

Bug 895786

Summary: app-laptop/tuxedo-keyboard-3.1.3-r1 fails to compile on sys-kernel/gentoo-sources-6.2.0 [-Werror=incompatible-pointer-types]
Product: Gentoo Linux Reporter: Søren Dalby Larsen <sdlarsen>
Component: Current packagesAssignee: Marc Schiffbauer <mschiff>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Søren Dalby Larsen 2023-02-22 07:20:48 UTC
I get a compile error on 6.2.0 with tuxedo-keyboard-3.1.3-r1:

var/tmp/portage/app-laptop/tuxedo-keyboard-3.1.3-r1/work/tuxedo-keyboard-3.1.3/./src/clevo_acpi.c:183:27: error: initialization of ‘void (*)(struct acpi_device *)’ from incompatible pointer type ‘int (*)(struct acpi_device *)’ [-Werror=incompatible-pointer-types]
  183 |                 .remove = clevo_acpi_remove,
      |                           ^~~~~~~~~~~~~~~~~



Reproducible: Always

Steps to Reproduce:
1. Install gentoo-sources-6.2.0
2. Compile app-laptop/tuxedo-keyboard-3.1.3-r1




It's fixed upstream in 3.1.4, so a version bump should do (works for me)
Comment 1 Søren Dalby Larsen 2023-02-22 07:21:55 UTC
Created attachment 853726 [details]
build.log
Comment 2 Marc Schiffbauer gentoo-dev 2023-08-18 08:18:35 UTC
3.2.10 is in the tree now, so this should be fixed. Thanks for reporting!