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

Bug 803518

Summary: app-laptop/tuxedo-keyboard-3.0.3 - /.../clevo_wmi.c: error: initialization of void (*)(struct wmi_device *) from incompatible poin
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Marc Schiffbauer <mschiff>
Status: RESOLVED FIXED    
Severity: normal CC: simon
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-laptop:tuxedo-keyboard-3.0.3:20210723-132043.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-07-23 13:27:36 UTC
/var/tmp/portage/app-laptop/tuxedo-keyboard-3.0.3/work/tuxedo-keyboard-3.0.3/./src/clevo_wmi.c:149:19: error: initialization of ‘void (*)(struct wmi_device *)’ from incompatible pointer type ‘int (*)(struct wmi_device *)’ [-Werror=incompatible-pointer-types]
  149 |         .remove = clevo_wmi_remove,
      |                   ^~~~~~~~~~~~~~~~
/var/tmp/portage/app-laptop/tuxedo-keyboard-3.0.3/work/tuxedo-keyboard-3.0.3/./src/clevo_wmi.c:149:19: note: (near initialization for ‘clevo_wmi_driver.remove’)
cc1: some warnings being treated as errors

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j3-20210719-130004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  HEAD of ::gentoo
commit 8bef76a7462f7fb408129164d9d884f1fa35e515
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Jul 23 12:07:15 2021 +0000

    2021-07-23 12:07:13 UTC

emerge -qpvO app-laptop/tuxedo-keyboard
[ebuild  N    ] app-laptop/tuxedo-keyboard-3.0.3  USE="-dist-kernel"
Comment 1 Toralf Förster gentoo-dev 2021-07-23 13:27:37 UTC
Created attachment 726049 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-07-23 13:27:38 UTC
Created attachment 726052 [details]
app-laptop:tuxedo-keyboard-3.0.3:20210723-132043.log
Comment 3 Toralf Förster gentoo-dev 2021-07-23 13:27:40 UTC
Created attachment 726055 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-07-23 13:27:41 UTC
Created attachment 726058 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-07-23 13:27:43 UTC
Created attachment 726061 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-07-23 13:27:44 UTC
Created attachment 726064 [details]
temp.tar.bz2
Comment 7 Lukas Schreiner 2021-09-10 03:37:24 UTC
I can confirm this on 5.14.2-gentoo .

I was successfully to build the tuxedo-keyboard-3.0.8 from github. May it be worth to check this package out?