Cannot merge (compile) nftables v0.4 with gentoo-sources 3.17.2 caused by missing NFT_EXPR_LOG_LEVEL (and some more). After updating the kernel to 3.18.2 and the linux-headers to v18 the undeclared NFT_EXPOR_LOG_LEVEL error is gone. But there are still some more undefined macros e.g. NFT_SET_ATTR_POLICY and NFT_SET_ATTR_DESC_SIZE (and some more). The mailing list http://comments.gmane.org/gmane.comp.security.firewalls.netfilter.devel/54291 indicates that there is a patch for the new macros. Perhaps nftables v0.4 should depend on a more recent kernel version (headers) that contains all that defines. Reproducible: Always
Created attachment 393598 [details] build.log
I grepped the include directory of tag 'v3.19-rc3' of repo 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git'. git checkout v3.19-rc3 grep -r NFT_SET_ATTR_ include/ <nothing found>
The problem is solved after updating net-libs/libnftnl from 1.0.2 to 1.0.3, too. So, the dependencies should be changed to fit at least: * sys-kernel/linux-headers-3.18 * net-libs/libnftnl-1.0.3 Is this correct or do I something completely wrong?
Is the missing log level macro (NFT_EXPR_LOG_LEVEL) for <linux-headers-3.18 something that should be fixed, too? Is this also solved using net-libs/libnftnl-1.0.3?
nftables 0.4 emerged fine after an upgrade of libnftnl to 1.0.3. linux-headers remained at version 3.9. The actualy kernel in /usr/src/linux however is 3.18.x.
nftables 0.4 emerged fine after an upgrade of libnftnl to 1.0.3 from 1.0.2. My linux-headers is version 3.16. The actualy kernel in /usr/src/linux however is 3.18.7.
Please test again with nftables-0.5
WFM (merging)