* Package: x11-plugins/gkwebmon-0.2-r2 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking gkwebmon-0.2.tgz to /var/tmp/portage/x11-plugins/gkwebmon-0.2-r2/work >>> Source unpacked in /var/tmp/portage/x11-plugins/gkwebmon-0.2-r2/work >>> Preparing source in /var/tmp/portage/x11-plugins/gkwebmon-0.2-r2/work/gkwebmon-0.2 ... * Applying respect-cc-cflags-ldflags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-plugins/gkwebmon-0.2-r2/work/gkwebmon-0.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-plugins/gkwebmon-0.2-r2/work/gkwebmon-0.2 ... make -j1 CC=x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -c -o webmon.o webmon.c webmon.c: In function ‘get_page_and_send_data_to_md5_check’: webmon.c:182:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 182 | num = (int) arg; | ^ webmon.c:206:18: warning: pointer targets in passing argument 1 of ‘base64Encode’ differ in signedness [-Wpointer-sign] 206 | base64Encode(authInfo, strlen(upw), upw); | ^~~~~~~~ | | | char * webmon.c:33:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 33 | static size_t base64Encode(unsigned char *dest, size_t srclen, const char *src) | ~~~~~~~~~~~~~~~^~~~ webmon.c: In function ‘start_thread’: webmon.c:297:7: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 297 | int ret; | ^~~ In file included from /usr/include/string.h:494, from /usr/include/glib-2.0/glib/gtestutils.h:30, from /usr/include/glib-2.0/glib.h:85, from /usr/include/gkrellm2/log.h:37, from /usr/include/gkrellm2/gkrellm.h:41, from webmon.h:1, from webmon.c:1: In function ‘strncpy’, inlined from ‘get_md5_to_webinfo_element’ at webmon.c:288:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 32 bytes from a string of length 39 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘get_md5_to_webinfo_element’ at webmon.c:281:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 32 bytes from a string of length 39 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -c -o gk.o gk.c gk.c: In function ‘apply_plugin_config’: gk.c:218:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 218 | start_thread((void *) i); | ^ gk.c: In function ‘create_plugin’: gk.c:227:21: warning: variable ‘ts’ set but not used [-Wunused-but-set-variable] 227 | GkrellmTextstyle *ts, *ts_alt; | ^~ gk.c: In function ‘print_on_textdecal’: gk.c:282:17: warning: variable ‘style’ set but not used [-Wunused-but-set-variable] 282 | GkrellmStyle *style; | ^~~~~ gk.c: In function ‘load_config’: gk.c:413:31: warning: format ‘%a’ expects argument of type ‘float *’, but argument 5 has type ‘char **’ [-Wformat=] 413 | ret = sscanf(str, "%s %d %as %d %as %s", conf_option, &value, | ~^ | | | float * 414 | &server, &port, &page, init_md5); | ~~~~~~~ | | | char ** gk.c:413:38: warning: format ‘%a’ expects argument of type ‘float *’, but argument 7 has type ‘char **’ [-Wformat=] 413 | ret = sscanf(str, "%s %d %as %d %as %s", conf_option, &value, | ~^ | | | float * 414 | &server, &port, &page, init_md5); | ~~~~~ | | | char ** gk.c:429:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 429 | start_thread((void *) value); | ^ gk.c:434:31: warning: format ‘%a’ expects argument of type ‘float *’, but argument 5 has type ‘char **’ [-Wformat=] 434 | ret = sscanf(str, "%s %d %as %s", conf_option, &value, &url, init_md5); | ~^ ~~~~ | | | | float * char ** gk.c:445:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 445 | start_thread((void *) value); | ^ gk.c: In function ‘get_pages_for_check’: gk.c:496:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 496 | start_thread((void *) i); | ^ x86_64-pc-linux-gnu-gcc webmon.o gk.o -o gkwebmon.so -Wl,-O1 -Wl,--as-needed -shared -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lssl -lpthread /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gk.o:(.bss+0x20): multiple definition of `wi'; webmon.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gk.o:(.bss+0x980): multiple definition of `updatetime'; webmon.o:(.bss+0x980): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gk.o:(.bss+0x0): multiple definition of `wheretostore'; webmon.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:18: gkwebmon.so] Error 1 * ERROR: x11-plugins/gkwebmon-0.2-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-plugins/gkwebmon-0.2-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-plugins/gkwebmon-0.2-r2::gentoo'`. * The complete build log is located at '/var/log/portage/x11-plugins:gkwebmon-0.2-r2:20200129-095217.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-plugins/gkwebmon-0.2-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/gkwebmon-0.2-r2/temp/environment'. * Working directory: '/var/tmp/portage/x11-plugins/gkwebmon-0.2-r2/work/gkwebmon-0.2' * S: '/var/tmp/portage/x11-plugins/gkwebmon-0.2-r2/work/gkwebmon-0.2'