** Description changed: [Impact] Focal linux 5.4.0-57.63 backported from v5.4.78 upstream stable release the following commit, which broke the build of xtables-addons dkms modules on Focal and Bionic for all 5.4 kernels based on this release: "netfilter: use actual socket sk rather than skb sk when routing harder" (Upstream commit 46d6c5ae953cc0be38efd0e469284df7c4328cf8). + + For Groovy, linux-5.8.y is not maintained upstream anymore. Our Groovy + kernel will receive upstream stabled patches from 5.4.y and 5.9.y, which + will get this commit applied likely for the next SRU cycle. [Test case] Install xtables-addons-dkms package. [Fix] The proposed fix is a backport of a fix applied to xtables-addons 3.9-1ubuntu1 on the development release (hirsute). This patch fixes the API change for the 5.10.0 kernel, the proposed fix extends the check for all 5.4.y kernels after 5.4.78. [Where problems could occur] If the backport was not done correctly, the dkms packages could fail building again. ----- Testing failed on: amd64: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/amd64/x/xtables-addons/20201130_225717_5a440@/log.gz arm64: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/arm64/x/xtables-addons/20201130_231636_db3fa@/log.gz armhf: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/armhf/x/xtables-addons/20201130_230156_f17a8@/log.gz ppc64el: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/ppc64el/x/xtables-addons/20201130_231718_e060b@/log.gz s390x: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/s390x/x/xtables-addons/20201130_225000_2fcfa@/log.gz Build of the dkms is failing with the following error: /var/lib/dkms/xtables-addons/3.8/build/extensions/xt_DELUDE.c: In function ‘delude_send_reset’: /var/lib/dkms/xtables-addons/3.8/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 ./include/linux/netfilter/x_tables.h:245, from /var/lib/dkms/xtables-addons/3.8/build/extensions/xt_DELUDE.c:20: ./include/linux/netfilter_ipv4.h:19:54: note: expected ‘struct sock *’ but argument is of type ‘struct sk_buff *’
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907109 Title: xtables-addons 3.0-0.1ubuntu4/3.8-2ubuntu0.1 fails to build with linux 5.4.0-57.63 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xtables-addons/+bug/1907109/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
