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

Replies

Subject Author
Re: [gentoo-user] iptables-1.8.1 build failure Peter Humphrey <peter@××××××××××××.uk>