* Package: net-analyzer/pktstat-1.8.5-r1 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pktstat-1.8.5.tar.gz to /var/tmp/portage/net-analyzer/pktstat-1.8.5-r1/work >>> Source unpacked in /var/tmp/portage/net-analyzer/pktstat-1.8.5-r1/work >>> Preparing source in /var/tmp/portage/net-analyzer/pktstat-1.8.5-r1/work/pktstat-1.8.5 ... * Applying pktstat-1.8.5-tinfo.patch ... [ ok ] * Applying pktstat-1.8.5-smtp_line.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-analyzer/pktstat-1.8.5-r1/work/pktstat-1.8.5' ... * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --foreign --force-missing ... [ ok ] * Running elibtoolize in: pktstat-1.8.5/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/pktstat-1.8.5-r1/work/pktstat-1.8.5 ... ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe 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-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-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 x86_64-gentoo-linux-musl-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-gentoo-linux-musl-gcc... none checking for library containing socket... none required checking for library containing gethostbyname... none required checking for library containing pcap_open_live... -lpcap checking for library containing exp... none required checking for x86_64-gentoo-linux-musl-pkg-config... /usr/bin/x86_64-gentoo-linux-musl-pkg-config checking pkg-config is at least version 0.9.0... yes checking for ncurses... yes checking for library containing tgoto... none required checking for library containing initscr... none required checking for library containing nanosleep... none required checking how to run the C preprocessor... x86_64-gentoo-linux-musl-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 whether time.h and sys/time.h may both be included... 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 sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/queue.h usability... yes checking sys/queue.h presence... yes checking for sys/queue.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking for sys/types.h... (cached) yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking err.h usability... yes checking err.h presence... yes checking for err.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for inttypes.h... (cached) yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking net/ppp_defs.h usability... no checking net/ppp_defs.h presence... no checking for net/ppp_defs.h... no checking sys/ppp_sys.h usability... no checking sys/ppp_sys.h presence... no checking for sys/ppp_sys.h... no checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/ether.h usability... yes checking netinet/ether.h presence... yes checking for netinet/ether.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking netinet/udp.h usability... yes checking netinet/udp.h presence... yes checking for netinet/udp.h... yes checking netipx/ipx.h usability... no checking netipx/ipx.h presence... no checking for netipx/ipx.h... no checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking for string.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for net/if.h... yes checking for netinet/if_ether.h... yes checking for netinet/ip.h... yes checking for netinet/ip_icmp.h... yes checking for netinet/ip6.h... yes checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking return type of signal handlers... void checking for size_t... yes checking for struct timeval... yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for working volatile... yes checking size of unsigned short... 2 checking size of unsigned int... 4 checking size of unsigned long... 8 checking size of unsigned long long... 8 checking for working memcmp... yes checking for exp... yes checking for pcap_open_live... yes checking for initscr... yes checking for fopen... yes checking for fgets... yes checking for ferror... yes checking for fclose... yes checking for snprintf... yes checking for sscanf... yes checking for err... yes checking for errx... yes checking for warnx... yes checking for warn... yes checking for strlcpy... yes checking for getenv... yes checking for qsort... yes checking for poll... yes checking for gettimeofday... yes checking for atexit... yes checking for nanosleep... yes checking for signal... yes checking for getservbyport... yes checking for gethostbyaddr... yes checking for inet_addr... yes checking for resizeterm... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/pktstat-1.8.5-r1/work/pktstat-1.8.5 ... make -j1 (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /var/tmp/portage/net-analyzer/pktstat-1.8.5-r1/work/pktstat-1.8.5/missing autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-am make[1]: Entering directory '/var/tmp/portage/net-analyzer/pktstat-1.8.5-r1/work/pktstat-1.8.5' x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DPATH_PKTSTATRC=\"/etc/pktstatrc\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o abbrev.o abbrev.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DPATH_PKTSTATRC=\"/etc/pktstatrc\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o display.o display.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DPATH_PKTSTATRC=\"/etc/pktstatrc\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o ether.o ether.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DPATH_PKTSTATRC=\"/etc/pktstatrc\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o flow.o flow.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DPATH_PKTSTATRC=\"/etc/pktstatrc\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o frag.o frag.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DPATH_PKTSTATRC=\"/etc/pktstatrc\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o hash.o hash.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DPATH_PKTSTATRC=\"/etc/pktstatrc\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o icmp.o icmp.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DPATH_PKTSTATRC=\"/etc/pktstatrc\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o ifc.o ifc.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DPATH_PKTSTATRC=\"/etc/pktstatrc\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o ip.o ip.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DPATH_PKTSTATRC=\"/etc/pktstatrc\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o ip6.o ip6.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DPATH_PKTSTATRC=\"/etc/pktstatrc\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o ipx.o ipx.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DPATH_PKTSTATRC=\"/etc/pktstatrc\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o loop.o loop.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DPATH_PKTSTATRC=\"/etc/pktstatrc\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o main.o main.c main.c: In function ‘main’: main.c:256:3: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 256 | interface = pcap_lookupdev(errbuf); | ^~~~~~~~~ In file included from /usr/include/pcap.h:43, from main.c:27: /usr/include/pcap/pcap.h:328:16: note: declared here 328 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DPATH_PKTSTATRC=\"/etc/pktstatrc\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o ppp.o ppp.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DPATH_PKTSTATRC=\"/etc/pktstatrc\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o resize.o resize.c In file included from resize.c:27: /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DPATH_PKTSTATRC=\"/etc/pktstatrc\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o sll.o sll.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DPATH_PKTSTATRC=\"/etc/pktstatrc\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o tag.o tag.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DPATH_PKTSTATRC=\"/etc/pktstatrc\" -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o tcp.o tcp.c tcp.c: In function ‘tcp_lookup’: tcp.c:121:19: error: ‘IPPORT_USERRESERVED’ undeclared (first use in this function); did you mean ‘IPPORT_RESERVED’? 121 | else if (port > IPPORT_USERRESERVED) | ^~~~~~~~~~~~~~~~~~~ | IPPORT_RESERVED tcp.c:121:19: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [Makefile:486: tcp.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-analyzer/pktstat-1.8.5-r1/work/pktstat-1.8.5' make: *** [Makefile:342: all] Error 2 * ERROR: net-analyzer/pktstat-1.8.5-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/pktstat-1.8.5-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/pktstat-1.8.5-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:pktstat-1.8.5-r1:20200321-213115.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/pktstat-1.8.5-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/pktstat-1.8.5-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/pktstat-1.8.5-r1/work/pktstat-1.8.5' * S: '/var/tmp/portage/net-analyzer/pktstat-1.8.5-r1/work/pktstat-1.8.5'