>>> yersinia: Building community/yersinia 0.8.2-r4 (using abuild 3.14.1-r1) started Sun, 10 Nov 2024 04:37:20 +0000 >>> yersinia: Validating /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.3-r0) (2/10) Installing libnet-dev (1.3-r0) (3/10) Installing libpcap (1.10.5-r0) (4/10) Installing libpcap-dev (1.10.5-r0) (5/10) Installing libformw (6.5_p20241006-r2) (6/10) Installing libmenuw (6.5_p20241006-r2) (7/10) Installing libpanelw (6.5_p20241006-r2) (8/10) Installing libncurses++ (6.5_p20241006-r2) (9/10) Installing ncurses-dev (6.5_p20241006-r2) (10/10) Installing .makedepends-yersinia (20241110.043726) Executing busybox-1.37.0-r6.trigger OK: 396 MiB in 111 packages >>> yersinia: Cleaning up srcdir >>> yersinia: Cleaning up pkgdir >>> yersinia: Cleaning up tmpdir >>> yersinia: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/yersinia-0.8.2.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.21/yersinia-0.8.2.tar.gz.part' yersinia-0.8.2.tar.g 100% |********************************| 378k 0:00:00 ETA '/var/cache/distfiles/v3.21/yersinia-0.8.2.tar.gz.part' saved >>> yersinia: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/yersinia-0.8.2.tar.gz >>> yersinia: Checking sha512sums... yersinia-0.8.2.tar.gz: OK 0001-fix-compile-with-GCC-10.patch: OK format-security.patch: OK gcc14.patch: OK >>> yersinia: Unpacking /var/cache/distfiles/v3.21/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: format-security.patch patching file src/ncurses-callbacks.c patching file src/ncurses-interface.c Hunk #1 succeeded at 1169 (offset 2 lines). Hunk #2 succeeded at 1226 (offset 2 lines). Hunk #3 succeeded at 1280 (offset 2 lines). Hunk #4 succeeded at 1795 (offset 2 lines). >>> yersinia: gcc14.patch patching file src/vtp.c >>> yersinia: Updating ./config.guess >>> yersinia: Updating ./config.sub checking build system type... x86_64-pc-linux-musl checking host system type... x86_64-pc-linux-musl checking target system type... x86_64-pc-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... 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. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o xstp.o xstp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o parser.o parser.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o dtp.o dtp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o cdp.o cdp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o dhcp.o dhcp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o hsrp.o hsrp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o dot1q.o dot1q.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o vtp.o vtp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o arp.o arp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o isl.o isl.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o dot1x.o dot1x.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o mpls.o mpls.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o thread-util.o thread-util.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o terminal.o terminal.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o interfaces.o interfaces.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o attack.o attack.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o yersinia.o yersinia.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o md5.o md5.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o md5-sum.o md5-sum.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o protocols.o protocols.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o dlist.o dlist.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o ncurses-gui.o ncurses-gui.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o ncurses-callbacks.o ncurses-callbacks.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o ncurses-interface.o ncurses-interface.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O3 -Wall -g -D_DEFAULT_SOURCE -c -o admin.o admin.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -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()); | ^ isl.c: In function 'isl_get_printable_store': isl.c:202:15: warning: unused variable 'aux' [-Wunused-variable] 202 | u_int8_t *aux; | ^~~ dtp.c: In function 'dtp_send_negotiate': hsrp.c: In function 'hsrp_send_hellos': 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()); | ^ 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()); | ^ 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()); | ^ 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()); | ^ 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]; | ^~~~~~~~~~ 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((int)*cursor) & 4096' to '0' [-Woverflow] 922 | dot1q->cfi1 = ntohs(*cursor) & 0x1000; | ^~~~~ cdp.c: In function 'cdp_send_hellos': dot1q.c:935:32: warning: overflow in conversion from 'int' to 'u_int8_t' {aka 'unsigned char'} changes value from '(int)ntohs((int)*cursor) & 4096' to '0' [-Woverflow] 935 | dot1q->cfi2 = ntohs(*cursor) & 0x1000; | ^~~~~ 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()); | ^ interfaces.c: In function 'interfaces_th_pcap_listen': 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()); | ^ 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()); | ^ 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()); | ^ 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()); | ^ xstp.c: In function 'xstp_send_hellos': 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); | ^ 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()); | ^ 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); | ^ dot1q.c: In function 'dot1q_get_printable_packet': 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()); | ^ 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); | ^ dot1q.c:979:29: warning: unused variable 'ipv4_hdr' [-Wunused-variable] 979 | struct libnet_ipv4_hdr *ipv4_hdr; | ^~~~~~~~ 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); | ^ dot1q.c: In function 'dot1q_get_printable_store': mpls.c: In function 'mpls_get_printable_store': admin.c:447:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 447 | (int)term_node->thread.id); | ^ mpls.c:700:15: warning: unused variable 'aux' [-Wunused-variable] 700 | u_int8_t *aux; | ^~~ dot1q.c:1260:15: warning: unused variable 'aux' [-Wunused-variable] 1260 | u_int8_t *aux; | ^~~ 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()); | ^ 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); | ^ 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()); | ^ dhcp.c: In function 'dhcp_get_printable_packet': 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 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 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()); | ^ 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 vtp.c: In function 'vtp_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 *} 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) | ~~~~~~~~~~~~^~~ vtp.c: In function 'vtp_load_values': vtp.c:1529:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1529 | vtp->start_val = ntohs((uint16_t)aux_short2); | ^ 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} 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)) | ^~ parser.c:1262:12: note: did you mean to dereference the pointer? 1262 | if ((aux=='\0') || (strlen(aux)>2)) | ^ 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-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()); | ^ 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()); | ^ 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; | ^~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O3 -Wall -g -D_DEFAULT_SOURCE -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -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]: 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' make[2]: Nothing to be done for 'install-data-am'. .././install-sh -c -d '/home/buildozer/aports/community/yersinia/pkg/yersinia/usr/bin' /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... 'usr/share/man' -> '/home/buildozer/aports/community/yersinia/pkg/yersinia-doc/usr/share/man' >>> 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: 3.4 KB >>> yersinia-doc*: Compressing data... >>> yersinia-doc*: Create checksum... >>> yersinia-doc*: Create yersinia-doc-0.8.2-r4.apk >>> yersinia*: Tracing dependencies... so:libc.musl-x86_64.so.1 so:libncursesw.so.6 so:libnet.so.9 so:libpanelw.so.6 so:libpcap.so.1 >>> yersinia*: Package size: 327.6 KB >>> yersinia*: Compressing data... >>> yersinia*: Create checksum... >>> yersinia*: Create yersinia-0.8.2-r4.apk >>> yersinia: Build complete at Sun, 10 Nov 2024 04:37:32 +0000 elapsed time 0h 0m 12s >>> yersinia: Cleaning up srcdir >>> yersinia: Cleaning up pkgdir >>> yersinia: Uninstalling dependencies... (1/10) Purging .makedepends-yersinia (20241110.043726) (2/10) Purging libnet-dev (1.3-r0) (3/10) Purging libnet (1.3-r0) (4/10) Purging libpcap-dev (1.10.5-r0) (5/10) Purging libpcap (1.10.5-r0) (6/10) Purging ncurses-dev (6.5_p20241006-r2) (7/10) Purging libncurses++ (6.5_p20241006-r2) (8/10) Purging libpanelw (6.5_p20241006-r2) (9/10) Purging libformw (6.5_p20241006-r2) (10/10) Purging libmenuw (6.5_p20241006-r2) Executing busybox-1.37.0-r6.trigger OK: 395 MiB in 101 packages >>> yersinia: Updating the community/x86_64 repository index... >>> yersinia: Signing the index...