* Package: net-firewall/ipt_netflow-2.3_p20190619 * Repository: gentoo * Maintainer: pinkbyte@gentoo.org netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux snmp userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug test userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.1.9-gentoo * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking ipt_netflow-2.3_p20190619.tar.gz to /var/tmp/portage/net-firewall/ipt_netflow-2.3_p20190619/work >>> Source unpacked in /var/tmp/portage/net-firewall/ipt_netflow-2.3_p20190619/work >>> Preparing source in /var/tmp/portage/net-firewall/ipt_netflow-2.3_p20190619/work/ipt_netflow-2.3_p20190619 ... * Applying ipt_netflow-2.0-configure.patch ... [ ok ] * Applying ipt_netflow-2.3-flags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-firewall/ipt_netflow-2.3_p20190619/work/ipt_netflow-2.3_p20190619 ... ./configure --disable-dkms --enable-aggregation --enable-direction --enable-macaddress --enable-vlan --ipt-lib=/usr/lib64/xtables --ipt-src=/usr/ --ipt-ver=1.8.3 --kdir=/usr/src/linux --kver=5.1.9-gentoo --enable-snmp-rules Kernel version: 5.1.9-gentoo (requested) Kernel sources: /usr/src/linux (requested) Kernel config file checked: /usr/src/linux/.config ! Attention: CONFIG_NF_CONNTRACK_EVENTS is undefined in your kernel configuration ! Without this option enabled natevents will not work. Checking for presence of include/linux/llist.h... Yes Checking for presence of include/linux/grsecurity.h... No Iptables binary version: 1.8.3 (user specified) pkg-config for version 1.8.3 exists: Yes Check for working gcc: Yes (x86_64-pc-linux-gnu-gcc) Checking for presence of xtables.h... Yes Iptables include flags: (pkg-config) Iptables module path: /usr/lib64/xtables (user specified) Searching for net-snmp-config... Yes /usr/bin/net-snmp-config Searching for net-snmp agent... Yes. Creating Makefile.. done. If you need some options enabled run ./configure --help Now run: make all install >>> Source configured. >>> Compiling source in /var/tmp/portage/net-firewall/ipt_netflow-2.3_p20190619/work/ipt_netflow-2.3_p20190619 ... make -j1 ARCH=x86 CC=x86_64-pc-linux-gnu-gcc all Compiling for kernel 5.1.9-gentoo make -C /usr/src/linux M=/var/tmp/portage/net-firewall/ipt_netflow-2.3_p20190619/work/ipt_netflow-2.3_p20190619 modules CONFIG_DEBUG_INFO=y make[1]: Entering directory '/usr/src/linux-5.1.9-gentoo' CC [M] /var/tmp/portage/net-firewall/ipt_netflow-2.3_p20190619/work/ipt_netflow-2.3_p20190619/ipt_NETFLOW.o /var/tmp/portage/net-firewall/ipt_netflow-2.3_p20190619/work/ipt_netflow-2.3_p20190619/ipt_NETFLOW.c: In function ‘parse_l2_header’: /var/tmp/portage/net-firewall/ipt_netflow-2.3_p20190619/work/ipt_netflow-2.3_p20190619/ipt_NETFLOW.c:4819:32: error: implicit declaration of function ‘vlan_dev_priv’; did you mean ‘netdev_priv’? [-Werror=implicit-function-declaration] 4819 | struct vlan_dev_priv *vlan = vlan_dev_priv(vlan_dev); | ^~~~~~~~~~~~~ | netdev_priv /var/tmp/portage/net-firewall/ipt_netflow-2.3_p20190619/work/ipt_netflow-2.3_p20190619/ipt_NETFLOW.c:4819:32: warning: initialization of ‘struct vlan_dev_priv *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] /var/tmp/portage/net-firewall/ipt_netflow-2.3_p20190619/work/ipt_netflow-2.3_p20190619/ipt_NETFLOW.c:4824:16: error: dereferencing pointer to incomplete type ‘struct vlan_dev_priv’ 4824 | && !(vlan->flags & VLAN_FLAG_REORDER_HDR) | ^~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:282: /var/tmp/portage/net-firewall/ipt_netflow-2.3_p20190619/work/ipt_netflow-2.3_p20190619/ipt_NETFLOW.o] Error 1 make[1]: *** [Makefile:1571: _module_/var/tmp/portage/net-firewall/ipt_netflow-2.3_p20190619/work/ipt_netflow-2.3_p20190619] Error 2 make[1]: Leaving directory '/usr/src/linux-5.1.9-gentoo' make: *** [Makefile:25: ipt_NETFLOW.ko] Error 2 * ERROR: net-firewall/ipt_netflow-2.3_p20190619::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-firewall/ipt_netflow-2.3_p20190619::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-firewall/ipt_netflow-2.3_p20190619::gentoo'`. * The complete build log is located at '/var/log/portage/net-firewall:ipt_netflow-2.3_p20190619:20190619-071011.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-firewall/ipt_netflow-2.3_p20190619/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-firewall/ipt_netflow-2.3_p20190619/temp/environment'. * Working directory: '/var/tmp/portage/net-firewall/ipt_netflow-2.3_p20190619/work/ipt_netflow-2.3_p20190619' * S: '/var/tmp/portage/net-firewall/ipt_netflow-2.3_p20190619/work/ipt_netflow-2.3_p20190619'