* Package: net-analyzer/yersinia-0.8.2-r2:0 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking yersinia-0.8.2.tar.gz to /var/tmp/portage/net-analyzer/yersinia-0.8.2-r2/work >>> Source unpacked in /var/tmp/portage/net-analyzer/yersinia-0.8.2-r2/work >>> Preparing source in /var/tmp/portage/net-analyzer/yersinia-0.8.2-r2/work/yersinia-0.8.2 ... * Applying yersinia-0.7.1-no-ncurses.patch ... [ ok ] * Applying yersinia-0.7.3-tinfo.patch ... [ ok ] * Applying yersinia-0.8.2-configure-clang16.patch ... [ ok ] * Applying yersinia-0.8.2-configure-clang16-deux.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-analyzer/yersinia-0.8.2-r2/work/yersinia-0.8.2' ... * Running 'aclocal --system-acdir=/var/tmp/portage/net-analyzer/yersinia-0.8.2-r2/temp/aclocal' ... [ ok ] * Moving configure.in to configure.ac (bug #426262) * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: yersinia-0.8.2/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/yersinia-0.8.2-r2/work/yersinia-0.8.2 ... * econf: updating yersinia-0.8.2/config.guess with /usr/share/gnuconfig/config.guess * econf: updating yersinia-0.8.2/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/yersinia-0.8.2-r2 --htmldir=/usr/share/doc/yersinia-0.8.2-r2/html --libdir=/usr/lib64 --enable-admin --with-pcap-includes=/usr/include --without-ncurses --disable-gtk configure: loading site script /usr/share/config.site configure: loading site script /usr/share/config.site.d/80crossdev.conf 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/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for makedepend... /usr/bin/makedepend checking if unaligned accesses fail... no checking for main in -lsocket... no checking for main in -lresolv... yes checking for main in -lnsl... yes 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 bstring.h... no checking for sys/time.h... (cached) yes checking for sys/param.h... yes checking for netinet/in_systm.h... yes checking for inttypes.h... (cached) yes checking for netinet/in_system.h... no checking for sys/wait.h... 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... yes checking for semaphore.h... yes checking for sched.h... yes checking for sys/sched.h... no checking for pthread.h... yes checking for pthread_create in -lpthread... yes checking for pthreads support... ok checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for ncurses... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for egrep -e... (cached) /bin/grep -E 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 : yes Use ncurses : false Use gtk : no >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/yersinia-0.8.2-r2/work/yersinia-0.8.2 ... make -j4 'CFLAGS=-O2 -pipe -march=native -fno-diagnostics-color -fcommon' Making all in src make[1]: Entering directory '/var/tmp/portage/net-analyzer/yersinia-0.8.2-r2/work/yersinia-0.8.2/src' make all-am make[2]: Entering directory '/var/tmp/portage/net-analyzer/yersinia-0.8.2-r2/work/yersinia-0.8.2/src' x86_64-pc-linux-gnu-gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -c -o xstp.o xstp.c x86_64-pc-linux-gnu-gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -c -o parser.o parser.c x86_64-pc-linux-gnu-gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -c -o dtp.o dtp.c x86_64-pc-linux-gnu-gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -c -o cdp.o cdp.c 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)) | ^ x86_64-pc-linux-gnu-gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -c -o dhcp.o dhcp.c x86_64-pc-linux-gnu-gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -c -o hsrp.o hsrp.c x86_64-pc-linux-gnu-gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -c -o dot1q.o dot1q.c 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)__bswap_16((int)*cursor) & 4096' to '0' [-Woverflow] 922 | dot1q->cfi1 = ntohs(*cursor) & 0x1000; | ^~~~~ dot1q.c:935:32: warning: overflow in conversion from 'int' to 'u_int8_t' {aka 'unsigned char'} changes value from '(int)__bswap_16((int)*cursor) & 4096' to '0' [-Woverflow] 935 | dot1q->cfi2 = ntohs(*cursor) & 0x1000; | ^~~~~ In file included from /usr/include/string.h:548, from hsrp.c:60: In function 'memcpy', inlined from 'hsrp_init_attribs' at hsrp.c:601:5: /usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' reading 8 bytes from a region of size 6 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -c -o vtp.o vtp.c x86_64-pc-linux-gnu-gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -c -o arp.o arp.c x86_64-pc-linux-gnu-gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -c -o isl.o isl.c x86_64-pc-linux-gnu-gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -c -o dot1x.o dot1x.c x86_64-pc-linux-gnu-gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -c -o mpls.o mpls.c x86_64-pc-linux-gnu-gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -c -o thread-util.o thread-util.c x86_64-pc-linux-gnu-gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -c -o terminal.o terminal.c x86_64-pc-linux-gnu-gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -c -o interfaces.o interfaces.c x86_64-pc-linux-gnu-gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -c -o attack.o attack.c x86_64-pc-linux-gnu-gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -c -o yersinia.o yersinia.c yersinia.c: In function 'th_tty_peer': yersinia.c:328:11: error: implicit declaration of function 'term_add_node' [-Wimplicit-function-declaration] 328 | fail = term_add_node(&term_node, TERM_TTY, 0, pthread_self()); | ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc `/usr/bin/libnet-config --defines` -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -fno-diagnostics-color -fcommon -c -o md5.o md5.c yersinia.c: In function 'th_tty_peer_exit': yersinia.c:439:7: error: implicit declaration of function 'term_delete_node'; did you mean 'term_delete_all_tty'? [-Wimplicit-function-declaration] 439 | term_delete_node(term_node, NOKILL_THREAD); | ^~~~~~~~~~~~~~~~ | term_delete_all_tty yersinia.c: In function 'become_daemon': yersinia.c:635:4: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 635 | chdir("/tmp"); /* If you wanna work... */ | ^~~~~~~~~~~~~ make[2]: *** [Makefile:439: yersinia.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/net-analyzer/yersinia-0.8.2-r2/work/yersinia-0.8.2/src' make[1]: *** [Makefile:337: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/net-analyzer/yersinia-0.8.2-r2/work/yersinia-0.8.2/src' make: *** [Makefile:445: all-recursive] Error 1 * ERROR: net-analyzer/yersinia-0.8.2-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/yersinia-0.8.2-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/yersinia-0.8.2-r2::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:yersinia-0.8.2-r2:20240211-173221.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/yersinia-0.8.2-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/yersinia-0.8.2-r2/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/yersinia-0.8.2-r2/work/yersinia-0.8.2' * S: '/var/tmp/portage/net-analyzer/yersinia-0.8.2-r2/work/yersinia-0.8.2'