Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660790 - net-firewall/iptables-1.8.0[-nftables]: fatal error: libnftnl/rule.h: No such file or directory
Summary: net-firewall/iptables-1.8.0[-nftables]: fatal error: libnftnl/rule.h: No such...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL: https://marc.info/?t=153114545600006&...
Whiteboard:
Keywords:
: 660784 660796 660830 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-07-09 14:12 UTC by Thomas Deutschmann (RETIRED)
Modified: 2018-07-10 04:39 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,85.21 KB, text/plain)
2018-07-09 14:12 UTC, Thomas Deutschmann (RETIRED)
Details
build.log (file_660790.txt,1.95 KB, text/plain)
2018-07-09 21:28 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2018-07-09 14:12:58 UTC
Created attachment 538904 [details]
build.log

> x86_64-pc-linux-gnu-gcc -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT 	-DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I.. -I../include -I..     -Wp,-MMD,./.libebt_arp.oo.d,-MT,libebt_arp.oo -Wall -Waggregate-return -Wmissing-declarations 	-Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes 	-Wlogical-op 	-Winline -pipe -D_INIT=libebt_arp_init -DPIC -fPIC -O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -Wno-error=missing-prototypes -Wno-error=enum-compare -Wno-error=unused-function -Wno-error=deprecated-declarations -frecord-gcc-switches -o libebt_arp.oo -c libebt_arp.c;
> In file included from ../iptables/nft.h:5:0,
>                  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.
> make[2]: *** [GNUmakefile:107: libebt_arp.oo] Error 1
> make[2]: Leaving directory '/var/tmp/portage/net-firewall/iptables-1.8.0/work/iptables-1.8.0/extensions'
> make[1]: *** [Makefile:507: all-recursive] Error 1
> make[1]: Leaving directory '/var/tmp/portage/net-firewall/iptables-1.8.0/work/iptables-1.8.0'
> make: *** [Makefile:414: all] Error 2
>  * ERROR: net-firewall/iptables-1.8.0::gentoo failed (compile phase):
>  *   emake failed
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2018-07-09 14:17:18 UTC
Upstream confirmed, see $URL.
Comment 2 Larry the Git Cow gentoo-dev 2018-07-09 14:52:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a10deb82c1bcadbc0977d26dce8650c2bf5ba0a

commit 3a10deb82c1bcadbc0977d26dce8650c2bf5ba0a
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-07-09 14:51:42 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-07-09 14:51:59 +0000

    net-firewall/iptables: fix building with USE=-nftables
    
    Closes: https://bugs.gentoo.org/660790
    Package-Manager: Portage-2.3.41, Repoman-2.3.9

 ...es-1.8.0-fix-building-without-nft-backend.patch | 26 ++++++++++++++++++++++
 net-firewall/iptables/iptables-1.8.0.ebuild        |  7 ++++--
 2 files changed, 31 insertions(+), 2 deletions(-)
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2018-07-09 15:08:25 UTC
*** Bug 660784 has been marked as a duplicate of this bug. ***
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-07-09 15:31:19 UTC
*** Bug 660796 has been marked as a duplicate of this bug. ***
Comment 5 matoro archtester 2018-07-09 21:27:25 UTC
Thanks for the patch - unfortunately net-firewall/iptabes-1.8.0 is now dying on automake dep?  Is this an eclass that needs to be inherited/build dep that needs to be added?
Comment 6 matoro archtester 2018-07-09 21:28:13 UTC
Created attachment 539032 [details]
build.log
Comment 7 Larry the Git Cow gentoo-dev 2018-07-09 22:06:41 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cfe4af2f0be5eca2571d0e661cdfedd3230dee6

commit 1cfe4af2f0be5eca2571d0e661cdfedd3230dee6
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-07-09 22:06:07 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-07-09 22:06:33 +0000

    net-firewall/iptables: avoid autoreconf
    
    Bug: https://bugs.gentoo.org/660790
    Package-Manager: Portage-2.3.41, Repoman-2.3.9

 net-firewall/iptables/iptables-1.8.0.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
Comment 8 Thomas Deutschmann (RETIRED) gentoo-dev 2018-07-09 22:07:07 UTC
Thanks, fixed. I missed

> # Force users doing their own patches to install their own tools
> AUTOTOOLS_AUTO_DEPEND=no
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2018-07-10 04:39:18 UTC
*** Bug 660830 has been marked as a duplicate of this bug. ***