>>> yersinia: Building community/yersinia 0.8.2-r3 (using abuild 3.11.0_rc13-r0) started Sun, 23 Apr 2023 05:18:14 +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.051826) Executing busybox-1.36.0-r7.trigger OK: 285 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 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> yersinia: Fetching yersinia-0.8.2.tar.gz::https://github.com/tomac/yersinia/archive/v0.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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 378k 0 378k 0 0 604k 0 --:--:-- --:--:-- --:--:-- 1473k >>> 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... armv8l-unknown-linux-musleabihf checking host system type... armv8l-unknown-linux-musleabihf checking target system type... armv8l-unknown-linux-musleabihf 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... yes 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 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]; | ^~~~~~~~~~ isl.c: In function 'isl_get_printable_store': isl.c:202:15: warning: unused variable 'aux' [-Wunused-variable] 202 | u_int8_t *aux; | ^~~ dot1q.c: In function 'dot1q_load_values': attack.c: In function 'attack_kill_th': 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; | ^~~~~ 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 */ | ^~~~~~~ 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; | ^~~~~ mpls.c: In function 'mpls_get_printable_store': mpls.c:700:15: warning: unused variable 'aux' [-Wunused-variable] 700 | u_int8_t *aux; | ^~~ dot1q.c: In function 'dot1q_get_printable_packet': dot1q.c:979:29: warning: unused variable 'ipv4_hdr' [-Wunused-variable] 979 | struct libnet_ipv4_hdr *ipv4_hdr; | ^~~~~~~~ parser.c: In function 'parser_vrfy_ip2filter': dot1q.c: In function 'dot1q_get_printable_store': parser.c:1262:15: warning: comparison between pointer and zero character constant [-Wpointer-compare] 1262 | if ((aux=='\0') || (strlen(aux)>2)) | ^~ dot1q.c:1260:15: warning: unused variable 'aux' [-Wunused-variable] 1260 | u_int8_t *aux; | ^~~ parser.c:1262:12: note: did you mean to dereference the pointer? 1262 | if ((aux=='\0') || (strlen(aux)>2)) | ^ vtp.c: In function 'vtp_get_printable_packet': dhcp.c: In function 'dhcp_get_printable_packet': vtp.c:1277:10: warning: pointer targets in assignment from 'char *' to 'u_int8_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1277 | aux2 = libnet_addr2name4(aux_long2, LIBNET_DONT_RESOLVE); | ^ vtp.c:1278:39: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 1278 | strncpy(field_values[VTP_UPDATER],aux2,16); | ^~~~ | | | u_int8_t * {aka unsigned char *} dhcp.c:1333:45: warning: format '%lX' expects argument of type 'long unsigned int', but argument 4 has type 'uint32_t' {aka 'unsigned int'} [-Wformat=] 1333 | snprintf(field_values[DHCP_XID], 9, "%08lX", ntohl(aux_long)); | ~~~~^ ~~~~~~~~~~~~~~~ | | | | | uint32_t {aka unsigned int} | long unsigned int | %08X In file included from vtp.c:58: /usr/include/fortify/string.h:139:48: note: expected 'const char *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 139 | const char *__s, size_t __n) | ~~~~~~~~~~~~^~~ dhcp.c:1443:48: warning: format '%lX' expects argument of type 'long unsigned int', but argument 4 has type 'uint32_t' {aka 'unsigned int'} [-Wformat=] 1443 | snprintf(buf_ptr, 9, "%08lX", ntohl(aux_long)); | ~~~~^ ~~~~~~~~~~~~~~~ | | | | | uint32_t {aka unsigned int} | long unsigned int | %08X vtp.c: In function 'vtp_load_values': vtp.c:1529:36: warning: passing argument 1 of 'ntohs' makes integer from pointer without a cast [-Wint-conversion] 1529 | vtp->start_val = ntohs(aux_short2); | ^~~~~~~~~~ | | | u_int16_t * {aka short unsigned int *} In file included from vtp.c:44: /usr/include/netinet/in.h:70:16: note: expected 'uint16_t' {aka 'short unsigned int'} but argument is of type 'u_int16_t *' {aka 'short unsigned int *'} 70 | uint16_t ntohs(uint16_t); | ^~~~~~~~ dhcp.c: In function 'dhcp_get_printable_store': dhcp.c:1796:48: warning: format '%lX' expects argument of type 'long unsigned int', but argument 4 has type 'uint32_t' {aka 'unsigned int'} [-Wformat=] 1796 | snprintf(buf_ptr, 9, "%08lX", ntohl(aux_long)); | ~~~~^ ~~~~~~~~~~~~~~~ | | | | | uint32_t {aka unsigned int} | long unsigned int | %08X 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); | ^~~~~~~~~ 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-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-interface.c: In function 'ncurses_i_show_info': 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: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} 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_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; | ^~~ 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.051826) (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: 283 MiB in 98 packages