Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704126 - net-firewall/ipset-7.4[modules] should check for NETFILTER_NETLINK
Summary: net-firewall/ipset-7.4[modules] should check for NETFILTER_NETLINK
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Reported: 2019-12-28 22:50 UTC by Georgy Yakovlev
Modified: 2021-02-21 02:17 UTC (History)
1 user (show)

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

build log (ipset-bug.txt,67.53 KB, text/plain)
2019-12-28 22:50 UTC, Georgy Yakovlev

Note You need to log in before you can comment on or make changes to this bug.
Description Georgy Yakovlev gentoo-dev 2019-12-28 22:50:06 UTC
fails to build on my config, eclass could catch it earlier

make[4]: *** [scripts/ /var/tmp/portage/net-firewall/ipset-7.4/work/ipset-7.4/kernel/net/netfilter/ipset/ip_set_hash_netportnet.o] Error 1
In file included from /var/tmp/portage/net-firewall/ipset-7.4/work/ipset-7.4/kernel/include/linux/netfilter/ipset/ip_set.h:18,
                 from /var/tmp/portage/net-firewall/ipset-7.4/work/ipset-7.4/kernel/net/netfilter/ipset/ip_set_list_set.c:13:
/var/tmp/portage/net-firewall/ipset-7.4/work/ipset-7.4/kernel/include/linux/netfilter/ipset/ip_set_compat.h:153:2: error: #error "NETFILTER_NETLINK must be enabled: select NFACCT/NFQUEUE/LOG over NFNETLINK"
  153 | #error "NETFILTER_NETLINK must be enabled: select NFACCT/NFQUEUE/LOG over NFNETLINK"
      |  ^~~~~
make[4]: *** [scripts/ /var/tmp/portage/net-firewall/ipset-7.4/work/ipset-7.4/kernel/net/netfilter/ipset/ip_set_hash_ipmac.o] Error 1
make[4]: *** [scripts/ /var/tmp/portage/net-firewall/ipset-7.4/work/ipset-7.4/kernel/net/netfilter/ipset/ip_set_list_set.o] Error 1
make[3]: *** [scripts/ /var/tmp/portage/net-firewall/ipset-7.4/work/ipset-7.4/kernel/net/netfilter/ipset] Error 2
make[2]: *** [scripts/ /var/tmp/portage/net-firewall/ipset-7.4/work/ipset-7.4/kernel/net/netfilter] Error 2
make[1]: *** [Makefile:1652: /var/tmp/portage/net-firewall/ipset-7.4/work/ipset-7.4/kernel/net] Error 2
make[1]: Leaving directory '/usr/src/linux-5.4.6-gentoo'

Reproducible: Always
Comment 1 Georgy Yakovlev gentoo-dev 2019-12-28 22:50:46 UTC
Created attachment 601616 [details]
build log
Comment 2 Larry the Git Cow gentoo-dev 2021-02-21 02:17:27 UTC
The bug has been closed via the following commit(s):

commit 044483145e10ca245b8644d664eeebd95b2ca5d1
Author:     Thomas Deutschmann <>
AuthorDate: 2021-02-21 01:34:41 +0000
Commit:     Thomas Deutschmann <>
CommitDate: 2021-02-21 02:17:22 +0000

    net-firewall/ipset: check for NETFILTER_NETLINK support in kernel
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Thomas Deutschmann <>

 net-firewall/ipset/ipset-7.10.ebuild | 2 ++
 net-firewall/ipset/ipset-7.11.ebuild | 2 ++
 2 files changed, 4 insertions(+)