Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730308 - sys-power/tuxedo-cc-wmi-0.1.4 : /.../clevo_wmi.h: error: implicit declaration of function wmi_evaluate_method
Summary: sys-power/tuxedo-cc-wmi-0.1.4 : /.../clevo_wmi.h: error: implicit declaration...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Marc Schiffbauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-01 06:53 UTC by Toralf Förster
Modified: 2020-10-05 07:01 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.55 KB, text/plain)
2020-07-01 06:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,141.13 KB, text/plain)
2020-07-01 06:53 UTC, Toralf Förster
Details
environment (environment,89.83 KB, text/plain)
2020-07-01 06:53 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,43.43 KB, application/x-bzip)
2020-07-01 06:53 UTC, Toralf Förster
Details
sys-power:tuxedo-cc-wmi-0.1.4:20200701-020226.log (sys-power:tuxedo-cc-wmi-0.1.4:20200701-020226.log,6.15 KB, text/plain)
2020-07-01 06:53 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.76 KB, application/x-bzip)
2020-07-01 06:53 UTC, Toralf Förster
Details

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