[pkg-netfilter-team] Bug#975881: Bug#975881: Build of xt_ACCOUNT.ko failed for: 5.9.0-3-amd64

Jeremy Sowden jeremy at azazel.net
Thu Nov 26 09:08:02 GMT 2020


On 2020-11-26, at 08:35:07 +0100, jean-christophe manciot wrote:
> Package: xtables-addons-dkms
> Version: 3.11-1
>
> distribution: bullseye
> linux-headers-5.9.0-3-amd64: 5.9.9-1
> linux-headers-5.9.0-3-common: 5.9.9-1
> linux-source-5.9: 5.9.9-1
> linux-image-5.9.0-3-amd64: 5.9.9-1
> linux-kbuild-5.9: 5.9.9-1
> linux-compiler-gcc-10-x86: 5.9.9-1
> linux-config-5.9: 5.9.9-1
>
> Installing aforementioned packages with:
> xtables-addons-dkms: 3.11-1
> xtables-addons-common: 3.11-1
> xtables-addons-source: 3.11-1
>
> leads to:
> [...]
> /var/lib/dkms/xtables-addons/3.11/build/extensions/xt_DELUDE.c: In function ‘delude_send_reset’:
> /var/lib/dkms/xtables-addons/3.11/build/extensions/xt_DELUDE.c:125:30: error: passing argument 2 of ‘ip_route_me_harder’ from incompatible pointer type [-Werror=incompatible-pointer-types]
>   125 |  if (ip_route_me_harder(net, nskb, addr_type))
>       |                              ^~~~
>       |                              |
>       |                              struct sk_buff *
> In file included from /usr/src/linux-headers-5.9.0-3-common/include/linux/netfilter/x_tables.h:245,
>                  from /var/lib/dkms/xtables-addons/3.11/build/extensions/xt_DELUDE.c:20:
> /usr/src/linux-headers-5.9.0-3-common/include/linux/netfilter_ipv4.h:19:54: note: expected ‘struct sock *’ but argument is of type ‘struct sk_buff *’
>    19 | int ip_route_me_harder(struct net *net, struct sock *sk, struct sk_buff *skb, unsigned addr_type);
>       |                                         ~~~~~~~~~~~~~^~
> /var/lib/dkms/xtables-addons/3.11/build/extensions/xt_DELUDE.c:125:36: warning: passing argument 3 of ‘ip_route_me_harder’ makes pointer from integer without a cast [-Wint-conversion]
>   125 |  if (ip_route_me_harder(net, nskb, addr_type))
>       |                                    ^~~~~~~~~
>       |                                    |
>       |                                    unsigned int
> In file included from /usr/src/linux-headers-5.9.0-3-common/include/linux/netfilter/x_tables.h:245,
>                  from /var/lib/dkms/xtables-addons/3.11/build/extensions/xt_DELUDE.c:20:
> /usr/src/linux-headers-5.9.0-3-common/include/linux/netfilter_ipv4.h:19:74: note: expected ‘struct sk_buff *’ but argument is of type ‘unsigned int’
>    19 | int ip_route_me_harder(struct net *net, struct sock *sk, struct sk_buff *skb, unsigned addr_type);
>       |                                                          ~~~~~~~~~~~~~~~~^~~
> /var/lib/dkms/xtables-addons/3.11/build/extensions/xt_DELUDE.c:125:6: error: too few arguments to function ‘ip_route_me_harder’
>   125 |  if (ip_route_me_harder(net, nskb, addr_type))
>       |      ^~~~~~~~~~~~~~~~~~
> In file included from /usr/src/linux-headers-5.9.0-3-common/include/linux/netfilter/x_tables.h:245,
>                  from /var/lib/dkms/xtables-addons/3.11/build/extensions/xt_DELUDE.c:20:
> /usr/src/linux-headers-5.9.0-3-common/include/linux/netfilter_ipv4.h:19:5: note: declared here
>    19 | int ip_route_me_harder(struct net *net, struct sock *sk, struct sk_buff *skb, unsigned addr_type);
>       |     ^~~~~~~~~~~~~~~~~~
> [...]

This has been fixed upstream and the new version should be available
shortly.

J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-netfilter-team/attachments/20201126/298c237f/attachment.sig>


More information about the pkg-netfilter-team mailing list