On Wednesday, 24 October 2018 12:52:24 BST Neil Bothwick wrote: > On Wed, 24 Oct 2018 10:29:03 +0100, Peter Humphrey wrote: > > Today's update of iptables to 1.8.1 failed here because I didn't have > > USE=nftables set. After setting that in package.use it was fine. Before > > I submit a bug report, though, I'd like to understand one thing: > > > > $ grep nftables $(equery w iptables) > > IUSE="conntrack ipv6 netlink nftables pcap static-libs" > > > > nftables? ( > > nftables? ( > > nftables? ( net-misc/ethertypes ) > > > > $(use_enable nftables) > > > > use nftables && emake -C iptables xtables-config-parser.h > > if use nftables; then > > > > Shouldn't that IUSE entry be enough to pull in nftables? > > No, IUSE simply lists the USE flags relevant to the ebuild. The > dependencies are set in DEPEND, which contains > > nftables? ( > sys-devel/flex > virtual/yacc > ) > > It sounds like nftables should be in there too. this is with 1.8.0-r1, > which is the latest I have here after syncing at 0720 today.
It's 1.8.1 here. All three DEPEND stanzas (DEPEND, RDEPEND and COMMON_DEPEND) have nftables? conditions, but nowhere is nftables made a requirement, even though the package won't compile without it. Bug report https://bugs.gentoo.org/669498 submitted. -- Regards, Peter.