libtool: compile: 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 -Waggregate-return -Wunused -Wwrite-strings -fvisibility=hidden -O2 -pipe -march=native -c netlink.c -fPIC -DPIC -o .libs/netlink.o netlink.c: In function ‘netlink_delinearize_chain’: netlink.c:423:38: error: ‘NFTNL_CHAIN_DEVICES’ undeclared (first use in this function); did you mean ‘NFTNL_CHAIN_DEV’? 423 | } else if (nftnl_chain_is_set(nlc, NFTNL_CHAIN_DEVICES)) { | ^~~~~~~~~~~~~~~~~~~ | NFTNL_CHAIN_DEV ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no-multilib-20191128-123931 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * clang: clang version 9.0.0 (tags/RELEASE_900/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/9/bin llvm: 9.0.0 Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.39.0 * repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Wed, 04 Dec 2019 00:06:32 +0000 emerge -qpvO net-firewall/nftables [ebuild U ] net-firewall/nftables-0.9.3 [0.9.2-r1] USE="doc gmp modern-kernel%* readline -debug -json -python -static-libs -xtables (-modern_kernel%*)" PYTHON_TARGETS="python3_6 -python3_5 -python3_7"
Created attachment 598428 [details] emerge-info.txt
Created attachment 598430 [details] emerge-history.txt
Created attachment 598432 [details] environment
Created attachment 598434 [details] etc.portage.tbz2
Created attachment 598436 [details] logs.tbz2
Created attachment 598438 [details] net-firewall:nftables-0.9.3:20191204-003456.log
Created attachment 598440 [details] temp.tbz2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bce2a7f66efe4b6152e4d0cbefd5fe148e5deec commit 2bce2a7f66efe4b6152e4d0cbefd5fe148e5deec Author: Francisco Blas (klondike) Izquierdo Riera <klondike@gentoo.org> AuthorDate: 2019-12-05 02:09:51 +0000 Commit: Matthew Thode <prometheanfire@gentoo.org> CommitDate: 2019-12-05 02:19:38 +0000 net-firewall/nftables: Depend on >=net-libs/libnftnl-1.1.5 Although upstreams reports that nftables 0.9.3 depends on libnftnl 1.1.4 or higher. Using said version results on the following errors: netlink.c: In function ‘netlink_delinearize_chain’: netlink.c:423:38: error: ‘NFTNL_CHAIN_DEVICES’ undeclared (first use in this function); did you mean ‘NFTNL_CHAIN_DEV’? } else if (nftnl_chain_is_set(nlc, NFTNL_CHAIN_DEVICES)) { ^~~~~~~~~~~~~~~~~~~ NFTNL_CHAIN_DEV netlink.c:423:38: note: each undeclared identifier is reported only once for each function it appears in netlink.c: In function ‘netlink_delinearize_obj’: netlink.c:1049:27: error: ‘NFTNL_OBJ_SYNPROXY_MSS’ undeclared (first use in this function); did you mean ‘NFTNL_EXPR_SYNPROXY_MSS’? nftnl_obj_get_u16(nlo, NFTNL_OBJ_SYNPROXY_MSS); ^~~~~~~~~~~~~~~~~~~~~~ NFTNL_EXPR_SYNPROXY_MSS netlink.c:1051:26: error: ‘NFTNL_OBJ_SYNPROXY_WSCALE’ undeclared (first use in this function); did you mean ‘NFTNL_EXPR_SYNPROXY_WSCALE’? nftnl_obj_get_u8(nlo, NFTNL_OBJ_SYNPROXY_WSCALE); ^~~~~~~~~~~~~~~~~~~~~~~~~ NFTNL_EXPR_SYNPROXY_WSCALE netlink.c:1053:27: error: ‘NFTNL_OBJ_SYNPROXY_FLAGS’ undeclared (first use in this function); did you mean ‘NFTNL_EXPR_SYNPROXY_FLAGS’? nftnl_obj_get_u32(nlo, NFTNL_OBJ_SYNPROXY_FLAGS); ^~~~~~~~~~~~~~~~~~~~~~~~ NFTNL_EXPR_SYNPROXY_FLAGS netlink.c: In function ‘netlink_delinearize_flowtable’: netlink.c:1137:3: warning: implicit declaration of function ‘nftnl_flowtable_get_u64’; did you mean ‘nftnl_flowtable_get_u32’? [-Wimplicit-function-declaration] nftnl_flowtable_get_u64(nlo, NFTNL_FLOWTABLE_HANDLE); ^~~~~~~~~~~~~~~~~~~~~~~ nftnl_flowtable_get_u32 netlink.c:1137:32: error: ‘NFTNL_FLOWTABLE_HANDLE’ undeclared (first use in this function); did you mean ‘NFTA_FLOWTABLE_HANDLE’? nftnl_flowtable_get_u64(nlo, NFTNL_FLOWTABLE_HANDLE); ^~~~~~~~~~~~~~~~~~~~~~ NFTA_FLOWTABLE_HANDLE Depend instead on version 1.1.5 or higher with which the compilation suceeds. Closes: https://bugs.gentoo.org/701976 Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> Package-Manager: Portage-2.3.76, Repoman-2.3.11 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org> net-firewall/nftables/nftables-0.9.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Just for the record, I have contacted Pablo about this. The issue is caused by using libnftnl 1.1.4 as stated by the release notes, and is solved when using 1.1.5. Hopefully the new -r1 version will solve the problem for you Toralf.