Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] iptables-1.8.1 build failure
Date: Wed, 24 Oct 2018 14:39:55
Message-Id: 2770974.7VPPqTzjom@peak
In Reply to: Re: [gentoo-user] iptables-1.8.1 build failure by Peter Humphrey
1 On Wednesday, 24 October 2018 15:30:06 BST Peter Humphrey wrote:
2 > On Wednesday, 24 October 2018 12:52:24 BST Neil Bothwick wrote:
3 > > On Wed, 24 Oct 2018 10:29:03 +0100, Peter Humphrey wrote:
4 > > > Today's update of iptables to 1.8.1 failed here because I didn't have
5 > > > USE=nftables set. After setting that in package.use it was fine. Before
6 > > > I submit a bug report, though, I'd like to understand one thing:
7 > > >
8 > > > $ grep nftables $(equery w iptables)
9 > > > IUSE="conntrack ipv6 netlink nftables pcap static-libs"
10 > > >
11 > > > nftables? (
12 > > > nftables? (
13 > > > nftables? ( net-misc/ethertypes )
14 > > >
15 > > > $(use_enable nftables)
16 > > >
17 > > > use nftables && emake -C iptables xtables-config-parser.h
18 > > > if use nftables; then
19 > > >
20 > > > Shouldn't that IUSE entry be enough to pull in nftables?
21 > >
22 > > No, IUSE simply lists the USE flags relevant to the ebuild. The
23 > > dependencies are set in DEPEND, which contains
24 > >
25 > > nftables? (
26 > >
27 > > sys-devel/flex
28 > > virtual/yacc
29 > >
30 > > )
31 > >
32 > > It sounds like nftables should be in there too. this is with 1.8.0-r1,
33 > > which is the latest I have here after syncing at 0720 today.
34 >
35 > It's 1.8.1 here. All three DEPEND stanzas (DEPEND, RDEPEND and
36 > COMMON_DEPEND) have nftables? conditions, but nowhere is nftables made a
37 > requirement, even though the package won't compile without it.
38 >
39 > Bug report https://bugs.gentoo.org/669498 submitted.
40
41 ... and marked as a duplicate of 669486, which didn't show up in my searches.
42
43 --
44 Regards,
45 Peter.