>>> yersinia: Checking sanity of /home/buildozer/aports/testing/yersinia/APKBUILD... >>> yersinia: Analyzing dependencies... (1/6) Installing libnet (1.1.6-r2) (2/6) Installing libnet-dev (1.1.6-r2) (3/6) Installing libpcap (1.7.4-r0) (4/6) Installing libpcap-dev (1.7.4-r0) (5/6) Installing ncurses-dev (6.0-r7) (6/6) Installing .makedepends-yersinia (0) Executing busybox-1.25.0-r5.trigger OK: 297 MiB in 103 packages >>> yersinia: Cleaning temporary build dirs... >>> yersinia: Checking sha512sums... yersinia-0.7.3.tar.gz: OK >>> yersinia: Unpacking /var/cache/distfiles/yersinia-0.7.3.tar.gz... >>> yersinia: Updating ./config.guess checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu 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 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 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 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/testing/yersinia/src/src' make all-am make[2]: Entering directory '/home/buildozer/aports/testing/yersinia/src/src' gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c xstp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c parser.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c dtp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c cdp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c dhcp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c hsrp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c dot1q.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c vtp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c arp.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c isl.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c dot1x.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c mpls.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c thread-util.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c terminal.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c interfaces.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c attack.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c yersinia.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c md5.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c md5-sum.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c protocols.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c dlist.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c ncurses-gui.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c ncurses-callbacks.c gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c ncurses-interface.c dlist.c:25:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ md5.c: In function 'MD5Final': md5.c:163:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^ At top level: md5.c:19:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ md5-sum.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ protocols.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ isl.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ thread-util.c: In function 'thread_destroy': thread-util.c:133:4: warning: implicit declaration of function 'write_log' [-Wimplicit-function-declaration] write_log(0,"\n thread_destroy %d destroying %d...\n",(int)pthread_self(), ^~~~~~~~~ thread-util.c:133:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n thread_destroy %d destroying %d...\n",(int)pthread_self(), ^ thread-util.c:134:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)id); ^ thread-util.c:145:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)pthread_self(), (int)id); ^ thread-util.c:145:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)pthread_self(), (int)id); ^ thread-util.c: In function 'thread_error': thread-util.c:345:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0, "%s: (%d) %s -> %s\n", PACKAGE, (int)pthread_self(), msg, ^ thread-util.c: In function 'thread_libnet_error': thread-util.c:360:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0, "%s: (%d) %s -> %s\n", PACKAGE, (int)pthread_self(), msg, ^ parser.c: In function 'parser_vrfy_bridge_id': parser.c:340:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (*aux != '.') ^~ parser.c:343:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' aux++; ^~~ arp.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ xstp.c: In function 'xstp_send_hellos': xstp.c:447:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0, "\n helper: %d started...\n", (int)pthread_self()); ^ xstp.c:484:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," helper: %d finished...\n",(int)pthread_self()); ^ dtp.c: In function 'dtp_send_negotiate': dtp.c:355:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n dtp_helper: %d init...\n",(int)pthread_self()); ^ dtp.c:376:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," dtp_helper: %d finished...\n",(int)pthread_self()); ^ xstp.c: In function 'xstp_th_dos_conf': dtp.c:340:22: warning: variable 'dtp_data' set but not used [-Wunused-but-set-variable] struct dtp_data *dtp_data; ^~~~~~~~ xstp.c:541:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((u_int16_t *) (stp_data->bridge_id)) = libnet_get_prand(LIBNET_PRu16); ^ xstp.c:542:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((u_int16_t *) (stp_data->root_id)) = libnet_get_prand(LIBNET_PRu16); ^ cdp.c: In function 'cdp_th_send_raw': hsrp.c: In function 'hsrp_send_hellos': hsrp.c:308:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n hsrp_helper: %d started...\n",(int)pthread_self()); ^ cdp.c:257:22: warning: variable 'cdp_data' set but not used [-Wunused-but-set-variable] struct cdp_data *cdp_data; ^~~~~~~~ dtp.c: In function 'dtp_th_nondos_do_trunk': dtp.c:394:29: warning: variable 'cursor' set but not used [-Wunused-but-set-variable] u_int8_t *packet=NULL, *cursor; ^~~~~~ hsrp.c:329:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," hsrp_helper: %d finished...\n",(int)pthread_self()); ^ At top level: thread-util.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ dtp.c: In function 'dtp_learn_packet': dtp.c:495:24: warning: variable 'cursor' set but not used [-Wunused-but-set-variable] u_int8_t *packet, *cursor, got_dtp_packet = 0; ^~~~~~ attack.c: In function 'attack_launch': attack.c:148:78: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0, " attack_launch: %d Attack thread %ld is born!!\n", (int)pthread_self(), ^ cdp.c: In function 'cdp_th_virtual_device': cdp.c:388:22: warning: variable 'cdp_data' set but not used [-Wunused-but-set-variable] struct cdp_data *cdp_data; ^~~~~~~~ xstp.c: In function 'xstp_send_hellos_mitm': mpls.c: In function 'mpls_learn_packet': xstp.c:762:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n helper: %d started...\n",(int)pthread_self()); ^ mpls.c:473:16: warning: variable 'cursor' set but not used [-Wunused-but-set-variable] u_int16_t *cursor; ^~~~~~ cdp.c: In function 'cdp_send_hellos': cdp.c:450:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n cdp_helper: %d started...\n",(int)pthread_self()); ^ attack.c: In function 'attack_th_exit': attack.c:212:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)pthread_self(), (int)attacks->helper_th.id); ^ attack.c:212:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)pthread_self(), (int)attacks->helper_th.id); ^ cdp.c:476:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," cdp_helper: %d finished...\n",(int)pthread_self()); ^ xstp.c:801:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," helper: %d finished...\n",(int)pthread_self()); ^ dot1q.c: In function 'dot1q_th_poison': dot1q.c:374:22: warning: variable 'pcap_aux' set but not used [-Wunused-but-set-variable] struct pcap_data pcap_aux; ^~~~~~~~ attack.c:238:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0, " attack_th_exit: %d finished\n", (int) pthread_self()); ^ vtp.c: In function 'vtp_th_dos_del_all': vtp.c:394:29: warning: variable 'cursor' set but not used [-Wunused-but-set-variable] u_int8_t *packet=NULL, *cursor; ^~~~~~ dhcp.c: In function 'dhcp_th_send_discover': dhcp.c:208:23: warning: variable 'dhcp_data' set but not used [-Wunused-but-set-variable] struct dhcp_data *dhcp_data; ^~~~~~~~~ dhcp.c: In function 'dhcp_th_send_inform': dhcp.c:271:23: warning: variable 'dhcp_data' set but not used [-Wunused-but-set-variable] struct dhcp_data *dhcp_data; ^~~~~~~~~ interfaces.c: In function 'interfaces_th_pcap_listen': interfaces.c:658:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n interfaces_th_pcap_listen thread_id = %d\n",(int)pthread_self()); ^ dot1x.c: In function 'dot1x_th_mitm': dot1x.c:329:24: warning: variable 'dot1x_data' set but not used [-Wunused-but-set-variable] struct dot1x_data *dot1x_data; ^~~~~~~~~~ dhcp.c: In function 'dhcp_th_send_offer': dhcp.c:337:23: warning: variable 'dhcp_data' set but not used [-Wunused-but-set-variable] struct dhcp_data *dhcp_data; ^~~~~~~~~ dhcp.c: In function 'dhcp_th_send_request': dhcp.c:416:23: warning: variable 'dhcp_data' set but not used [-Wunused-but-set-variable] struct dhcp_data *dhcp_data; ^~~~~~~~~ dot1x.c: In function 'dot1x_learn_packet': dot1x.c:552:16: warning: variable 'cursor' set but not used [-Wunused-but-set-variable] u_int16_t *cursor; ^~~~~~ parser.c: In function 'parser_read_config_file': parser.c:627:19: warning: variable 'field' set but not used [-Wunused-but-set-variable] int16_t proto, field; ^~~~~ dot1q.c: In function 'dot1q_learn_packet': dot1q.c:858:16: warning: variable 'cursor' set but not used [-Wunused-but-set-variable] u_int16_t *cursor; ^~~~~~ dhcp.c: In function 'dhcp_send_release': dhcp.c:495:15: warning: variable 'lbl32' set but not used [-Wunused-but-set-variable] u_int32_t lbl32; ^~~~~ vtp.c: In function 'vtp_modify_vlan': vtp.c:623:29: warning: variable 'cursor' set but not used [-Wunused-but-set-variable] u_int8_t *packet=NULL, *cursor=NULL; ^~~~~~ dhcp.c: In function 'dhcp_th_send_decline': At top level: dhcp.c:538:23: warning: variable 'dhcp_data' set but not used [-Wunused-but-set-variable] struct dhcp_data *dhcp_data; ^~~~~~~~~ attack.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ cdp.c: In function 'cdp_get_printable_packet': cdp.c:771:20: warning: variable 'buf_ptr_orig' set but not used [-Wunused-but-set-variable] char *buf_ptr, *buf_ptr_orig; ^~~~~~~~~~~~ gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c admin.c vtp.c: In function 'vtp_add_vlan': vtp.c:823:15: warning: variable 'len' set but not used [-Wunused-but-set-variable] u_int16_t len=0, vlans_len, last_id=0, last_len=0; ^~~ xstp.c: In function 'xstp_init_attribs': xstp.c:1514:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((u_int16_t *) (stp_data->bridge_id)) = libnet_get_prand(LIBNET_PRu16); ^ xstp.c:1515:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((u_int16_t *) (stp_data->root_id)) = libnet_get_prand(LIBNET_PRu16); ^ cdp.c: In function 'cdp_get_printable_store': cdp.c:950:21: warning: unused variable 'len' [-Wunused-variable] u_int16_t type, len, total; ^~~ cdp.c:950:15: warning: unused variable 'type' [-Wunused-variable] u_int16_t type, len, total; ^~~~ cdp.c:947:26: warning: unused variable 'j' [-Wunused-variable] u_int8_t *ptr, i, k, j; ^ At top level: cdp.c:947:23: warning: unused variable 'k' [-Wunused-variable] u_int8_t *ptr, i, k, j; ^ dtp.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ At top level: mpls.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ dhcp.c: In function 'dhcp_th_dos_send_release': dhcp.c:829:23: warning: variable 'dhcp_data' set but not used [-Wunused-but-set-variable] struct dhcp_data *dhcp_data; ^~~~~~~~~ cdp.c: In function 'cdp_load_values': interfaces.c: In function 'interfaces_destroy': cdp.c:1198:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memcpy((void *)newitem->id, (void *)&type, 2); ^ interfaces.c:1137:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," ints_destroy killing pcap_listener(%d)...\n", (int)pcap_th->id); ^ At top level: hsrp.c:26:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ vtp.c: In function 'vtp_th_dos_crash': vtp.c:994:29: warning: variable 'cursor' set but not used [-Wunused-but-set-variable] u_int8_t *packet=NULL, *cursor; ^~~~~~ vtp.c: In function 'vtp_learn_packet': vtp.c:1165:24: warning: variable 'cursor' set but not used [-Wunused-but-set-variable] u_int8_t *packet, *cursor, got_vtp_packet = 0; ^~~~~~ dhcp.c: In function 'dhcp_learn_offer': dhcp.c:1208:31: warning: variable 'temp' set but not used [-Wunused-but-set-variable] u_int8_t *packet, *dhcp, *temp; ^~~~ At top level: dot1x.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ vtp.c: In function 'vtp_get_printable_packet': vtp.c:1227:6: warning: unused variable 'aux5' [-Wunused-variable] char aux5[22]; ^~~~ vtp.c:1226:15: warning: variable 'vlans_len' set but not used [-Wunused-but-set-variable] u_int16_t vlans_len=0; ^~~~~~~~~ vtp.c:1225:23: warning: unused variable 'vlan_info' [-Wunused-variable] struct vlan_info *vlan_info; ^~~~~~~~~ vtp.c:1224:27: warning: unused variable 'tlv' [-Wunused-variable] char **field_values, *tlv; ^~~ vtp.c:1217:10: warning: unused variable 'aux' [-Wunused-variable] char aux[MAX_VALUE_LENGTH + 1]; ^~~ vtp.c:1216:47: warning: variable 'i' set but not used [-Wunused-but-set-variable] u_int8_t *vtp_data, *ptr, *code, *cursor, i; ^ vtp.c:1216:39: warning: variable 'cursor' set but not used [-Wunused-but-set-variable] u_int8_t *vtp_data, *ptr, *code, *cursor, i; ^~~~~~ ncurses-gui.c: In function 'ncurses_gui': ncurses-gui.c:117:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n ncurses_gui_th = %d\n",(int)pthread_self()); ^ ncurses-gui.c:132:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (term_add_node(&term_node, TERM_CON, (int)NULL, pthread_self()) < 0) ^ ncurses-interface.c: In function 'ncurses_i_show_info': ncurses-interface.c:632:28: warning: variable 'func' set but not used [-Wunused-but-set-variable] struct tuple_type_desc *func; ^~~~ At top level: dot1q.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ ncurses-interface.c:628:13: warning: variable 'i' set but not used [-Wunused-but-set-variable] u_int8_t i, j, line, row, col, k; ^ At top level: xstp.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ At top level: ncurses-gui.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -O3 -Wall -g -c commands.c At top level: cdp.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ dhcp.c: In function 'dhcp_get_printable_store': At top level: interfaces.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ dhcp.c:1676:26: warning: variable 'tlv' set but not used [-Wunused-but-set-variable] char **field_values, *tlv; ^~~ ncurses-interface.c: In function 'ncurses_i_popup_window': ncurses-interface.c:1341:58: warning: variable 'col' set but not used [-Wunused-but-set-variable] int32_t i, j, pointer, end, result, key_pressed, row, col; ^~~ At top level: vtp.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ ncurses-interface.c: In function 'ncurses_i_add_selected_tlv_type': ncurses-interface.c:1542:14: warning: variable 'type' set but not used [-Wunused-but-set-variable] u_int32_t type; ^~~~ yersinia.c: In function 'th_tty_peer': yersinia.c:316:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0, "\n th_tty_peer thread = %d...\n",(int)pthread_self()); ^ yersinia.c:332:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fail = term_add_node(&term_node, TERM_TTY, (int)NULL, pthread_self()); ^ yersinia.c: In function 'th_tty_peer_exit': yersinia.c:449:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n th_tty_peer %d finished...\n",(int)pthread_self()); ^ ncurses-callbacks.c: In function 'ncurses_c_refresh_mwindow': ncurses-callbacks.c:110:28: warning: variable 'func' set but not used [-Wunused-but-set-variable] struct tuple_type_desc *func; ^~~~ yersinia.c: In function 'th_uptime': yersinia.c:549:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n th_uptime thread = %d\n",(int)pthread_self()); ^ yersinia.c: In function 'g00dbye': yersinia.c:758:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," g00dbye function called from %d\n",(int)pthread_self()); ^ At top level: parser.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ terminal.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ yersinia.c: In function 'final': yersinia.c:957:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(1,"\nTERM signal received from %d!\n", (int)pthread_self()); ^ ncurses-callbacks.c: In function 'ncurses_c_engine': ncurses-callbacks.c:360:25: warning: variable 'term_console' set but not used [-Wunused-but-set-variable] struct term_console *term_console; ^~~~~~~~~~~~ ncurses-callbacks.c: In function 'ncurses_c_edit_bwindow': ncurses-callbacks.c:871:25: warning: variable 'row' set but not used [-Wunused-but-set-variable] u_int32_t y, x, col, row, offset, initial, start; ^~~ ncurses-callbacks.c: In function 'ncurses_c_set_status_line': ncurses-callbacks.c:1036:19: warning: variable 'col' set but not used [-Wunused-but-set-variable] u_int8_t row, col, size; ^~~ At top level: yersinia.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ At top level: dhcp.c:26:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ At top level: ncurses-callbacks.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ At top level: ncurses-interface.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ admin.c: In function 'admin_th_listen': admin.c:131:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n admin_th_network_listen es %d\n",(int)pthread_self()); ^ admin.c:243:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *)sock2) < 0) ^ admin.c: In function 'admin_th_network_peer': admin.c:341:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fail = term_add_node(&term_node, TERM_VTY, (int)sock, pthread_self()); ^ admin.c:347:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] admin_th_network_peer_exit(term_node, (int32_t)sock); ^ admin.c:357:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] admin_th_network_peer_exit(term_node, (int32_t)sock); ^ admin.c:388:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] admin_th_network_peer_exit(term_node, (int32_t)sock); ^ admin.c:395:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] admin_th_network_peer_exit(term_node, (int32_t)sock); ^ admin.c:450:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)term_node->thread.id); ^ admin.c:508:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] vty->width = ntohs(*((u_int16_t *)vty->term_size)); ^~~ admin.c:509:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] vty->height = ntohs(*((u_int16_t *)&vty->term_size[2])); ^~~ admin.c: In function 'admin_th_network_peer_exit': admin.c:958:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," admin_peer_th %d finished...\n",(int)pthread_self()); ^ At top level: admin.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ commands.c: In function 'command_main': commands.c:112:17: warning: variable 'params' set but not used [-Wunused-but-set-variable] int8_t fail, params, last; ^~~~~~ commands.c: In function 'command_run_proto': commands.c:1738:20: warning: variable 'params' set but not used [-Wunused-but-set-variable] int8_t i, fail, params, aux; ^~~~~~ At top level: commands.c:24:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ gcc -O3 -Wall -g -Wl,--as-needed -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/testing/yersinia/src/src' make[1]: Leaving directory '/home/buildozer/aports/testing/yersinia/src/src' make[1]: Entering directory '/home/buildozer/aports/testing/yersinia/src' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/home/buildozer/aports/testing/yersinia/src' >>> yersinia: Entering fakeroot... Making install in src make[1]: Entering directory '/home/buildozer/aports/testing/yersinia/src/src' make[2]: Entering directory '/home/buildozer/aports/testing/yersinia/src/src' test -z "/usr/bin" || .././install-sh -c -d "/home/buildozer/aports/testing/yersinia/pkg/yersinia/usr/bin" make[2]: Nothing to be done for 'install-data-am'. /usr/bin/install -c yersinia '/home/buildozer/aports/testing/yersinia/pkg/yersinia/usr/bin' make[2]: Leaving directory '/home/buildozer/aports/testing/yersinia/src/src' make[1]: Leaving directory '/home/buildozer/aports/testing/yersinia/src/src' make[1]: Entering directory '/home/buildozer/aports/testing/yersinia/src' make[2]: Entering directory '/home/buildozer/aports/testing/yersinia/src' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/man/man8" || ./install-sh -c -d "/home/buildozer/aports/testing/yersinia/pkg/yersinia/usr/share/man/man8" /usr/bin/install -c -m 644 yersinia.8 '/home/buildozer/aports/testing/yersinia/pkg/yersinia/usr/share/man/man8' make[2]: Leaving directory '/home/buildozer/aports/testing/yersinia/src' make[1]: Leaving directory '/home/buildozer/aports/testing/yersinia/src' >>> yersinia*: Running split function doc... >>> yersinia-doc*: Preparing subpackage yersinia-doc... >>> yersinia*: 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.7.3-r1.apk >>> yersinia*: Tracing dependencies... so:libc.musl-x86_64.so.1 so:libncursesw.so.6 so:libnet.so.1 so:libpanelw.so.6 so:libpcap.so.1 >>> yersinia*: Package size: 360.0 KB >>> yersinia*: Compressing data... >>> yersinia*: Create checksum... >>> yersinia*: Create yersinia-0.7.3-r1.apk >>> yersinia: Cleaning up srcdir >>> yersinia: Cleaning up pkgdir >>> yersinia: Uninstalling dependencies... >>> yersinia: Updating the cached abuild repository index... >>> yersinia: Signing the index...