You are not logged in.

#26 2024-05-05 12:50:53

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,203

Re: [SOLVED] high use CPU after update (conky)

afaict conky-git builds the git master.
Idk whether the catch2 error mentioned is currently a thing but people flag git packages "out of date" all the time because reasons.
git packages aren't "out of date", the build whatever the last commit in the pulled git branch is.

Offline

#27 2024-05-05 12:58:31

quellen
Member
From: Italy
Registered: 2014-05-24
Posts: 364

Re: [SOLVED] high use CPU after update (conky)

seth wrote:

git packages aren't "out of date", the build whatever the last commit in the pulled git branch is.

theoretically yes, but compiling conky-git doesn't work:

$ makepkg -si
==> Making package: conky-git 1.20.2.r39.ga03f0bc5-1 (Sun May  5 14:59:53 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating conky git repo...
==> Validating source files with sha256sums...
    conky ... Skipped
==> Extracting sources...
  -> Creating working copy of conky git repo...
Reset branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- CMAKE_C_FLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection
-- CMAKE_CXX_FLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -ffat-lto-objects
-- CMAKE_C_FLAGS_DEBUG: -g
-- CMAKE_CXX_FLAGS_DEBUG: -g
-- CMAKE_C_FLAGS_MINSIZEREL: -Os -DNDEBUG
-- CMAKE_CXX_FLAGS_MINSIZEREL: -Os -DNDEBUG
-- CMAKE_C_FLAGS_RELEASE: -O3 -DNDEBUG
-- CMAKE_CXX_FLAGS_RELEASE: -O3 -DNDEBUG
-- CMAKE_C_FLAGS_RELWITHDEBINFO: -O2 -g -DNDEBUG
-- CMAKE_CXX_FLAGS_RELWITHDEBINFO: -O2 -g -DNDEBUG
-- CMAKE_BUILD_TYPE: Release
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Found Lua: /usr/lib/liblua5.4.so;/usr/lib/libm.so (found suitable version "5.4.6", minimum required is "5.3")
-- Found Lua: /usr/lib/liblua5.4.so;/usr/lib/libm.so (found version "5.4.6")
Configuration for target conky
-- SOURCE_DIR = /tmp/conky-git/src/conky/src
-- BINARY_DIR = /tmp/conky-git/src/conky/build/src
-- COMPILE_OPTIONS = $<$<COMPILE_LANG_AND_ID:CXX,Clang>:-stdlib=libc++>
-- INCLUDE_DIRECTORIES = /tmp/conky-git/src/conky/3rdparty/toluapp/include;/tmp/conky-git/src/conky/build;/usr/include;/usr/include;/usr/include/freetype2;/usr/include/freetype2;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include/libxml2;/tmp/conky-git/src/conky/build/src;/tmp/conky-git/src/conky/build/data
-- LINK_LIBRARIES = conky_core;-lm;/usr/lib/libncurses.so;/usr/lib/libform.so;/usr/lib/libiw.so;/usr/lib/libSM.so;/usr/lib/libICE.so;/usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXdamage.so;/usr/lib/libXfixes.so;/usr/lib/libXft.so;/usr/lib/libfontconfig.so;/usr/lib/libXext.so;/usr/lib/libXinerama.so;/usr/lib/libXfixes.so;/usr/lib/libXi.so;/usr/lib/libxcb.so;/usr/lib/liblua5.4.so;/usr/lib/libm.so;/usr/lib/libXNVCtrl.so;-L/usr/lib;-lImlib2;-L/usr/lib;-lsystemd;pulse;curl;curl;/usr/lib/libxml2.so;toluapp_lib_static;tcp-portmon
-- Configuring done (0.4s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/conky-git/src/conky/build
make: Entering directory '/tmp/conky-git/src/conky/build'
[  2%] Built target generated_hdr_files
[  8%] Built target tcp-portmon
[ 10%] Built target toluapp_lib_static
[ 13%] Built target toluapp
[ 14%] Building CXX object src/CMakeFiles/conky_core.dir/colours.cc.o
[ 14%] Built target man.md
[ 15%] Linking CXX static library libconky_core.a
[ 87%] Built target conky_core
[ 94%] Building CXX object tests/CMakeFiles/test-conky.dir/test-gradient.cc.o
[ 94%] Building CXX object tests/CMakeFiles/test-conky.dir/test-common.cc.o
[ 94%] Building CXX object tests/CMakeFiles/test-conky.dir/test-fs.cc.o
[ 94%] Building CXX object tests/CMakeFiles/test-conky.dir/test-conky.cc.o
[ 94%] Building CXX object tests/CMakeFiles/test-conky.dir/test-diskio.cc.o
[ 94%] Building CXX object tests/CMakeFiles/test-conky.dir/test-core.cc.o
[ 94%] Building CXX object tests/CMakeFiles/test-conky.dir/test-linux.cc.o
[ 95%] Building CXX object tests/CMakeFiles/test-conky.dir/test-graph.cc.o
[ 96%] Building CXX object tests/CMakeFiles/test-conky.dir/test-colours.cc.o
[ 97%] Linking CXX executable conky
/tmp/conky-git/src/conky/tests/test-common.cc:32:10: fatal error: catch2/catch.hpp: No such file or directory
   32 | #include "catch2/catch.hpp"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
/tmp/conky-git/src/conky/tests/test-colours.cc:1:10: fatal error: catch2/catch.hpp: No such file or directory
    1 | #include "catch2/catch.hpp"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
/tmp/conky-git/src/conky/tests/test-core.cc:29:10: fatal error: catch2/catch.hpp: No such file or directory
   29 | #include "catch2/catch.hpp"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
/tmp/conky-git/src/conky/tests/test-linux.cc:29:10: fatal error: catch2/catch.hpp: No such file or directory
   29 | #include "catch2/catch.hpp"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
/tmp/conky-git/src/conky/tests/test-conky.cc:29:10: fatal error: catch2/catch.hpp: No such file or directory
   29 | #include "catch2/catch.hpp"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [tests/CMakeFiles/test-conky.dir/build.make:76: tests/CMakeFiles/test-conky.dir/test-common.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/tmp/conky-git/src/conky/tests/test-diskio.cc:29:10: fatal error: catch2/catch.hpp: No such file or directory
   29 | #include "catch2/catch.hpp"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [tests/CMakeFiles/test-conky.dir/build.make:118: tests/CMakeFiles/test-conky.dir/test-core.cc.o] Error 1
/tmp/conky-git/src/conky/tests/test-fs.cc:29:10: fatal error: catch2/catch.hpp: No such file or directory
   29 | #include "catch2/catch.hpp"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [tests/CMakeFiles/test-conky.dir/build.make:188: tests/CMakeFiles/test-conky.dir/test-colours.cc.o] Error 1
make[2]: *** [tests/CMakeFiles/test-conky.dir/build.make:104: tests/CMakeFiles/test-conky.dir/test-linux.cc.o] Error 1
make[2]: *** [tests/CMakeFiles/test-conky.dir/build.make:90: tests/CMakeFiles/test-conky.dir/test-conky.cc.o] Error 1
make[2]: *** [tests/CMakeFiles/test-conky.dir/build.make:132: tests/CMakeFiles/test-conky.dir/test-diskio.cc.o] Error 1
make[2]: *** [tests/CMakeFiles/test-conky.dir/build.make:146: tests/CMakeFiles/test-conky.dir/test-fs.cc.o] Error 1
/tmp/conky-git/src/conky/tests/test-gradient.cc:29:10: fatal error: catch2/catch.hpp: No such file or directory
   29 | #include "catch2/catch.hpp"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [tests/CMakeFiles/test-conky.dir/build.make:160: tests/CMakeFiles/test-conky.dir/test-gradient.cc.o] Error 1
/tmp/conky-git/src/conky/tests/test-graph.cc:30:10: fatal error: catch2/catch.hpp: No such file or directory
   30 | #include "catch2/catch.hpp"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [tests/CMakeFiles/test-conky.dir/build.make:174: tests/CMakeFiles/test-conky.dir/test-graph.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1194: tests/CMakeFiles/test-conky.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[WARNING] Could not convert TeX math cat in that it parses the contents of the file, so you can insert things like `, rendering as TeX:
  insert things like `
                     ^
  unexpected '`'
  expecting "\\bangle", "\\brace", "\\brack", "\\choose", "\\displaystyle", "\\textstyle", "\\scriptstyle", "\\scriptscriptstyle", "{", "\\operatorname", letter, digit, ".", "!", "'", "''", "'''", "''''", "*", "+", ",", "-", ".", "/", ":", ":=", ";", "<", "=", ">", "?", "@", "~", "_", "^", "\\left", "\\", "\\hyperref" or end of input
[WARNING] Could not convert TeX math exec in that it parses the output of the command, so you can insert things like `, rendering as TeX:
  insert things like `
                     ^
  unexpected '`'
  expecting "\\bangle", "\\brace", "\\brack", "\\choose", "\\displaystyle", "\\textstyle", "\\scriptstyle", "\\scriptscriptstyle", "{", "\\operatorname", letter, digit, ".", "!", "'", "''", "'''", "''''", "*", "+", ",", "-", ".", "/", ":", ":=", ";", "<", "=", ">", "?", "@", "~", "_", "^", "\\left", "\\", "\\hyperref" or end of input
[ 97%] Built target conky.1
[ 98%] Built target conky
make: *** [Makefile:166: all] Error 2
make: Leaving directory '/tmp/conky-git/src/conky/build'
==> ERROR: A failure occurred in build().
    Aborting...

Last edited by quellen (2024-05-05 13:00:19)


sorry for my bad english

Offline

#28 2024-05-05 13:02:22

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,203

Offline

#29 2024-05-06 10:46:36

quellen
Member
From: Italy
Registered: 2014-05-24
Posts: 364

Re: [SOLVED] high use CPU after update (conky)

done. thanks.
a curiosity: why has conky not yet been updated on the arch repos and has remained at version 1.19.7 of February 20th?


sorry for my bad english

Offline

#30 2024-05-06 15:53:31

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,203

Re: [SOLVED] high use CPU after update (conky)

You'd have to ask the package maintainer, it's flagged out of date for ~2 weeks.
However, remember number #6

Offline

Board footer

Powered by FluxBB