public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] iptables-1.8.1 build failure
@ 2018-10-24  9:29 Peter Humphrey
  2018-10-24 11:52 ` Neil Bothwick
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Humphrey @ 2018-10-24  9:29 UTC (permalink / raw
  To: gentoo-user

Hello list,

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?

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] iptables-1.8.1 build failure
  2018-10-24  9:29 [gentoo-user] iptables-1.8.1 build failure Peter Humphrey
@ 2018-10-24 11:52 ` Neil Bothwick
  2018-10-24 14:30   ` Peter Humphrey
  0 siblings, 1 reply; 4+ messages in thread
From: Neil Bothwick @ 2018-10-24 11:52 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1123 bytes --]

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.


-- 
Neil Bothwick

Q:  Why is top-posting evil?
A: backwards read don't humans because

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] iptables-1.8.1 build failure
  2018-10-24 11:52 ` Neil Bothwick
@ 2018-10-24 14:30   ` Peter Humphrey
  2018-10-24 14:39     ` Peter Humphrey
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Humphrey @ 2018-10-24 14:30 UTC (permalink / raw
  To: gentoo-user

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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] iptables-1.8.1 build failure
  2018-10-24 14:30   ` Peter Humphrey
@ 2018-10-24 14:39     ` Peter Humphrey
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Humphrey @ 2018-10-24 14:39 UTC (permalink / raw
  To: gentoo-user

On Wednesday, 24 October 2018 15:30:06 BST Peter Humphrey wrote:
> 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.

... and marked as a duplicate of 669486, which didn't show up in my searches.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-10-24 14:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-24  9:29 [gentoo-user] iptables-1.8.1 build failure Peter Humphrey
2018-10-24 11:52 ` Neil Bothwick
2018-10-24 14:30   ` Peter Humphrey
2018-10-24 14:39     ` Peter Humphrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox