Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730264 - app-laptop/tuxedo-keyboard-3.0.8 : /.../clevo_keyboard.h: error: implicit declaration of function wmi_evaluate_method [-Werror=imp
Summary: app-laptop/tuxedo-keyboard-3.0.8 : /.../clevo_keyboard.h: error: implicit dec...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-30 17:28 UTC by Toralf Förster
Modified: 2021-10-05 04:38 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.29 KB, text/plain)
2020-06-30 17:28 UTC, Toralf Förster
Details
app-laptop:tuxedo-keyboard-2.0.5:20200630-170823.log (app-laptop:tuxedo-keyboard-2.0.5:20200630-170823.log,7.80 KB, text/plain)
2020-06-30 17:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,126.40 KB, text/plain)
2020-06-30 17:28 UTC, Toralf Förster
Details
environment (environment,89.67 KB, text/plain)
2020-06-30 17:28 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.20 KB, application/x-bzip)
2020-06-30 17:28 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.92 KB, application/x-bzip)
2020-06-30 17:28 UTC, Toralf Förster
Details
Patches the pointer error and successfully builds/installs (clevo_wmi.patch,617 bytes, patch)
2021-09-06 13:16 UTC, simon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-06-30 17:28:40 UTC
In file included from /var/tmp/portage/app-laptop/tuxedo-keyboard-2.0.5/work/tuxedo-keyboard-2.0.5/./src/tuxedo_keyboard.c:31:
/var/tmp/portage/app-laptop/tuxedo-keyboard-2.0.5/work/tuxedo-keyboard-2.0.5/./src/clevo_keyboard.h: In function ‘evaluate_wmi_method_clevo’:
/var/tmp/portage/app-laptop/tuxedo-keyboard-2.0.5/work/tuxedo-keyboard-2.0.5/./src/clevo_keyboard.h:291:11: error: implicit declaration of function ‘wmi_evaluate_method’ [-Werror=implicit-function-declaration]
  291 |  status = wmi_evaluate_method(CLEVO_GET_GUID, 0x00, submethod_id,
      |           ^~~~~~~~~~~~~~~~~~~
/var/tmp/portage/app-laptop/tuxedo-keyboard-2.0.5/work/tuxedo-keyboard-2.0.5/./src/clevo_keyboard.h: In function ‘clevo_keyboard_probe’:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-abi32+64-20200626-131934

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.41.1
  [2]   rust-1.44.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue 30 Jun 2020 03:09:22 PM UTC

emerge -qpvO app-laptop/tuxedo-keyboard
[ebuild  N    ] app-laptop/tuxedo-keyboard-2.0.5
Comment 1 Toralf Förster gentoo-dev 2020-06-30 17:28:43 UTC
Created attachment 647236 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-06-30 17:28:46 UTC
Created attachment 647238 [details]
app-laptop:tuxedo-keyboard-2.0.5:20200630-170823.log
Comment 3 Toralf Förster gentoo-dev 2020-06-30 17:28:49 UTC
Created attachment 647240 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-06-30 17:28:51 UTC
Created attachment 647242 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-06-30 17:28:56 UTC
Created attachment 647244 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-06-30 17:28:58 UTC
Created attachment 647246 [details]
temp.tbz2
Comment 7 phkb 2020-08-01 23:02:15 UTC
CONFIG_ACPI_WMI and CONFIG_WMI_BMOF need to be enabled in the kernel. It would be nice if the ebuild checked for this.
Comment 8 snowy.mail 2020-10-05 07:00:55 UTC
Stumbled across this as well, but found a solution:

You need to enable CONFIG_ACPI_WMI in your kernel.
Comment 9 simon 2021-09-06 13:15:20 UTC
The patch from here fixed it for me:
https://github.com/tuxedocomputers/tuxedo-keyboard/commit/216899e1cfc0eba4e4cae25bae435b96f631e7a5

I modified it to Kernel 5.14.0:
Comment 10 simon 2021-09-06 13:16:49 UTC
Created attachment 737929 [details, diff]
Patches the pointer error and successfully builds/installs
Comment 11 Agostino Sarubbo gentoo-dev 2021-10-05 04:38:12 UTC
ci has reproduced this issue with version 3.0.8 - Updating summary.