* Package: net-firewall/nftables-0.4  * Repository: gentoo  * Maintainer: mrueg@gentoo.org base-system@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux readline userland_GNU  * FEATURES: preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/3.18.2-gentoo/build * Found sources for kernel version: * 3.18.2-gentoo * Checking for suitable kernel configuration options...  [ ok ] >>> Unpacking source... >>> Unpacking nftables-0.4.tar.bz2 to /var/tmp/portage/net-firewall/nftables-0.4/work >>> Source unpacked in /var/tmp/portage/net-firewall/nftables-0.4/work >>> Preparing source in /var/tmp/portage/net-firewall/nftables-0.4/work/nftables-0.4 ... * Running eautoreconf in '/var/tmp/portage/net-firewall/nftables-0.4/work/nftables-0.4' ... * Running aclocal -I m4 ...  [ ok ] * Running autoconf ...  [ ok ] * Running autoheader ...  [ ok ] * Running automake --add-missing --copy --foreign --force-missing ...  [ ok ] * Running elibtoolize in: nftables-0.4/ * Running elibtoolize in: nftables-0.4/build-aux/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.2 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-firewall/nftables-0.4/work/nftables-0.4 ... * econf: updating nftables-0.4/build-aux/config.sub with /usr/share/gnuconfig/config.sub * econf: updating nftables-0.4/build-aux/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --sbindir=/sbin --disable-debug --with-cli configure: loading site script /usr/share/config.site checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/lib/portage/python3.3/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 how to create a pax tar archive... gnutar checking whether make supports nested variables... (cached) yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for a sed that does not truncate output... /bin/sed checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... bison -y checking for docbook2x-man... docbook2x-man checking for docbook2man... docbook2man checking for db2x_docbook2man... no checking for dblatex... no configure: WARNING: dblatex not found, no PDF manpages will be built checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBMNL... yes checking for LIBNFTNL... yes checking for __gmpz_init in -lgmp... yes checking for readline in -lreadline... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-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 to enable assertions... 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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/ip.h usability... yes checking netinet/ip.h presence... yes checking for netinet/ip.h... yes checking netinet/ip6.h usability... yes checking netinet/ip6.h presence... yes checking for netinet/ip6.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 netinet/ip_icmp.h usability... yes checking netinet/ip_icmp.h presence... yes checking for netinet/ip_icmp.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for memmove... yes checking for memset... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strtoull... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/Makefile config.status: creating include/linux/Makefile config.status: creating include/linux/netfilter/Makefile config.status: creating doc/Makefile config.status: creating files/Makefile config.status: creating files/nftables/Makefile config.status: creating config.h config.status: executing depfiles commands nft configuration: cli support: yes enable debugging: no >>> Source configured. >>> Compiling source in /var/tmp/portage/net-firewall/nftables-0.4/work/nftables-0.4 ... make -j5 (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /var/tmp/portage/net-firewall/nftables-0.4/work/nftables-0.4/build-aux/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-recursive make[1]: Entering directory '/var/tmp/portage/net-firewall/nftables-0.4/work/nftables-0.4' Making all in src make[2]: Entering directory '/var/tmp/portage/net-firewall/nftables-0.4/work/nftables-0.4/src' make all-am make[3]: Entering directory '/var/tmp/portage/net-firewall/nftables-0.4/work/nftables-0.4/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DDEFAULT_INCLUDE_PATH="\"/etc\"" -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wsign-compare -Winit-self -Wformat-nonliteral -Wformat-security -Wmissing-format-attribute -Wcast-align -Wundef -Wbad-function-cast -O2 -pipe -march=native -c -o main.o main.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DDEFAULT_INCLUDE_PATH="\"/etc\"" -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wsign-compare -Winit-self -Wformat-nonliteral -Wformat-security -Wmissing-format-attribute -Wcast-align -Wundef -Wbad-function-cast -O2 -pipe -march=native -c -o rule.o rule.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DDEFAULT_INCLUDE_PATH="\"/etc\"" -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wsign-compare -Winit-self -Wformat-nonliteral -Wformat-security -Wmissing-format-attribute -Wcast-align -Wundef -Wbad-function-cast -O2 -pipe -march=native -c -o statement.o statement.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DDEFAULT_INCLUDE_PATH="\"/etc\"" -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wsign-compare -Winit-self -Wformat-nonliteral -Wformat-security -Wmissing-format-attribute -Wcast-align -Wundef -Wbad-function-cast -O2 -pipe -march=native -c -o datatype.o datatype.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DDEFAULT_INCLUDE_PATH="\"/etc\"" -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wsign-compare -Winit-self -Wformat-nonliteral -Wformat-security -Wmissing-format-attribute -Wcast-align -Wundef -Wbad-function-cast -O2 -pipe -march=native -c -o expression.o expression.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DDEFAULT_INCLUDE_PATH="\"/etc\"" -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wsign-compare -Winit-self -Wformat-nonliteral -Wformat-security -Wmissing-format-attribute -Wcast-align -Wundef -Wbad-function-cast -O2 -pipe -march=native -c -o evaluate.o evaluate.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DDEFAULT_INCLUDE_PATH="\"/etc\"" -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wsign-compare -Winit-self -Wformat-nonliteral -Wformat-security -Wmissing-format-attribute -Wcast-align -Wundef -Wbad-function-cast -O2 -pipe -march=native -c -o proto.o proto.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DDEFAULT_INCLUDE_PATH="\"/etc\"" -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wsign-compare -Winit-self -Wformat-nonliteral -Wformat-security -Wmissing-format-attribute -Wcast-align -Wundef -Wbad-function-cast -O2 -pipe -march=native -c -o payload.o payload.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DDEFAULT_INCLUDE_PATH="\"/etc\"" -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wsign-compare -Winit-self -Wformat-nonliteral -Wformat-security -Wmissing-format-attribute -Wcast-align -Wundef -Wbad-function-cast -O2 -pipe -march=native -c -o exthdr.o exthdr.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DDEFAULT_INCLUDE_PATH="\"/etc\"" -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wsign-compare -Winit-self -Wformat-nonliteral -Wformat-security -Wmissing-format-attribute -Wcast-align -Wundef -Wbad-function-cast -O2 -pipe -march=native -c -o meta.o meta.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DDEFAULT_INCLUDE_PATH="\"/etc\"" -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wsign-compare -Winit-self -Wformat-nonliteral -Wformat-security -Wmissing-format-attribute -Wcast-align -Wundef -Wbad-function-cast -O2 -pipe -march=native -c -o ct.o ct.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DDEFAULT_INCLUDE_PATH="\"/etc\"" -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wsign-compare -Winit-self -Wformat-nonliteral -Wformat-security -Wmissing-format-attribute -Wcast-align -Wundef -Wbad-function-cast -O2 -pipe -march=native -c -o netlink.o netlink.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DDEFAULT_INCLUDE_PATH="\"/etc\"" -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wsign-compare -Winit-self -Wformat-nonliteral -Wformat-security -Wmissing-format-attribute -Wcast-align -Wundef -Wbad-function-cast -O2 -pipe -march=native -c -o netlink_linearize.o netlink_linearize.c netlink.c: In function ‘netlink_delinearize_set’: netlink.c:1053:31: error: ‘NFT_SET_ATTR_POLICY’ undeclared (first use in this function) if (nft_set_attr_is_set(nls, NFT_SET_ATTR_POLICY)) ^ netlink.c:1053:31: note: each undeclared identifier is reported only once for each function it appears in netlink.c:1056:31: error: ‘NFT_SET_ATTR_DESC_SIZE’ undeclared (first use in this function) if (nft_set_attr_is_set(nls, NFT_SET_ATTR_DESC_SIZE)) ^ netlink.c: In function ‘netlink_add_set_batch’: netlink.c:1121:30: error: ‘NFT_SET_ATTR_POLICY’ undeclared (first use in this function) nft_set_attr_set_u32(nls, NFT_SET_ATTR_POLICY, ^ netlink.c:1126:30: error: ‘NFT_SET_ATTR_DESC_SIZE’ undeclared (first use in this function) nft_set_attr_set_u32(nls, NFT_SET_ATTR_DESC_SIZE, ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DDEFAULT_INCLUDE_PATH="\"/etc\"" -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wsign-compare -Winit-self -Wformat-nonliteral -Wformat-security -Wmissing-format-attribute -Wcast-align -Wundef -Wbad-function-cast -O2 -pipe -march=native -c -o netlink_delinearize.o netlink_delinearize.c Makefile:447: recipe for target 'netlink.o' failed make[3]: *** [netlink.o] Error 1 make[3]: *** Waiting for unfinished jobs.... netlink_linearize.c: In function ‘netlink_gen_log_stmt’: netlink_linearize.c:590:31: error: ‘NFT_EXPR_LOG_LEVEL’ undeclared (first use in this function) nft_rule_expr_set_u32(nle, NFT_EXPR_LOG_LEVEL, ^ netlink_linearize.c:590:31: note: each undeclared identifier is reported only once for each function it appears in netlink_linearize.c: In function ‘netlink_gen_nat_stmt’: netlink_linearize.c:638:30: error: ‘NFT_EXPR_NAT_FLAGS’ undeclared (first use in this function) nft_rule_expr_set_u32(nle, NFT_EXPR_NAT_FLAGS, stmt->nat.flags); ^ netlink_linearize.c: In function ‘netlink_gen_masq_stmt’: netlink_linearize.c:698:30: error: ‘NFT_EXPR_MASQ_FLAGS’ undeclared (first use in this function) nft_rule_expr_set_u32(nle, NFT_EXPR_MASQ_FLAGS, ^ netlink_linearize.c: In function ‘netlink_gen_redir_stmt’: netlink_linearize.c:714:30: error: ‘NFT_EXPR_REDIR_FLAGS’ undeclared (first use in this function) nft_rule_expr_set_u32(nle, NFT_EXPR_REDIR_FLAGS, ^ netlink_linearize.c:730:12: error: ‘NFT_EXPR_REDIR_REG_PROTO_MIN’ undeclared (first use in this function) NFT_EXPR_REDIR_REG_PROTO_MIN, ^ netlink_linearize.c:733:12: error: ‘NFT_EXPR_REDIR_REG_PROTO_MAX’ undeclared (first use in this function) NFT_EXPR_REDIR_REG_PROTO_MAX, ^ Makefile:447: recipe for target 'netlink_linearize.o' failed make[3]: *** [netlink_linearize.o] Error 1 netlink_delinearize.c: In function ‘netlink_parse_log’: netlink_delinearize.c:464:32: error: ‘NFT_EXPR_LOG_LEVEL’ undeclared (first use in this function) if (nft_rule_expr_is_set(nle, NFT_EXPR_LOG_LEVEL)) { ^ netlink_delinearize.c:464:32: note: each undeclared identifier is reported only once for each function it appears in netlink_delinearize.c: In function ‘netlink_parse_nat’: netlink_delinearize.c:515:32: error: ‘NFT_EXPR_NAT_FLAGS’ undeclared (first use in this function) if (nft_rule_expr_is_set(nle, NFT_EXPR_NAT_FLAGS)) ^ netlink_delinearize.c: In function ‘netlink_parse_masq’: netlink_delinearize.c:590:32: error: ‘NFT_EXPR_MASQ_FLAGS’ undeclared (first use in this function) if (nft_rule_expr_is_set(nle, NFT_EXPR_MASQ_FLAGS)) ^ netlink_delinearize.c: In function ‘netlink_parse_redir’: netlink_delinearize.c:608:32: error: ‘NFT_EXPR_REDIR_FLAGS’ undeclared (first use in this function) if (nft_rule_expr_is_set(nle, NFT_EXPR_REDIR_FLAGS)) { ^ netlink_delinearize.c:613:36: error: ‘NFT_EXPR_REDIR_REG_PROTO_MIN’ undeclared (first use in this function) reg1 = nft_rule_expr_get_u32(nle, NFT_EXPR_REDIR_REG_PROTO_MIN); ^ netlink_delinearize.c:625:36: error: ‘NFT_EXPR_REDIR_REG_PROTO_MAX’ undeclared (first use in this function) reg2 = nft_rule_expr_get_u32(nle, NFT_EXPR_REDIR_REG_PROTO_MAX); ^ Makefile:447: recipe for target 'netlink_delinearize.o' failed make[3]: *** [netlink_delinearize.o] Error 1 make[3]: Leaving directory '/var/tmp/portage/net-firewall/nftables-0.4/work/nftables-0.4/src' Makefile:328: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/var/tmp/portage/net-firewall/nftables-0.4/work/nftables-0.4/src' Makefile:392: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-firewall/nftables-0.4/work/nftables-0.4' Makefile:333: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: net-firewall/nftables-0.4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-firewall/nftables-0.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-firewall/nftables-0.4::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-firewall/nftables-0.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-firewall/nftables-0.4/temp/environment'. * Working directory: '/var/tmp/portage/net-firewall/nftables-0.4/work/nftables-0.4' * S: '/var/tmp/portage/net-firewall/nftables-0.4/work/nftables-0.4'