Hey, when I try to build this it fails to find yaml-cpp (same for thinkfan-git). Any ideas?
0 theod@beor:~$ yay -S thinkfan
:: There are 2 providers available for thinkfan:
:: Repository AUR
1) thinkfan 2) thinkfan-git
Enter a number (default=1): 1
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur: 1] thinkfan-1.0.2-2
1 thinkfan (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): /home/theod/.cache/yay/thinkfan
:: Downloaded PKGBUILD (1/1): thinkfan
1 thinkfan (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> N
:: Parsing SRCINFO (1/1): thinkfan
==> Making package: thinkfan 1.0.2-2 (Thu 02 Apr 2020 04:30:12 PM PDT)
==> Retrieving sources...
-> Downloading thinkfan-1.0.2.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 123 100 123 0 0 675 0 --:--:-- --:--:-- --:--:-- 675
100 77653 0 77653 0 0 157k 0 --:--:-- --:--:-- --:--:-- 157k
-> Found thinkfan.service
-> Found thinkpad_acpi.conf
==> Validating source files with sha256sums...
thinkfan-1.0.2.tar.gz ... Passed
thinkfan.service ... Passed
thinkpad_acpi.conf ... Passed
==> Making package: thinkfan 1.0.2-2 (Thu 02 Apr 2020 04:30:15 PM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found thinkfan-1.0.2.tar.gz
-> Found thinkfan.service
-> Found thinkpad_acpi.conf
==> Validating source files with sha256sums...
thinkfan-1.0.2.tar.gz ... Passed
thinkfan.service ... Passed
thinkpad_acpi.conf ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting thinkfan-1.0.2.tar.gz with bsdtar
==> Sources are ready.
==> Making package: thinkfan 1.0.2-2 (Thu 02 Apr 2020 04:30:19 PM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
CMake Error at CMakeLists.txt:59 (message):
USE_YAML enabled but yaml-cpp not found. Please install yaml-cpp[-devel]!
-- Configuring incomplete, errors occurred!
See also "/home/theod/.cache/yay/thinkfan/src/thinkfan-1.0.2/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
Aborting...
Error making: thinkfan
1 theod@beor:~$ sudo pacman -S yaml-cpp
warning: yaml-cpp-0.6.3-2 is up to date -- reinstalling
Pinned Comments