Currently the tree has xtables-addons 3.24-r1. However this fails to build against the linux-6.12 kernel: /var/tmp/portage/net-firewall/xtables-addons-3.24-r1/work/xtables-addons-3.24/extensions/xt_ipp2p.c:6:10: fatal error: asm/unaligned.h: No such file or directory 6 | #include <asm/unaligned.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. A fix for this is upstream in 3.27 which was released a day or two ago: https://codeberg.org/jengelh/xtables-addons/releases/tag/v3.27 Please update the ebuild to 3.27 to pick up these fixes. I was able to rename the existing ebuild 3.24-r1 to 3.27 to pick up the new version with no other changes required. This allowed the package to then successfully build and iptables rules load.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2421fda43b2aa6fd7c4063a1831ab4ef0869d841 commit 2421fda43b2aa6fd7c4063a1831ab4ef0869d841 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-11-23 15:24:29 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-23 15:24:29 +0000 net-firewall/xtables-addons: add 3.27 Closes: https://bugs.gentoo.org/944211 Signed-off-by: Sam James <sam@gentoo.org> net-firewall/xtables-addons/Manifest | 1 + .../xtables-addons/xtables-addons-3.27.ebuild | 107 +++++++++++++++++++++ 2 files changed, 108 insertions(+)
Using the 3.27 build works for me with gentoo-sources-6.12.16. xtables-addons-3.27 needs stabilisation.