Package Details: conky-cli 1.21.1-1

Git Clone URL: https://aur.archlinux.org/conky-cli.git (read-only, click to copy)
Package Base: conky-cli
Description: Lightweight system monitor for X, without X11 dependencies
Upstream URL: https://github.com/brndnmtthws/conky
Keywords: conky
Licenses: GPL, BSD
Conflicts: conky
Provides: conky
Submitter: karc
Maintainer: eddie_vs
Last Packager: eddie_vs
Votes: 95
Popularity: 0.000632
First Submitted: 2007-07-02 00:53 (UTC)
Last Updated: 2024-05-23 13:35 (UTC)

Required by (10)

Sources (1)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

sekret commented on 2023-01-05 13:24 (UTC) (edited on 2023-01-05 13:25 (UTC) by sekret)

xorgproto is really required as a makedependency!


…
[ 72%] Building CXX object src/CMakeFiles/conky.dir/display-x11.cc.o
In file included from /build/conky-cli/src/conky-1.17.0/src/display-x11.cc:58:
/build/conky-cli/src/conky-1.17.0/src/x11.h:27:10: fatal error: X11/Xatom.h: No such file or directory
   27 | #include <X11/Xatom.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/conky.dir/build.make:594: src/CMakeFiles/conky.dir/display-x11.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:350: src/CMakeFiles/conky.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
make: Leaving directory '/build/conky-cli/src/conky-1.17.0/build'
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /mnt/chroot/sekret/build

The same is true for libx11 (output after I've added xorgproto)


…
[ 73%] Building CXX object src/CMakeFiles/conky.dir/display-wayland.cc.o
In file included from /build/conky-cli/src/conky-1.17.0/src/display-x11.cc:58:
/build/conky-cli/src/conky-1.17.0/src/x11.h:30:10: fatal error: X11/Xlib.h: No such file or directory
   30 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/conky.dir/build.make:594: src/CMakeFiles/conky.dir/display-x11.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:350: src/CMakeFiles/conky.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
make: Leaving directory '/build/conky-cli/src/conky-1.17.0/build'
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /mnt/chroot/sekret/build

sekret commented on 2023-01-02 17:19 (UTC) (edited on 2023-01-02 17:20 (UTC) by sekret)

About the options: I know what they are doing. What I meant to ask ist: Why do you include them? For me they only make the build a lot bigger than it needs to be.

I'd say we don't need debug symbols in this package. Or do you have a specific reason to include them?

sekret commented on 2023-01-02 17:15 (UTC) (edited on 2023-01-02 17:17 (UTC) by sekret)

Please add xorgproto and libx11 to makedepends.

It doesn't build without these. Discovered by building in a clean chroot.

eddie_vs commented on 2022-12-31 22:26 (UTC)

@sekret thanks, added 'python-yaml' and 'python-jinja' as makedepends.

As for the options: https://wiki.archlinux.org/title/Debugging/Getting_traces#Compilation_options

Cheers

sekret commented on 2022-12-14 21:35 (UTC)

Question: What's the reason for these two options?

options=('!strip' 'debug')

sekret commented on 2022-12-14 21:34 (UTC)

The build fails in a clean chroot.

Please add 'python-yaml' 'python-jinja' to makedepends. Both are required.

eddie_vs commented on 2022-08-30 16:11 (UTC)

Updated to fix building with latest glibc by unbundling catch2, which is therefore added as a makedepend.

friday13 commented on 2022-04-19 00:09 (UTC) (edited on 2022-04-19 00:40 (UTC) by friday13)

[ 90%] Building CXX object tests/CMakeFiles/test-conky.dir/test-common.cc.o

In file included from /usr/include/signal.h:328,
                 from /home/friday13/.cache/yay/conky-cli/src/conky-1.12.2/tests/catch2/catch.hpp:5730,
                 from /home/friday13/.cache/yay/conky-cli/src/conky-1.12.2/tests/test-common.cc:32:
/home/friday13/.cache/yay/conky-cli/src/conky-1.12.2/tests/catch2/catch.hpp:8351:14: error: call to non-‘constexpr’ function ‘long int sysconf(int)’
 8351 |     32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
      |              ^~~~~~~~~~~
In file included from /usr/include/bits/sigstksz.h:24,
                 from /usr/include/signal.h:328,
 from /home/friday13/.cache/yay/conky-cli/src/conky-1.12.2/tests/catch2/catch.hpp:5730,
                 from /home/friday13/.cache/yay/conky-cli/src/conky-1.12.2/tests/test-common.cc:32:
/usr/include/unistd.h:640:17: note: ‘long int sysconf(int)’ declared here
  640 | extern long int sysconf (int __name) __THROW;
      |                 ^~~~~~~
In file included from /home/friday13/.cache/yay/conky-cli/src/conky-1.12.2/tests/test-common.cc:32:
/home/friday13/.cache/yay/conky-cli/src/conky-1.12.2/tests/catch2/catch.hpp:8409:41: error: size of array ‘altStackMem’ is not an integral constant-expression
 8409 | char FatalConditionHandler::altStackMem[sigStackSize] = {};
      |                                         ^~~~~~~~~~~~
make[2]: *** [tests/CMakeFiles/test-conky.dir/build.make:76: tests/CMakeFiles/test-conky.dir/test-common.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1108: tests/CMakeFiles/test-conky.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: conky-cli


The error is mainly from source files in /build/conky-git/src/conky/tests , one workaround is using -D MAINTAINER_MODE=OFF with cmake. Then it builds fine. However, I don't know what other problems it may cause. https://github.com/brndnmtthws/conky/issues/1179

catman commented on 2022-02-22 02:07 (UTC)

Can't build. See error log below.

In file included from /usr/include/signal.h:328, from /home/catman/conky-cli/src/conky-1.12.2/tests/catch2/catch.hpp:5730, from /home/catman/conky-cli/src/conky-1.12.2/tests/test-common.cc:32: /home/catman/conky-cli/src/conky-1.12.2/tests/catch2/catch.hpp:8351:14: error: call to non-‘constexpr’ function ‘long int sysconf(int)’ 8351 | 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ; | ^~~~~~~~~~~ In file included from /usr/include/bits/sigstksz.h:24, from /usr/include/signal.h:328, from /home/catman/conky-cli/src/conky-1.12.2/tests/catch2/catch.hpp:5730, from /home/catman/conky-cli/src/conky-1.12.2/tests/test-common.cc:32: /usr/include/unistd.h:640:17: note: ‘long int sysconf(int)’ declared here 640 | extern long int sysconf (int __name) __THROW; | ^~~~~~~ In file included from /home/catman/conky-cli/src/conky-1.12.2/tests/test-common.cc:32: /home/catman/conky-cli/src/conky-1.12.2/tests/catch2/catch.hpp:8409:41: error: size of array ‘altStackMem’ is not an integral constant-expression 8409 | char FatalConditionHandler::altStackMem[sigStackSize] = {}; | ^~~~~~~~~~~~ [ 98%] Built target conky make[2]: [tests/CMakeFiles/test-conky.dir/build.make:76: tests/CMakeFiles/test-conky.dir/test-common.cc.o] Error 1 make[1]: [CMakeFiles/Makefile2:1108: tests/CMakeFiles/test-conky.dir/all] Error 2 make: *** [Makefile:166: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...