>>> yersinia: Building community/yersinia 0.8.2-r3 (using abuild 3.10.0_rc1-r2) started Thu, 03 Nov 2022 17:20:29 +0000 >>> yersinia: Checking sanity of /home/buildozer/aports/community/yersinia/APKBUILD... >>> yersinia: Analyzing dependencies... >>> yersinia: Installing for build: build-base libnet-dev libpcap-dev ncurses-dev (1/6) Installing libnet (1.2-r1) (2/6) Installing libnet-dev (1.2-r1) (3/6) Installing libpcap (1.10.1-r1) (4/6) Installing libpcap-dev (1.10.1-r1) (5/6) Installing ncurses-dev (6.3_p20221029-r0) (6/6) Installing .makedepends-yersinia (20221103.172030) Executing busybox-1.35.0-r27.trigger OK: 242 MiB in 98 packages >>> yersinia: Cleaning up srcdir >>> yersinia: Cleaning up pkgdir >>> yersinia: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/yersinia-0.8.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 25 378k 25 98304 0 0 176k 0 0:00:02 --:--:-- 0:00:02 176k 100 378k 100 378k 0 0 531k 0 --:--:-- --:--:-- --:--:-- 531k >>> yersinia: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/yersinia-0.8.2.tar.gz >>> yersinia: Checking sha512sums... yersinia-0.8.2.tar.gz: OK 0001-fix-compile-with-GCC-10.patch: OK >>> yersinia: Unpacking /var/cache/distfiles/v3.17/yersinia-0.8.2.tar.gz... >>> yersinia: 0001-fix-compile-with-GCC-10.patch patching file src/interfaces.c patching file src/interfaces.h patching file src/ncurses-callbacks.h patching file src/ncurses-interface.c patching file src/ncurses-interface.h patching file src/protocols.c patching file src/protocols.h >>> yersinia: Updating ./config.guess >>> yersinia: Updating ./config.sub checking build system type... s390x-ibm-linux-musl checking host system type... s390x-ibm-linux-musl checking target system type... s390x-ibm-linux-musl checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for makedepend... no checking if unaligned accesses fail... no checking for main in -lsocket... no checking for main in -lresolv... yes checking for main in -lnsl... no checking for main in -lrt... yes checking for a complete set of pcap headers... found /usr/include checking for pcap_lib_version in -lpcap... yes checking for pcap_dump_flush in -lpcap... yes checking for BPF device sending support... checking for a complete set of libnet headers... found /usr/include checking for libnet_build_stp_conf in -lnet... yes checking if libnet is at least version 1.1.2... yes checking for sys/sockio.h... no checking for sys/ioctl.h... yes checking for net/if.h... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking bstring.h usability... no checking bstring.h presence... no checking for bstring.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking for inttypes.h... (cached) yes checking netinet/in_system.h usability... no checking netinet/in_system.h presence... no checking for netinet/in_system.h... no checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking whether time.h and sys/time.h may both be included... yes checking whether byte ordering is bigendian... yes checking if struct sockaddr has sa_len field... no checking for memcpy... yes checking for memset... yes checking for pthread_setconcurrency... yes checking for strerror... yes checking for strtok_r... yes checking for rand_r... yes checking for calloc_r... no checking for malloc_r... no checking for free_r... no checking for ctime_r... yes checking for nanosleep... yes checking for strerror_r... yes checking if strerror_r is on glibc version >= 2.0... no checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking sys/sched.h usability... no checking sys/sched.h presence... no checking for sys/sched.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create in -lpthread... yes checking for pthreads support... ok configure: checking "location of ncurses.h file"... Found ncurses on /usr/include/ncurses.h checking for ncurses version... VERSION: checking panel.h usability... yes checking panel.h presence... yes checking for panel.h... yes checking for use_default_colors in -lncurses... yes checking for resize_term in -lncurses... yes checking for wresize in -lncurses... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/config.h config.status: executing depfiles commands Yersinia, our beloved one, has been configured with the following options. Remote admin : true Use ncurses : true Use gtk : no Making all in src make[1]: Entering directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2/src' make all-am make[2]: Entering directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2/src' gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o xstp.o xstp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o parser.o parser.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o dtp.o dtp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o cdp.o cdp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o dhcp.o dhcp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o hsrp.o hsrp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o dot1q.o dot1q.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o vtp.o vtp.c cdp.c: In function 'cdp_send_hellos': cdp.c:441:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 441 | write_log(0,"\n cdp_helper: %d started...\n",(int)pthread_self()); | ^ cdp.c:467:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 467 | write_log(0," cdp_helper: %d finished...\n",(int)pthread_self()); | ^ dot1q.c: In function 'dot1q_load_values': dot1q.c:922:24: warning: overflow in conversion from 'int' to 'u_int8_t' {aka 'unsigned char'} changes value from '(int)ntohs(*cursor) & 4096' to '0' [-Woverflow] 922 | dot1q->cfi1 = ntohs(*cursor) & 0x1000; | ^~~~~ dot1q.c:935:32: warning: overflow in conversion from 'int' to 'u_int8_t' {aka 'unsigned char'} changes value from '(int)ntohs(*cursor) & 4096' to '0' [-Woverflow] 935 | dot1q->cfi2 = ntohs(*cursor) & 0x1000; | ^~~~~ xstp.c: In function 'xstp_send_hellos': xstp.c:443:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 443 | write_log(0, "\n helper: %d started...\n", (int)pthread_self()); | ^ xstp.c:480:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 480 | write_log(0," helper: %d finished...\n",(int)pthread_self()); | ^ xstp.c: In function 'xstp_send_hellos_mitm': xstp.c:758:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 758 | write_log(0,"\n helper: %d started...\n",(int)pthread_self()); | ^ xstp.c:797:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 797 | write_log(0," helper: %d finished...\n",(int)pthread_self()); | ^ hsrp.c: In function 'hsrp_send_hellos': hsrp.c:305:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 305 | write_log(0,"\n hsrp_helper: %d started...\n",(int)pthread_self()); | ^ hsrp.c:326:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 326 | write_log(0," hsrp_helper: %d finished...\n",(int)pthread_self()); | ^ parser.c: In function 'parser_vrfy_ip2filter': parser.c:1262:15: warning: comparison between pointer and zero character constant [-Wpointer-compare] 1262 | if ((aux=='\0') || (strlen(aux)>2)) | ^~ dtp.c: In function 'dtp_send_negotiate': dtp.c:349:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 349 | write_log(0,"\n dtp_helper: %X init...\n",(int)pthread_self()); | ^ parser.c:1262:12: note: did you mean to dereference the pointer? 1262 | if ((aux=='\0') || (strlen(aux)>2)) | ^ dtp.c:370:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 370 | write_log(0," dtp_helper: %X finished...\n",(int)pthread_self()); | ^ dhcp.c: In function 'dhcp_th_send_offer': dhcp.c:325:1: warning: infinite recursion detected [-Winfinite-recursion] 325 | dhcp_th_send_offer(void *arg) | ^~~~~~~~~~~~~~~~~~ dhcp.c:341:8: note: recursive call 341 | dhcp_th_send_offer(attacks); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from hsrp.c:60: In function 'memcpy', inlined from 'hsrp_init_attribs' at hsrp.c:601:5: /usr/include/fortify/string.h:49:31: warning: array subscript 8 is outside array bounds of 'char[6]' [-Warray-bounds] 49 | (__s < __d && __s + __n > __d)) | ~~~~^~~~~ gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o arp.o arp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o isl.o isl.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o dot1x.o dot1x.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o mpls.o mpls.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o thread-util.o thread-util.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o terminal.o terminal.c thread-util.c: In function 'thread_destroy': thread-util.c:132:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 132 | write_log(0,"\n thread_destroy %X destroying %X...\n",(int)pthread_self(), | ^ thread-util.c:133:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 133 | (int)id); | ^ thread-util.c:144:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 144 | (int)pthread_self(), (int)id); | ^ thread-util.c:144:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 144 | (int)pthread_self(), (int)id); | ^ thread-util.c: In function 'thread_error': thread-util.c:344:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 344 | write_log(0, "%s: (%d) %s -> %s\n", PACKAGE, (int)pthread_self(), msg, | ^ thread-util.c: In function 'thread_libnet_error': thread-util.c:359:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 359 | write_log(0, "%s: (%d) %s -> %s\n", PACKAGE, (int)pthread_self(), msg, | ^ gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o interfaces.o interfaces.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o attack.o attack.c mpls.c: In function 'mpls_send': mpls.c:293:9: warning: the comparison will always evaluate as 'true' for the address of 'ip_payload' will never be NULL [-Waddress] 293 | if (mpls_data->ip_payload && mpls_data->ip_payload[0]) | ^~~~~~~~~ In file included from mpls.c:80: mpls.h:78:16: note: 'ip_payload' declared here 78 | u_int8_t ip_payload[MAX_IP_PAYLOAD+1]; | ^~~~~~~~~~ attack.c: In function 'attack_launch': attack.c:145:77: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 145 | write_log(0, " attack_launch: %X Attack thread %X is born!!\n", (int)pthread_self(), | ^ attack.c: In function 'attack_kill_th': attack.c:170:34: warning: the comparison will always evaluate as 'true' for the address of 'attacks' will never be NULL [-Waddress] 170 | if (protocols[i].visible && node->protocol[i].attacks) | ^~ In file included from interfaces.h:31, from attack.h:30, from attack.c:78: terminal-defs.h:255:26: note: 'attacks' declared here 255 | struct attacks attacks[MAX_THREAD_ATTACK]; /* Attacking threads */ | ^~~~~~~ attack.c: In function 'attack_th_exit': attack.c:226:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 226 | (int)pthread_self(), (int)attacks->helper_th.id); | ^ attack.c:226:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 226 | (int)pthread_self(), (int)attacks->helper_th.id); | ^ attack.c:252:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 252 | write_log(0, " attack_th_exit: %X finished\n", (int) pthread_self()); | ^ interfaces.c: In function 'interfaces_th_pcap_listen': interfaces.c:697:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 697 | write_log(0,"\n interfaces_th_pcap_listen thread_id = %d\n",(int)pthread_self()); | ^ interfaces.c: In function 'interfaces_destroy': interfaces.c:1176:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1176 | write_log(0," ints_destroy killing pcap_listener(%d)...\n", (int)pcap_th->id); | ^ gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o yersinia.o yersinia.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o md5.o md5.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o md5-sum.o md5-sum.c yersinia.c: In function 'th_tty_peer': yersinia.c:312:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 312 | write_log(0, "\n th_tty_peer thread = %d...\n",(int)pthread_self()); | ^ yersinia.c: In function 'th_tty_peer_exit': yersinia.c:445:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 445 | write_log(0,"\n th_tty_peer %d finished...\n",(int)pthread_self()); | ^ yersinia.c: In function 'th_uptime': yersinia.c:543:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 543 | write_log(0,"\n th_uptime thread = %X\n",(int)pthread_self()); | ^ yersinia.c: In function 'g00dbye': yersinia.c:762:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 762 | write_log(0," g00dbye function called from %X\n",(int)pthread_self()); | ^ yersinia.c: In function 'final': yersinia.c:961:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 961 | write_log(1,"\nTERM signal received from %d!\n", (int)pthread_self()); | ^ gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o protocols.o protocols.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o dlist.o dlist.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o ncurses-gui.o ncurses-gui.c ncurses-gui.c: In function 'ncurses_gui': ncurses-gui.c:114:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 114 | write_log(0,"\n ncurses_gui_th = %d\n",(int)pthread_self()); | ^ gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o ncurses-callbacks.o ncurses-callbacks.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o ncurses-interface.o ncurses-interface.c ncurses-callbacks.c: In function 'ncurses_c_edit_bwindow': ncurses-callbacks.c:863:25: warning: variable 'row' set but not used [-Wunused-but-set-variable] 863 | u_int32_t y, x, col, row, offset, initial, start; | ^~~ ncurses-callbacks.c: In function 'ncurses_c_set_status_line': ncurses-callbacks.c:1028:19: warning: variable 'col' set but not used [-Wunused-but-set-variable] 1028 | u_int8_t row, col, size; | ^~~ gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o admin.o admin.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -O3 -Wall -g -D_DEFAULT_SOURCE -c -o commands.o commands.c ncurses-interface.c: In function 'ncurses_i_splash_screen': ncurses-interface.c:255:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=] 255 | mvwprintw(splash_screen, 6, 23, "%s uptime is %02lu seconds", PACKAGE, uptime); | ~~~~^ ~~~~~~ | | | | long unsigned int u_int32_t {aka unsigned int} | %02u ncurses-interface.c:259:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=] 259 | mvwprintw(splash_screen, 6, 23, "%s uptime is %02lu minutes, %02lu seconds", | ~~~~^ | | | long unsigned int | %02u 260 | PACKAGE, uptime / 60, uptime % 60); | ~~~~~~~~~~~ | | | u_int32_t {aka unsigned int} ncurses-interface.c:259:75: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=] 259 | mvwprintw(splash_screen, 6, 23, "%s uptime is %02lu minutes, %02lu seconds", | ~~~~^ | | | long unsigned int | %02u 260 | PACKAGE, uptime / 60, uptime % 60); | ~~~~~~~~~~~ | | | u_int32_t {aka unsigned int} ncurses-interface.c:265:45: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=] 265 | mvwprintw(splash_screen, 6, 23, "%s uptime is %02lu hours, %02lu minutes, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | %02lu seconds", PACKAGE, uptime / 3600, (uptime % 3600) / 60, uptime % 60); | ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | | | u_int32_t {aka unsigned int} ncurses-interface.c:265:45: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=] 265 | mvwprintw(splash_screen, 6, 23, "%s uptime is %02lu hours, %02lu minutes, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | %02lu seconds", PACKAGE, uptime / 3600, (uptime % 3600) / 60, uptime % 60); | ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ | | | u_int32_t {aka unsigned int} ncurses-interface.c:265:45: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=] 265 | mvwprintw(splash_screen, 6, 23, "%s uptime is %02lu hours, %02lu minutes, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | %02lu seconds", PACKAGE, uptime / 3600, (uptime % 3600) / 60, uptime % 60); | ~~~~~~~~~~~~~~ ~~~~~~~~~~~ | | | u_int32_t {aka unsigned int} ncurses-interface.c:269:45: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=] 269 | mvwprintw(splash_screen, 6, 23, "%s uptime is %02lu days, %02lu hours, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | %02lu minutes, %02lu seconds", PACKAGE, uptime / (3600*24), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ | | | u_int32_t {aka unsigned int} ncurses-interface.c:269:45: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=] 269 | mvwprintw(splash_screen, 6, 23, "%s uptime is %02lu days, %02lu hours, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | %02lu minutes, %02lu seconds", PACKAGE, uptime / (3600*24), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | (uptime % (3600*24)) / 3600, (uptime % 3600) / 60, uptime % 60); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u_int32_t {aka unsigned int} ncurses-interface.c:269:45: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=] 269 | mvwprintw(splash_screen, 6, 23, "%s uptime is %02lu days, %02lu hours, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | %02lu minutes, %02lu seconds", PACKAGE, uptime / (3600*24), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | (uptime % (3600*24)) / 3600, (uptime % 3600) / 60, uptime % 60); | ~~~~~~~~~~~~~~~~~~~~ | | | u_int32_t {aka unsigned int} ncurses-interface.c:269:45: warning: format '%lu' expects argument of type 'long unsigned int', but argument 9 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=] 269 | mvwprintw(splash_screen, 6, 23, "%s uptime is %02lu days, %02lu hours, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | %02lu minutes, %02lu seconds", PACKAGE, uptime / (3600*24), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | (uptime % (3600*24)) / 3600, (uptime % 3600) / 60, uptime % 60); | ~~~~~~~~~~~ | | | u_int32_t {aka unsigned int} ncurses-interface.c: In function 'ncurses_i_show_info': ncurses-interface.c:702:38: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'u_int32_t' {aka 'unsigned int'} [-Wformat=] 702 | mvwprintw(info_window, k++, 19,"%ld", | ~~^ | | | long int | %d 703 | protocols[mode].stats[pointer].total); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u_int32_t {aka unsigned int} admin.c: In function 'admin_th_listen': admin.c:128:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 128 | write_log(0,"\n admin_th_network_listen es %d\n",(int)pthread_self()); | ^ admin.c:240:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 240 | (void *)sock2) < 0) | ^ admin.c: In function 'admin_th_network_peer': admin.c:338:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 338 | fail = term_add_node(&term_node, TERM_VTY, (int)sock, pthread_self()); | ^ admin.c:344:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 344 | admin_th_network_peer_exit(term_node, (int32_t)sock); | ^ admin.c:354:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 354 | admin_th_network_peer_exit(term_node, (int32_t)sock); | ^ admin.c:385:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 385 | admin_th_network_peer_exit(term_node, (int32_t)sock); | ^ admin.c:392:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 392 | admin_th_network_peer_exit(term_node, (int32_t)sock); | ^ admin.c:447:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 447 | (int)term_node->thread.id); | ^ admin.c: In function 'admin_th_network_peer_exit': ncurses-interface.c: In function 'ncurses_i_popup_window': ncurses-interface.c:1334:58: warning: variable 'col' set but not used [-Wunused-but-set-variable] 1334 | int32_t i, j, pointer, end, result, key_pressed, row, col; | ^~~ admin.c:955:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 955 | write_log(0," admin_peer_th %d finished...\n",(int)pthread_self()); | ^ gcc -O3 -Wall -g -D_DEFAULT_SOURCE -Wl,--as-needed,-O1,--sort-common -o yersinia xstp.o parser.o dtp.o cdp.o dhcp.o hsrp.o dot1q.o vtp.o arp.o isl.o dot1x.o mpls.o thread-util.o terminal.o interfaces.o attack.o yersinia.o md5.o md5-sum.o protocols.o dlist.o ncurses-gui.o ncurses-callbacks.o ncurses-interface.o admin.o commands.o -lpthread -lrt -lresolv -lpcap -lnet -lpanel -lncurses make[2]: Leaving directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2/src' make[1]: Leaving directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2/src' make[1]: Entering directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2' Making check in src make[1]: Entering directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2/src' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2/src' make[1]: Entering directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2' make[1]: Nothing to be done for 'check-am'. make[1]: Leaving directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2' >>> yersinia: Entering fakeroot... Making install in src make[1]: Entering directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2/src' make[2]: Entering directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2/src' .././install-sh -c -d '/home/buildozer/aports/community/yersinia/pkg/yersinia/usr/bin' make[2]: Nothing to be done for 'install-data-am'. /usr/bin/install -c yersinia '/home/buildozer/aports/community/yersinia/pkg/yersinia/usr/bin' make[2]: Leaving directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2/src' make[1]: Leaving directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2/src' make[1]: Entering directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2' make[2]: Entering directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2' make[2]: Nothing to be done for 'install-exec-am'. ./install-sh -c -d '/home/buildozer/aports/community/yersinia/pkg/yersinia/usr/share/man/man8' /usr/bin/install -c -m 644 yersinia.8 '/home/buildozer/aports/community/yersinia/pkg/yersinia/usr/share/man/man8' make[2]: Leaving directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2' make[1]: Leaving directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2' >>> yersinia-doc*: Running split function doc... >>> yersinia-doc*: Preparing subpackage yersinia-doc... >>> yersinia-doc*: Running postcheck for yersinia-doc >>> yersinia*: Running postcheck for yersinia >>> yersinia*: Preparing package yersinia... >>> yersinia*: Stripping binaries >>> yersinia-doc*: Scanning shared objects >>> yersinia*: Scanning shared objects >>> yersinia-doc*: Tracing dependencies... >>> yersinia-doc*: Package size: 24.0 KB >>> yersinia-doc*: Compressing data... >>> yersinia-doc*: Create checksum... >>> yersinia-doc*: Create yersinia-doc-0.8.2-r3.apk >>> yersinia*: Tracing dependencies... so:libc.musl-s390x.so.1 so:libncursesw.so.6 so:libnet.so.9 so:libpanelw.so.6 so:libpcap.so.1 >>> yersinia*: Package size: 368.0 KB >>> yersinia*: Compressing data... >>> yersinia*: Create checksum... >>> yersinia*: Create yersinia-0.8.2-r3.apk >>> yersinia: Build complete at Thu, 03 Nov 2022 17:20:37 +0000 elapsed time 0h 0m 8s >>> yersinia: Cleaning up srcdir >>> yersinia: Cleaning up pkgdir >>> yersinia: Uninstalling dependencies... (1/6) Purging .makedepends-yersinia (20221103.172030) (2/6) Purging libnet-dev (1.2-r1) (3/6) Purging libnet (1.2-r1) (4/6) Purging libpcap-dev (1.10.1-r1) (5/6) Purging libpcap (1.10.1-r1) (6/6) Purging ncurses-dev (6.3_p20221029-r0) Executing busybox-1.35.0-r27.trigger OK: 240 MiB in 92 packages >>> yersinia: Updating the community/s390x repository index... >>> yersinia: Signing the index...