>>> yersinia: Building community/yersinia 0.8.2-r3 (using abuild 3.11.0_rc13-r0) started Sun, 23 Apr 2023 12:41:06 +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/10) Installing libnet (1.2-r2) (2/10) Installing libnet-dev (1.2-r2) (3/10) Installing libpcap (1.10.4-r1) (4/10) Installing libpcap-dev (1.10.4-r1) (5/10) Installing libformw (6.4_p20230401-r5) (6/10) Installing libmenuw (6.4_p20230401-r5) (7/10) Installing libpanelw (6.4_p20230401-r5) (8/10) Installing libncurses++ (6.4_p20230401-r5) (9/10) Installing ncurses-dev (6.4_p20230401-r5) (10/10) Installing .makedepends-yersinia (20230423.124116) Executing busybox-1.36.0-r7.trigger OK: 410 MiB in 108 packages >>> yersinia: Cleaning up srcdir >>> yersinia: Cleaning up pkgdir >>> yersinia: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/yersinia-0.8.2.tar.gz >>> yersinia: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/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.18/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... aarch64-unknown-linux-musl checking host system type... aarch64-unknown-linux-musl checking target system type... aarch64-unknown-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... no 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 -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o xstp.o xstp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o parser.o parser.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o dtp.o dtp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o cdp.o cdp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o dhcp.o dhcp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o hsrp.o hsrp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o dot1q.o dot1q.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o vtp.o vtp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o arp.o arp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o isl.o isl.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o dot1x.o dot1x.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o mpls.o mpls.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o terminal.o terminal.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o interfaces.o interfaces.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o attack.o attack.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o yersinia.o yersinia.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o md5.o md5.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o md5-sum.o md5-sum.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o protocols.o protocols.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o dlist.o dlist.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o ncurses-gui.o ncurses-gui.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o ncurses-interface.o ncurses-interface.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o admin.o admin.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -Wformat -Werror=format-security -O3 -Wall -g -D_DEFAULT_SOURCE -c -o commands.o commands.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, | ^ 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()); | ^ 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()); | ^ 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()); | ^ 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()); | ^ 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]) | ^~~~~~~~~ interfaces.c: In function 'interfaces_th_pcap_listen': 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]; | ^~~~~~~~~~ xstp.c: In function 'xstp_send_hellos_mitm': 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()); | ^ 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()); | ^ 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()); | ^ 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()); | ^ 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()); | ^ parser.c: In function 'parser_vrfy_ip2filter': admin.c: In function 'admin_th_listen': parser.c:1262:15: warning: comparison between pointer and zero character constant [-Wpointer-compare] 1262 | if ((aux=='\0') || (strlen(aux)>2)) | ^~ 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()); | ^ parser.c:1262:12: note: did you mean to dereference the pointer? 1262 | if ((aux=='\0') || (strlen(aux)>2)) | ^ admin.c:240:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 240 | (void *)sock2) < 0) | ^ 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; | ^~~~~ 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); | ^ 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; | ^~~~~ 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); | ^ 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); | ^ 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': 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()); | ^ 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()); | ^ 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()); | ^ ncurses-callbacks.c: In function 'ncurses_c_refresh_mwindow': ncurses-callbacks.c:169:10: error: format not a string literal and no format arguments [-Werror=format-security] 169 | mvwprintw(mwindow, 1, position + offset, params[i].ldesc); | ^~~~~~~~~ ncurses-callbacks.c:182:10: error: format not a string literal and no format arguments [-Werror=format-security] 182 | mvwprintw(mwindow, 1, position + offset, extra_params[i].ldesc); | ^~~~~~~~~ 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()); | ^ 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} 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()); | ^ 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} 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()); | ^ 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; | ^~~ 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} ncurses-interface.c: In function 'ncurses_i_error_window': ncurses-interface.c:1172:10: error: format not a string literal and no format arguments [-Werror=format-security] 1172 | mvwprintw(my_window, i, 2, m_split); | ^~~~~~~~~ ncurses-interface.c:1179:10: error: format not a string literal and no format arguments [-Werror=format-security] 1179 | mvwprintw(my_window, i, 2, m_split); | ^~~~~~~~~ ncurses-interface.c: In function 'ncurses_i_getstring_window': ncurses-interface.c:1229:4: error: format not a string literal and no format arguments [-Werror=format-security] 1229 | mvwprintw(my_window, 0, 2, message); | ^~~~~~~~~ ncurses-interface.c: In function 'ncurses_i_getconfirm': ncurses-interface.c:1283:4: error: format not a string literal and no format arguments [-Werror=format-security] 1283 | mvwprintw(my_window, 0, 2, title); | ^~~~~~~~~ ncurses-interface.c:1285:4: error: format not a string literal and no format arguments [-Werror=format-security] 1285 | mvwprintw(my_window, max_y - 1, 2, bottom); | ^~~~~~~~~ ncurses-interface.c:1289:4: error: format not a string literal and no format arguments [-Werror=format-security] 1289 | mvwprintw(my_window, max_y - 3, 1, message); | ^~~~~~~~~ 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; | ^~~ 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:51:31: warning: array subscript 8 is outside array bounds of 'char[6]' [-Warray-bounds] 51 | (__s < __d && __s + __n > __d)) | ~~~~^~~~~ ncurses-interface.c: In function 'ncurses_i_attack_get_params': ncurses-interface.c:1798:4: error: format not a string literal and no format arguments [-Werror=format-security] 1798 | mvwprintw(my_window, max_y - 1, 2, bottom); | ^~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [Makefile:453: ncurses-callbacks.o] Error 1 make[2]: *** Waiting for unfinished jobs.... cc1: some warnings being treated as errors make[2]: *** [Makefile:453: ncurses-interface.o] Error 1 make[2]: Leaving directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2/src' make[1]: *** [Makefile:351: all] Error 2 make[1]: Leaving directory '/home/buildozer/aports/community/yersinia/src/yersinia-0.8.2/src' make: *** [Makefile:457: all-recursive] Error 1 >>> ERROR: yersinia: build failed >>> yersinia: Uninstalling dependencies... (1/10) Purging .makedepends-yersinia (20230423.124116) (2/10) Purging libnet-dev (1.2-r2) (3/10) Purging libnet (1.2-r2) (4/10) Purging libpcap-dev (1.10.4-r1) (5/10) Purging libpcap (1.10.4-r1) (6/10) Purging ncurses-dev (6.4_p20230401-r5) (7/10) Purging libncurses++ (6.4_p20230401-r5) (8/10) Purging libpanelw (6.4_p20230401-r5) (9/10) Purging libformw (6.4_p20230401-r5) (10/10) Purging libmenuw (6.4_p20230401-r5) Executing busybox-1.36.0-r7.trigger OK: 408 MiB in 98 packages