Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 755926 - net-firewall/xtables-addons-3.9 tarpit module fails to compile against latest kernels
Summary: net-firewall/xtables-addons-3.9 tarpit module fails to compile against latest...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-21 10:29 UTC by Peter Fox
Modified: 2020-12-07 17:27 UTC (History)
1 user (show)

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


Attachments
Ebuild for 3.13 from https://inai.de/projects/xtables-addons/ (xtables-addons-3.13.ebuild,5.36 KB, text/plain)
2020-11-21 10:31 UTC, Peter Fox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Fox 2020-11-21 10:29:40 UTC
/var/tmp/portage/net-firewall/xtables-addons-3.9/work/xtables-addons-3.9/extensions/xt_TARPIT.c:402:6: error: too few arguments to function ‘ip6_route_me_harder’
  402 |  if (ip6_route_me_harder(net, nskb))
      |      ^~~~~~~~~~~~~~~~~~~
Incompatible arguments to ip6_route_me_harder:

In file included from /var/tmp/portage/net-firewall/xtables-addons-3.9/work/xtables-addons-3.9/extensions/xt_TARPIT.c:45:
./include/linux/netfilter_ipv6.h:146:5: note: declared here
  146 | int ip6_route_me_harder(struct net *net, struct sock *sk, struct sk_buff *skb);
      |     ^~~~~~~~~~~~~~~~~~~


Reproducible: Always

Steps to Reproduce:
1. Emerge any version of xtables-addons up to 3.9. against kernel 5.4.78
2.
3.
Actual Results:  
Fails to build as above.

Expected Results:  
Successful build

The xtables-addons source appears to have moved to https://inai.de/projects/xtables-addons/, where there is a version 3.13, which builds fine.
Comment 1 Peter Fox 2020-11-21 10:31:18 UTC
Created attachment 674095 [details]
Ebuild for 3.13 from https://inai.de/projects/xtables-addons/

This builds fine.
Comment 2 gen2dev 2020-11-28 16:54:07 UTC
Also fails with stable versions. xtables-addons-3.7 works with gentoo-sources-5.4.72 but fails with gentoo-sources-5.4.80-r1 which just went stable a few days ago.
Comment 3 Larry the Git Cow gentoo-dev 2020-12-07 17:27:14 UTC
The bug has been closed via the following commit(s):

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

commit d191b647e5d20ecfd6d4b6829d0c94e204b5e77c
Author:     Jonathan Davies <jpds@protonmail.com>
AuthorDate: 2020-12-07 12:41:18 +0000
Commit:     Anthony G. Basile <blueness@gentoo.org>
CommitDate: 2020-12-07 17:25:52 +0000

    net-firewall/xtables-addons: Version updated to 3.13, thanks to Peter Fox.
    
    Closes: https://bugs.gentoo.org/755926
    
    Signed-off-by: Jonathan Davies <jpds@protonmail.com>
    Signed-off-by: Anthony G. Basile <blueness@gentoo.org>

 net-firewall/xtables-addons/Manifest               |   1 +
 .../xtables-addons/xtables-addons-3.13.ebuild      | 189 +++++++++++++++++++++
 2 files changed, 190 insertions(+)