Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 660784

Summary: net-firewall/iptables-1.8.0 should depend on net-libs/libnftnl
Product: Gentoo Linux Reporter: Guillaume Ceccarelli <guillaume>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: lander.ghekiere, m.debruijne, matoro_gentoo, realnc, silvio.gerli
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Guillaume Ceccarelli 2018-07-09 11:59:03 UTC
Created attachment 538902 [details]
build.log

I just tried to update to iptables 1.8.0 on one of my machines. The build failed because of a missing include:


In file included from ../iptables/nft.h:5,
                 from libebt_arp.c:20:
../iptables/nft-shared.h:6:10: fatal error: libnftnl/rule.h: No such file or directory
 #include <libnftnl/rule.h>
          ^~~~~~~~~~~~~~~~~
compilation terminated.


Installing libnftnl solved the problem. Attaching a full build log containing the original, failed compilation.
Comment 1 Guillaume Ceccarelli 2018-07-09 12:01:40 UTC
I just realized there's a nftables USE flag on the iptables ebuild. Mine was disabled. So it's could also be a case of the ebuild process attempting to compile something it shouldn't.
Comment 2 matoro archtester 2018-07-09 13:19:00 UTC
Just ran into this as well, nftables USE flag disabled.  Confirming occurrence on
Comment 3 Silvio 2018-07-09 15:00:50 UTC
I confirm problem and solution
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2018-07-09 15:08:25 UTC

*** This bug has been marked as a duplicate of bug 660790 ***