* 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.11-gentoo-dist-hardened * 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.11-gentoo-dist-hardened --disable-snmp-agent Module version: 2.6 Kernel version: 5.14.11-gentoo-dist-hardened (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 undeclared Error: unexpected error from compiler make -s -B -C /usr/src/linux M=/var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6/cc-test-build modules make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. cc1: error: incompatible gcc/plugin versions cc1: error: failed to initialize plugin ./scripts/gcc-plugins/stackleak_plugin.so cc1: error: incompatible gcc/plugin versions cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so cc1: error: incompatible gcc/plugin versions cc1: error: failed to initialize plugin ./scripts/gcc-plugins/latent_entropy_plugin.so cc1: error: incompatible gcc/plugin versions cc1: error: failed to initialize plugin ./scripts/gcc-plugins/randomize_layout_plugin.so make[2]: *** [scripts/Makefile.build:271: /var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6/cc-test-build/test.o] Error 1 make[1]: *** [Makefile:1858: /var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6/cc-test-build] Error 2 make: *** [Makefile:30: compat_def.h] Error 3 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:20211011-081434.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'