Debdiff to enable support for both 6.8 and 6.14 kernels. ** Description changed:
[ Impact ] DKMS make.log for ipt-netflow-2.6 for kernel 6.14.0-15-generic (x86_64) Fri May 16 21:22:25 UTC 2025 ./gen_compat_def > compat_def.h Test symbol xt_family linux/netfilter_ipv4/ip_tables.h declared Test struct timeval linux/ktime.h undeclared Test struct proc_ops linux/proc_fs.h declared Test symbol synchronize_sched linux/rcupdate.h undeclared Test symbol nf_bridge_info_get linux/netfilter_bridge.h declared Test struct vlan_dev_priv linux/if_vlan.h declared Test member nf_ct_event_notifier.ct_event net/netfilter/nf_conntrack_ecache.h declared Compiling 2.6 for kernel 6.14.0-15-generic make -C /lib/modules/6.14.0-15-generic/build M=/var/lib/dkms/ipt-netflow/2.6/build modules make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/usr/src/linux-headers-6.14.0-15-generic' make[2]: Entering directory '/var/lib/dkms/ipt-netflow/2.6/build' warning: the compiler differs from the one used to build the kernel - The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 - You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 - CC [M] ipt_NETFLOW.o + The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 + You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 + CC [M] ipt_NETFLOW.o ipt_NETFLOW.c:71:10: fatal error: asm/unaligned.h: No such file or directory - 71 | #include <asm/unaligned.h> - | ^~~~~~~~~~~~~~~~~ + 71 | #include <asm/unaligned.h> + | ^~~~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [/usr/src/linux-headers-6.14.0-15-generic/scripts/Makefile.build:207: ipt_NETFLOW.o] Error 1 make[3]: *** [/usr/src/linux-headers-6.14.0-15-generic/Makefile:1999: .] Error 2 make[2]: *** [/usr/src/linux-headers-6.14.0-15-generic/Makefile:251: __sub-make] Error 2 make[2]: Leaving directory '/var/lib/dkms/ipt-netflow/2.6/build' make[1]: *** [Makefile:251: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-6.14.0-15-generic' make: *** [Makefile:27: ipt_NETFLOW.ko] Error 2 [ Test case ] Install the latest linux-6.14 kernel on Noble: $ sudo add-apt-repository ppa:canonical-kernel-team/ppa $ sudo apt install linux-generic-hwe-24.04-wip Installiptables-netflow-dkms: $ sudo apt install iptables-netflow-dkms Load the module: - $ sudo modprobe + $ sudo modprobe ipt_NETFLOW The same procedure can be repeated on linux-6.8 to test for possible regressions. [ Fix ] Apply patches from iptables-netflow-dkms from Plucky release: - * debian/patches/ + * debian/patches/move-asm_unaligned-to-linux_unaligned-linux-6.12.patch + + Replace with pkg-config pkgconf [ Regression potential ] We may experience regressions in systems that are using the iptables- netflow drivers, especially with kernels >= 6.8 kernel. ** Patch added: "iptables-netflow-support-noble-6.14.debdiff" https://bugs.launchpad.net/ubuntu/+source/iptables-netflow/+bug/2111130/+attachment/5878053/+files/iptables-netflow-support-noble-6.14.debdiff ** Description changed: [ Impact ] DKMS make.log for ipt-netflow-2.6 for kernel 6.14.0-15-generic (x86_64) Fri May 16 21:22:25 UTC 2025 ./gen_compat_def > compat_def.h Test symbol xt_family linux/netfilter_ipv4/ip_tables.h declared Test struct timeval linux/ktime.h undeclared Test struct proc_ops linux/proc_fs.h declared Test symbol synchronize_sched linux/rcupdate.h undeclared Test symbol nf_bridge_info_get linux/netfilter_bridge.h declared Test struct vlan_dev_priv linux/if_vlan.h declared Test member nf_ct_event_notifier.ct_event net/netfilter/nf_conntrack_ecache.h declared Compiling 2.6 for kernel 6.14.0-15-generic make -C /lib/modules/6.14.0-15-generic/build M=/var/lib/dkms/ipt-netflow/2.6/build modules make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/usr/src/linux-headers-6.14.0-15-generic' make[2]: Entering directory '/var/lib/dkms/ipt-netflow/2.6/build' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 CC [M] ipt_NETFLOW.o ipt_NETFLOW.c:71:10: fatal error: asm/unaligned.h: No such file or directory 71 | #include <asm/unaligned.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [/usr/src/linux-headers-6.14.0-15-generic/scripts/Makefile.build:207: ipt_NETFLOW.o] Error 1 make[3]: *** [/usr/src/linux-headers-6.14.0-15-generic/Makefile:1999: .] Error 2 make[2]: *** [/usr/src/linux-headers-6.14.0-15-generic/Makefile:251: __sub-make] Error 2 make[2]: Leaving directory '/var/lib/dkms/ipt-netflow/2.6/build' make[1]: *** [Makefile:251: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-6.14.0-15-generic' make: *** [Makefile:27: ipt_NETFLOW.ko] Error 2 [ Test case ] Install the latest linux-6.14 kernel on Noble: $ sudo add-apt-repository ppa:canonical-kernel-team/ppa $ sudo apt install linux-generic-hwe-24.04-wip - Installiptables-netflow-dkms: + Install iptables-netflow-dkms: $ sudo apt install iptables-netflow-dkms Load the module: $ sudo modprobe ipt_NETFLOW The same procedure can be repeated on linux-6.8 to test for possible regressions. [ Fix ] Apply patches from iptables-netflow-dkms from Plucky release: * debian/patches/move-asm_unaligned-to-linux_unaligned-linux-6.12.patch Replace with pkg-config pkgconf [ Regression potential ] We may experience regressions in systems that are using the iptables- netflow drivers, especially with kernels >= 6.8 kernel. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2111130 Title: iptables-netflow-dkms FTBS in Noble with the linux-6.14-hwe kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/iptables-netflow/+bug/2111130/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs