Calculating dependencies ... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) net-libs/libpcap-1.8.1::gentoo * libpcap-1.8.1.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking libpcap-1.8.1.tar.gz to /tmp/portage/net-libs/libpcap-1.8.1/work >>> Source unpacked in /tmp/portage/net-libs/libpcap-1.8.1/work >>> Preparing source in /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1 ... * Applying libpcap-1.6.1-prefix-solaris.patch ... [ ok ] * Applying libpcap-1.8.1-cross-compile.patch ... [ ok ] * Applying libpcap-1.8.1-darwin.patch ... [ ok ] * Applying libpcap-1.8.1-libnl.patch ... [ ok ] * Applying libpcap-1.8.1-usbmon.patch ... [ ok ] * Running eautoreconf in '/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1' ... * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running elibtoolize in: libpcap-libpcap-1.8.1/ >>> Source prepared. >>> Configuring source in /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure * econf: updating libpcap-libpcap-1.8.1/config.guess with /usr/share/gnuconfig/config.guess * econf: updating libpcap-libpcap-1.8.1/config.sub with /usr/share/gnuconfig/config.sub /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/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 --docdir=/usr/share/doc/libpcap-1.8.1 --htmldir=/usr/share/doc/libpcap-1.8.1/html --libdir=/usr/lib --disable-bluetooth --disable-usb --disable-dbus --with-libnl --enable-ipv6 configure: loading site script /usr/share/config.site checking build system type... x86_64-gentoo-linux-musl checking host system type... x86_64-gentoo-linux-musl checking target system type... x86_64-gentoo-linux-musl 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 the compiler supports the -fvisibility=hidden option... yes checking for inline... inline checking for __attribute__... yes checking whether __attribute__((unused)) can be used without warnings... yes checking whether __attribute__((format)) can be used without warnings... yes 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 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/bitypes.h usability... no checking sys/bitypes.h presence... no checking for sys/bitypes.h... no checking for int8_t... yes checking for u_int8_t... yes checking for int16_t... yes checking for u_int16_t... yes checking for int32_t... yes checking for u_int32_t... yes checking for int64_t... yes checking for u_int64_t... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking sys/ioccom.h usability... no checking sys/ioccom.h presence... no checking for sys/ioccom.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking linux/if_packet.h usability... yes checking linux/if_packet.h presence... yes checking for linux/if_packet.h... yes checking netpacket/packet.h usability... yes checking netpacket/packet.h presence... yes checking for netpacket/packet.h... yes checking netpacket/if_packet.h usability... no checking netpacket/if_packet.h presence... no checking for netpacket/if_packet.h... no checking for net/pfvar.h... no checking for netinet/if_ether.h... yes checking for linux/sockios.h... yes checking for linux/if_bonding.h... yes checking for ANSI ioctl definitions... yes checking for strerror... yes checking for strlcpy... yes checking for vsnprintf... yes checking for snprintf... yes checking for strtok_r... yes checking for library containing gethostbyname... none required checking for library containing socket... none required checking for library containing putmsg... no checking for ether_hostton... yes checking whether ether_hostton is declared... no checking netinet/ether.h usability... yes checking netinet/ether.h presence... yes checking for netinet/ether.h... yes checking whether ether_hostton is declared... yes checking if --disable-protochain option is specified... enabled checking packet capture type... linux checking for linux/wireless.h... yes checking for nl_socket_alloc in -lnl-3... yes checking for linux/ethtool.h... yes checking if if_packet.h has tpacket_stats defined... yes checking if tpacket_auxdata struct has tp_vlan_tci member... yes checking for getifaddrs... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking for socklen_t... yes checking for getaddrinfo... yes checking whether to build optimizer debugging code... no checking whether to build parser debugging code... no checking whether we have DAG API headers... no checking whether we have Septel API headers... no checking whether we have Myricom Sniffer API... no checking whether TurboCap is supported... no checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for capable lex... yes checking for bison... bison -y checking for capable yacc/bison... yes checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib checking for x86_64-gentoo-linux-musl-ar... x86_64-gentoo-linux-musl-ar checking whether ln -s works... yes checking if sockaddr struct has the sa_len member... no checking if sockaddr_storage struct exists... yes checking if dl_hp_ppa_info_t struct has dl_module_id_1 member... no checking if unaligned accesses fail... no checking whether the platform could support netfilter sniffing... yes checking whether we can compile the netfilter support... yes checking linux/net_tstamp.h usability... yes checking linux/net_tstamp.h presence... yes checking for linux/net_tstamp.h... yes checking for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating pcap-filter.manmisc config.status: creating pcap-linktype.manmisc config.status: creating pcap-tstamp.manmisc config.status: creating pcap-savefile.manfile config.status: creating pcap.3pcap config.status: creating pcap_compile.3pcap config.status: creating pcap_datalink.3pcap config.status: creating pcap_dump_open.3pcap config.status: creating pcap_get_tstamp_precision.3pcap config.status: creating pcap_list_datalinks.3pcap config.status: creating pcap_list_tstamp_types.3pcap config.status: creating pcap_open_dead.3pcap config.status: creating pcap_open_offline.3pcap config.status: creating pcap_set_tstamp_precision.3pcap config.status: creating pcap_set_tstamp_type.3pcap config.status: creating config.h config.status: executing default-1 commands >>> Source configured. >>> Compiling source in /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile make -j6 all shared x86_64-gentoo-linux-musl-gcc -I/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1 -fvisibility=hidden -fpic -march=skylake -O2 -pipe -I. -I/usr/include/libnl3 -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -march=skylake -O2 -pipe -c /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c x86_64-gentoo-linux-musl-gcc -I/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1 -fvisibility=hidden -fpic -march=skylake -O2 -pipe -I. -I/usr/include/libnl3 -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -march=skylake -O2 -pipe -c /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-netfilter-linux.c x86_64-gentoo-linux-musl-gcc -I/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1 -fvisibility=hidden -fpic -march=skylake -O2 -pipe -I. -I/usr/include/libnl3 -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -march=skylake -O2 -pipe -c /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/fad-getad.c /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/gen_version_header.sh /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/VERSION /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap_version.h.in pcap_version.h x86_64-gentoo-linux-musl-gcc -I/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1 -fvisibility=hidden -fpic -march=skylake -O2 -pipe -I. -I/usr/include/libnl3 -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -march=skylake -O2 -pipe -c /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/inet.c x86_64-gentoo-linux-musl-gcc -I/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1 -fvisibility=hidden -fpic -march=skylake -O2 -pipe -I. -I/usr/include/libnl3 -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -march=skylake -O2 -pipe -c /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/fad-helpers.c bison -y -p pcap_ -o grammar.c -d /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/grammar.y /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/grammar.y: warning: 38 shift/reduce conflicts [-Wconflicts-sr] /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘enter_rfmon_mode_mac80211’: /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:854:15: error: storage size of ‘ifr’ isn’t known struct ifreq ifr; ^~~ In file included from /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:132:0: /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:949:19: error: ‘IFF_UP’ undeclared (first use in this function) ifr.ifr_flags |= IFF_UP|IFF_RUNNING; ^ /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:949:19: note: each undeclared identifier is reported only once for each function it appears in /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:949:26: error: ‘IFF_RUNNING’ undeclared (first use in this function) ifr.ifr_flags |= IFF_UP|IFF_RUNNING; ^ /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘is_bonding_device’: /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:996:15: error: storage size of ‘ifr’ isn’t known struct ifreq ifr; ^~~ /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘pcap_cleanup_linux’: /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:1175:15: error: storage size of ‘ifr’ isn’t known struct ifreq ifr; ^~~ In file included from /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:132:0: /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:1210:25: error: ‘IFF_PROMISC’ undeclared (first use in this function) if (ifr.ifr_flags & IFF_PROMISC) { ^ /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:1268:25: error: ‘IFF_UP’ undeclared (first use in this function) if (ifr.ifr_flags & IFF_UP) { ^ /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘pcap_activate_linux’: /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:1427:15: error: storage size of ‘ifr’ isn’t known struct ifreq ifr; ^~~ /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘add_linux_if’: /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:2238:15: error: storage size of ‘ifrflags’ isn’t known struct ifreq ifrflags; ^~~~~~~~ flex -P pcap_ --header-file=scanner.h --nounput -o scanner.c /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/scanner.l /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘create_ring’: /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:4215:16: error: storage size of ‘ifr’ isn’t known struct ifreq ifr; ^~~ /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘iface_get_id’: /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:5254:15: error: storage size of ‘ifr’ isn’t known struct ifreq ifr; ^~~ /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘enter_rfmon_mode_wext’: /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:5450:15: error: storage size of ‘ifr’ isn’t known struct ifreq ifr; ^~~ In file included from /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:132:0: /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:5776:22: error: ‘IFF_UP’ undeclared (first use in this function) if (ifr.ifr_flags & IFF_UP) { ^ x86_64-gentoo-linux-musl-gcc -I/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1 -fvisibility=hidden -fpic -march=skylake -O2 -pipe -I. -I/usr/include/libnl3 -DBUILDING_PCAP -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -march=skylake -O2 -pipe -c /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/optimize.c /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘iface_ethtool_get_ts_info’: /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:6065:15: error: storage size of ‘ifr’ isn’t known struct ifreq ifr; ^~~ /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘iface_ethtool_flag_ioctl’: /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:6211:15: error: storage size of ‘ifr’ isn’t known struct ifreq ifr; ^~~ /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘activate_old’: /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:6321:15: error: storage size of ‘ifr’ isn’t known struct ifreq ifr; ^~~ In file included from /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:132:0: /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:6390:24: error: ‘IFF_PROMISC’ undeclared (first use in this function) if ((ifr.ifr_flags & IFF_PROMISC) == 0) { ^ /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘iface_get_mtu’: /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:6555:15: error: storage size of ‘ifr’ isn’t known struct ifreq ifr; ^~~ /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c: In function ‘iface_get_arptype’: /tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1/pcap-linux.c:6578:15: error: storage size of ‘ifr’ isn’t known struct ifreq ifr; ^~~ make: *** [Makefile:80: pcap-linux.o] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: net-libs/libpcap-1.8.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-libs/libpcap-1.8.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/libpcap-1.8.1::gentoo'`. * The complete build log is located at '/tmp/portage/net-libs/libpcap-1.8.1/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/net-libs/libpcap-1.8.1/temp/environment'. * Working directory: '/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1-abi_x86_64.amd64' * S: '/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1' >>> Failed to emerge net-libs/libpcap-1.8.1, Log file: >>> '/tmp/portage/net-libs/libpcap-1.8.1/temp/build.log' * Messages for package net-libs/libpcap-1.8.1: * ERROR: net-libs/libpcap-1.8.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-libs/libpcap-1.8.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/libpcap-1.8.1::gentoo'`. * The complete build log is located at '/tmp/portage/net-libs/libpcap-1.8.1/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/net-libs/libpcap-1.8.1/temp/environment'. * Working directory: '/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1-abi_x86_64.amd64' * S: '/tmp/portage/net-libs/libpcap-1.8.1/work/libpcap-libpcap-1.8.1'