* Package: x11-plugins/wmcms-0.3.5-r4:0 * Repository: gentoo * Maintainer: voyageur@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking wmcms-0.3.5.tar.gz to /var/tmp/portage/x11-plugins/wmcms-0.3.5-r4/work >>> Source unpacked in /var/tmp/portage/x11-plugins/wmcms-0.3.5-r4/work >>> Preparing source in /var/tmp/portage/x11-plugins/wmcms-0.3.5-r4/work/wmcms-0.3.5 ... * Applying wmcms-0.3.5-s4t4n.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-plugins/wmcms-0.3.5-r4/work/wmcms-0.3.5 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-plugins/wmcms-0.3.5-r4/work/wmcms-0.3.5 ... make -j4 'CFLAGS=-O2 -pipe -march=native -fno-diagnostics-color' CC=x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color wmcms.c -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o wmcms -lXext -lX11 -L/usr/X11R6/lib -lXpm -ldockapp wmcms.c: In function ‘main’: wmcms.c:210:52: error: passing argument 4 of ‘DAMakePixmapFromData’ from incompatible pointer type [-Wincompatible-pointer-types] 210 | DAMakePixmapFromData(wmcms_xpm, &backdrop, None, &b_width, &b_height); | ^~~~~~~~ | | | unsigned int * In file included from wmcms.c:21: /usr/include/libdockapp/dockapp.h:286:43: note: expected ‘short unsigned int *’ but argument is of type ‘unsigned int *’ 286 | unsigned short *width, unsigned short *height); | ~~~~~~~~~~~~~~~~^~~~~ wmcms.c:210:62: error: passing argument 5 of ‘DAMakePixmapFromData’ from incompatible pointer type [-Wincompatible-pointer-types] 210 | DAMakePixmapFromData(wmcms_xpm, &backdrop, None, &b_width, &b_height); | ^~~~~~~~~ | | | unsigned int * /usr/include/libdockapp/dockapp.h:286:66: note: expected ‘short unsigned int *’ but argument is of type ‘unsigned int *’ 286 | unsigned short *width, unsigned short *height); | ~~~~~~~~~~~~~~~~^~~~~~ wmcms.c: In function ‘Get_Kernel_version’: wmcms.c:375:13: error: implicit declaration of function ‘strstr’ [-Wimplicit-function-declaration] 375 | if (strstr(buf, "2.6.")) return IS_2_6; | ^~~~~~ wmcms.c:25:1: note: include ‘’ or provide a declaration of ‘strstr’ 24 | #include "wmcms.xpm" +++ |+#include 25 | wmcms.c:375:13: warning: incompatible implicit declaration of built-in function ‘strstr’ [-Wbuiltin-declaration-mismatch] 375 | if (strstr(buf, "2.6.")) return IS_2_6; | ^~~~~~ wmcms.c:375:13: note: include ‘’ or provide a declaration of ‘strstr’ In file included from wmcms.c:22: state_linux_2.6.h: In function ‘get_cpuinfo_26’: state_linux_2.6.h:39:3: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 39 | fscanf ( fp, "%*s %d %d %d %d", &cpu_user, &cpu_nice, &cpu_kernel, &cpu_idle ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state_linux_2.6.h: In function ‘get_meminfo_26’: state_linux_2.6.h:49:3: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 49 | fscanf ( fp, "%*s %d %*s %*s %d %*s %*s %d %*s %*s %d %*s %*s %*d %*s %*s %*d %*s %*s %*d %*s %*s %*d %*s %*s %*d %*s %*s %*d %*s %*s %*d %*s %*s %d %*s %*s %d %*s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 50 | &mem_total, &mem_free, &mem_buffers, &mem_cached, &swap_total, &swap_free ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wmcms.c:23: state_linux_2.4.h: In function ‘get_cpuinfo_24’: state_linux_2.4.h:37:3: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 37 | fscanf ( fp, "%*s %d %d %d %d", &cpu_user, &cpu_nice, &cpu_kernel, &cpu_idle ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state_linux_2.4.h: In function ‘get_meminfo_24’: state_linux_2.4.h:45:3: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 45 | fscanf ( fp, "%*s %*s %*s %*s %*s %*s %*s %d %d %*d %*d %d %d %*s %d %d", &mem_total, &mem_used, &mem_buffers, &mem_cached, &swap_total, &swap_used ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmcms.c: In function ‘change’: wmcms.c:128:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 128 | system ( exe ); | ^~~~~~~~~~~~~~ make: *** [Makefile:12: wmcms] Error 1 * ERROR: x11-plugins/wmcms-0.3.5-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-plugins/wmcms-0.3.5-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-plugins/wmcms-0.3.5-r4::gentoo'`. * The complete build log is located at '/var/log/portage/x11-plugins:wmcms-0.3.5-r4:20231204-100416.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-plugins/wmcms-0.3.5-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/wmcms-0.3.5-r4/temp/environment'. * Working directory: '/var/tmp/portage/x11-plugins/wmcms-0.3.5-r4/work/wmcms-0.3.5' * S: '/var/tmp/portage/x11-plugins/wmcms-0.3.5-r4/work/wmcms-0.3.5'