Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895786 - app-laptop/tuxedo-keyboard-3.1.3-r1 fails to compile on sys-kernel/gentoo-sources-6.2.0 [-Werror=incompatible-pointer-types]
Summary: app-laptop/tuxedo-keyboard-3.1.3-r1 fails to compile on sys-kernel/gentoo-sou...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
Depends on:
Blocks: c99-porting, clang-16-porting
  Show dependency tree
Reported: 2023-02-22 07:20 UTC by Søren Dalby Larsen
Modified: 2023-08-18 08:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,19.76 KB, text/x-log)
2023-02-22 07:21 UTC, Søren Dalby Larsen

Note You need to log in before you can comment on or make changes to this bug.
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]
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!