* Package: net-firewall/ipt_netflow-2.6 * Repository: gentoo * Maintainer: pinkbyte@gentoo.org netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.14.6-gentoo-dist * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking ipt_netflow-2.6.tar.gz to /var/tmp/portage/net-firewall/ipt_netflow-2.6/work >>> Source unpacked in /var/tmp/portage/net-firewall/ipt_netflow-2.6/work >>> Preparing source in /var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6 ... * Applying ipt_netflow-2.0-configure.patch ... [ ok ] * Applying ipt_netflow-2.6-gentoo.patch ... [ ok ] * Applying ipt_netflow-2.6-ref_module_fix.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6 ... ./configure --disable-dkms --enable-aggregation --enable-direction --enable-macaddress --enable-vlan --ipt-lib=/usr/lib64/xtables --ipt-src=/usr/ --ipt-ver=1.8.7 --kdir=/usr/src/linux --kver=5.14.6-gentoo-dist --disable-snmp-agent Module version: 2.6 Kernel version: 5.14.6-gentoo-dist (requested) Kernel sources: /usr/src/linux (requested) Checking for presence of include/linux/netfilter.h... Yes netfilter.h uses CONFIG_NF_NAT_NEEDED... No Checking for presence of include/linux/llist.h... Yes Checking for presence of include/linux/grsecurity.h... No Iptables binary version: 1.8.7 (user specified) pkg-config for version 1.8.7 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) 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.6/work/ipt_netflow-2.6 ... make -j4 ARCH=x86 CC=x86_64-pc-linux-gnu-gcc LD=x86_64-pc-linux-gnu-ld OBJDUMP=x86_64-pc-linux-gnu-objdump all ./gen_compat_def > compat_def.h x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wunused -DXTABLES -fPIC -o libipt_NETFLOW_sh.o -c libipt_NETFLOW.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wunused -DXTABLES -fPIC -o libip6t_NETFLOW_sh.o -c libipt_NETFLOW.c Test symbol xt_family linux/netfilter_ipv4/ip_tables.h x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -o libip6t_NETFLOW.so libip6t_NETFLOW_sh.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -o libipt_NETFLOW.so libipt_NETFLOW_sh.o declared Test struct timeval linux/ktime.h undeclared Test struct proc_ops linux/proc_fs.h declared Test symbol synchronize_sched linux/rcupdate.h undeclared Test symbol nf_bridge_info_get linux/netfilter_bridge.h declared Test struct vlan_dev_priv linux/if_vlan.h declared Compiling 2.6 for kernel 5.14.6-gentoo-dist make -C /usr/src/linux M=/var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6 modules make[1]: Entering directory '/usr/src/linux-5.14.6-gentoo-dist' CC [M] /var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6/ipt_NETFLOW.o /var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6/ipt_NETFLOW.c:1946:13: error: static declaration of ‘sk_error_report’ follows non-static declaration 1946 | static void sk_error_report(struct sock *sk) | ^~~~~~~~~~~~~~~ In file included from ./include/net/inet_sock.h:22, from ./include/linux/udp.h:16, from /var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6/ipt_NETFLOW.c:33: ./include/net/sock.h:2287:6: note: previous declaration of ‘sk_error_report’ with type ‘void(struct sock *)’ 2287 | void sk_error_report(struct sock *sk); | ^~~~~~~~~~~~~~~ In file included from /var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6/ipt_NETFLOW.c:79: /var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6/murmur3.h: In function ‘murmur3’: /var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6/murmur3.h:35:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 35 | case 3: k1 ^= tail[2] << 16; /* FALLTHROUGH */ | ~~~^~~~~~~~~~~~~~~~ /var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6/murmur3.h:36:17: note: here 36 | case 2: k1 ^= tail[1] << 8; /* FALLTHROUGH */ | ^~~~ /var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6/murmur3.h:36:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 36 | case 2: k1 ^= tail[1] << 8; /* FALLTHROUGH */ | ~~~^~~~~~~~~~~~~~~ /var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6/murmur3.h:37:17: note: here 37 | case 1: k1 ^= tail[0]; | ^~~~ make[2]: *** [scripts/Makefile.build:271: /var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6/ipt_NETFLOW.o] Error 1 make[1]: *** [Makefile:1858: /var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6] Error 2 make[1]: Leaving directory '/usr/src/linux-5.14.6-gentoo-dist' make: *** [Makefile:27: ipt_NETFLOW.ko] Error 2 rm libipt_NETFLOW_sh.o libip6t_NETFLOW_sh.o * ERROR: net-firewall/ipt_netflow-2.6::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-firewall/ipt_netflow-2.6::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-firewall/ipt_netflow-2.6::gentoo'`. * The complete build log is located at '/var/log/portage/net-firewall:ipt_netflow-2.6:20210919-225835.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-firewall/ipt_netflow-2.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-firewall/ipt_netflow-2.6/temp/environment'. * Working directory: '/var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6' * S: '/var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6'