make[1]: Entering directory '/usr/src/linux-5.14.6-gentoo-dist' CC [M] /var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6/ipt_NETFLOW.o /var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6/ipt_NETFLOW.c:1946:13: error: static declaration of ‘sk_error_report’ follows non-static declaration 1946 | static void sk_error_report(struct sock *sk) | ^~~~~~~~~~~~~~~ In file included from ./include/net/inet_sock.h:22, from ./include/linux/udp.h:16, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j4-20210917-172407 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * /usr/lib/llvm/12 12.0.1 Python 3.9.7 Available Ruby profiles: (none found) Available Rust versions: [1] rust-1.55.0 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 (none found) HEAD of ::gentoo commit e5195c6a5269346b13da7b32c5eb34603e25677d Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Sep 19 22:06:27 2021 +0000 2021-09-19 22:06:26 UTC emerge -qpvO net-firewall/ipt_netflow [ebuild N ] net-firewall/ipt_netflow-2.6 USE="-debug -dist-kernel -natevents -snmp"
Created attachment 740211 [details] emerge-info.txt
Created attachment 740214 [details] emerge-history.txt
Created attachment 740217 [details] environment
Created attachment 740220 [details] etc.portage.tar.bz2
Created attachment 740223 [details] net-firewall:ipt_netflow-2.6:20210919-225835.log
Created attachment 740226 [details] temp.tar.bz2
Created attachment 746232 [details, diff] patch per upstream commit 66e4304101010108892376866334ec9317b427d8 I recently saw that issue with sys-kernel/vanilla-sources-5.14.14 and managed to fix it with a custom patch (see attached) that was generated from the upstream repo by: git format-patch -1 66e4304101010108892376866334ec9317b427d8 Here is it on github: https://github.com/aabc/ipt-netflow/commit/66e4304101010108892376866334ec9317b427d8 (for non-devs, while this is in the working: put that patch in /etc/portage/patches/net-firewall/ipt_netflow-2.6/ and enable epatch_user per https://wiki.gentoo.org/wiki//etc/portage/patches )
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47dba6226b616c192fd3fb9d0f37ec2945498f60 commit 47dba6226b616c192fd3fb9d0f37ec2945498f60 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-16 22:36:56 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-16 22:37:00 +0000 net-firewall/ipt_netflow: fix build with linux-headers-5.14 Closes: https://bugs.gentoo.org/813993 Signed-off-by: Sam James <sam@gentoo.org> .../ipt_netflow-2.6-fix-linux-headers-5.14.patch | 29 ++++++++++++++++++++++ net-firewall/ipt_netflow/ipt_netflow-2.6.ebuild | 2 ++ 2 files changed, 31 insertions(+)