* Package: x11-plugins/cputnik-0.2.0-r1 * Repository: gentoo * Maintainer: voyageur@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking cputnik-0.2.0.tar.gz to /var/tmp/portage/x11-plugins/cputnik-0.2.0-r1/work >>> Source unpacked in /var/tmp/portage/x11-plugins/cputnik-0.2.0-r1/work >>> Preparing source in /var/tmp/portage/x11-plugins/cputnik-0.2.0-r1/work/cputnik-0.2.0/src ... * Applying cputnik-0.2.0-makefile.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-plugins/cputnik-0.2.0-r1/work/cputnik-0.2.0/src ... >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-plugins/cputnik-0.2.0-r1/work/cputnik-0.2.0/src ... make -j1 CC=x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -I/usr/include/X11 -c docklib.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -I/usr/include/X11 docklib.o cputnik.c -o cputnik -Wl,-O1 -Wl,--as-needed -L/usr/lib -lXpm -lXext -lX11 cputnik.c: In function ‘cputnik_routine’: cputnik.c:187:55: warning: pointer targets in passing argument 4 of ‘dcl_open_x_window’ differ in signedness [-Wpointer-sign] 187 | dcl_open_x_window(argc, argv, cputnik_master_xpm, cputnik_mask_bits, MASK_WIDTH, MASK_HEIGHT); | ^~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from cputnik.h:23, from cputnik.c:23: docklib.h:108:67: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 108 | dcl_open_x_window (int argc, char *argv[], char **, char *, int, int); | ^~~~~~ cputnik.c:249:11: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 249 | } else | ^~~~ cputnik.c:252:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 252 | cpu_device.his[V_WIDTH] = 0; | ^~~~~~~~~~ cputnik.c:168:5: warning: variable ‘but_stat’ set but not used [-Wunused-but-set-variable] 168 | int but_stat = -1, xfd = 0; | ^~~~~~~~ cputnik.c: In function ‘get_mem_statistics’: cputnik.c:44:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 44 | fscanf(fp_memory, "%Ld", &m_total); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cputnik.c:47:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 47 | fscanf(fp_memory, "%Ld", &m_free); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cputnik.c:50:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 50 | fscanf(fp_memory, "%Ld", &m_cached); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cputnik.c: In function ‘get_cpu_statistics’: cputnik.c:97:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 97 | fscanf(fp_loadavg, "%f", &f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/x11-plugins/cputnik-0.2.0-r1/temp/cccxvTTL.o:(.bss+0x2150): multiple definition of `file_types'; docklib.o:(.bss+0x4b0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/x11-plugins/cputnik-0.2.0-r1/temp/cccxvTTL.o:(.bss+0x2154): multiple definition of `led_colors'; docklib.o:(.bss+0x4b4): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc collect2: error: ld returned 1 exit status make: *** [Makefile:9: all] Error 1 * ERROR: x11-plugins/cputnik-0.2.0-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-plugins/cputnik-0.2.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-plugins/cputnik-0.2.0-r1::gentoo'`. * The complete build log is located at '/var/log/portage/x11-plugins:cputnik-0.2.0-r1:20200201-062445.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-plugins/cputnik-0.2.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/cputnik-0.2.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/x11-plugins/cputnik-0.2.0-r1/work/cputnik-0.2.0/src' * S: '/var/tmp/portage/x11-plugins/cputnik-0.2.0-r1/work/cputnik-0.2.0/src'