Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921589 - net-firewall/ipt_netflow-2.6-r1 doesn't build with kernel >=6.4
Summary: net-firewall/ipt_netflow-2.6-r1 doesn't build with kernel >=6.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Popov
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2024-01-07 22:42 UTC by Aurelien Minet
Modified: 2024-01-19 12:26 UTC (History)
2 users (show)

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


Attachments
build log (build.log,12.17 KB, text/x-log)
2024-01-07 22:42 UTC, Aurelien Minet
Details
patch to fix the build (ipt_netflow-2.6-fix_build_with_kernel-6.4.patch,886 bytes, patch)
2024-01-07 22:55 UTC, Aurelien Minet
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aurelien Minet 2024-01-07 22:42:10 UTC
Created attachment 881658 [details]
build log

Hi,

As already reported upstream here: https://github.com/aabc/ipt-netflow/issues/220  ipt_NETFLOW doesn't build with kernel 6.4 or newer.
It's due to the removal of  register_sysctl_paths()  from the kernel ( https://github.com/torvalds/linux/commit/0199849acd07d07e2a8e42757653ca8b14a122f5 )
Comment 1 Aurelien Minet 2024-01-07 22:55:05 UTC
Created attachment 881659 [details, diff]
patch to fix the build

patch corresponding to this PR https://github.com/aabc/ipt-netflow/pull/221
(build works with it)
Comment 2 Larry the Git Cow gentoo-dev 2024-01-19 12:23:09 UTC
The bug has been closed via the following commit(s):

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

commit a5debd13910f26e1a5c3e1d025f3bb79b3d52613
Author:     Sergey Popov <pinkbyte@gentoo.org>
AuthorDate: 2024-01-19 12:20:57 +0000
Commit:     Sergey Popov <pinkbyte@gentoo.org>
CommitDate: 2024-01-19 12:22:29 +0000

    net-firewall/ipt_netflow: fix build with kernel 6.4
    
    Closes: https://bugs.gentoo.org/921589
    Reported-by: Aurelien Minet <amlabs@free.fr>
    Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>

 .../files/ipt_netflow-2.6-kernel-6.4.patch         | 66 ++++++++++++++++++++++
 net-firewall/ipt_netflow/ipt_netflow-2.6-r1.ebuild |  4 +-
 2 files changed, 68 insertions(+), 2 deletions(-)