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

Bug 730308

Summary: sys-power/tuxedo-cc-wmi-0.1.4-r1 : /.../clevo_wmi.h: error: implicit declaration of function wmi_evaluate_method
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Marc Schiffbauer <mschiff>
Status: CONFIRMED ---    
Severity: normal CC: Dagobertstaler
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
sys-power:tuxedo-cc-wmi-0.1.4:20200701-020226.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-07-01 06:53:20 UTC
In file included from /var/tmp/portage/sys-power/tuxedo-cc-wmi-0.1.4/work/tuxedo-cc-wmi-0.1.4/./src/tuxedo_cc_wmi.c:28:
/var/tmp/portage/sys-power/tuxedo-cc-wmi-0.1.4/work/tuxedo-cc-wmi-0.1.4/./src/clevo_wmi.h: In function ‘clevo_wmi_evaluate’:
/var/tmp/portage/sys-power/tuxedo-cc-wmi-0.1.4/work/tuxedo-cc-wmi-0.1.4/./src/clevo_wmi.h:63:14: error: implicit declaration of function ‘wmi_evaluate_method’; did you mean ‘wmidev_evaluate_method’? [-Werror=implicit-function-declaration]
   63 |     status = wmi_evaluate_method(CLEVO_WMI_METHOD_GUID, 0, wmi_cmd, &in, &out);
      |              ^~~~~~~~~~~~~~~~~~~
      |              wmidev_evaluate_method

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

  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	Wed 01 Jul 2020 12:39:25 AM UTC

emerge -qpvO sys-power/tuxedo-cc-wmi
[ebuild  N    ] sys-power/tuxedo-cc-wmi-0.1.4
Comment 1 Toralf Förster gentoo-dev 2020-07-01 06:53:23 UTC
Created attachment 647258 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-07-01 06:53:26 UTC
Created attachment 647260 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-07-01 06:53:29 UTC
Created attachment 647262 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-07-01 06:53:33 UTC
Created attachment 647264 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-07-01 06:53:36 UTC
Created attachment 647266 [details]
sys-power:tuxedo-cc-wmi-0.1.4:20200701-020226.log
Comment 6 Toralf Förster gentoo-dev 2020-07-01 06:53:39 UTC
Created attachment 647268 [details]
temp.tbz2
Comment 7 snowy.mail 2020-10-05 07:01:15 UTC
Stumbled across this as well, but found a solution:

You need to enable CONFIG_ACPI_WMI in your kernel.
Comment 8 Agostino Sarubbo gentoo-dev 2021-10-05 04:37:28 UTC
ci has reproduced this issue with version 0.1.4-r1 - Updating summary.