Package: iptables-netflow-dkms Version: 2.6-5 Severity: important Tags: sid trixie User: debian...@lists.debian.org Usertags: piuparts
Running the pre_build script: Module version: 2.6 Kernel version: 6.1.20 (uname) Kernel sources: /lib/modules/6.4.0-0-amd64/build (dkms) ! Warning: uname kernel version (6.1.20) and dkms version of kernel source (6.4.0-0-amd64) doesn't match! ! You may try to specify only kernel source tree with --kdir=/lib/modules/6.4.0-0-amd64/build ! and configure will pick up version properly. ! Assuming you want to build for 6.4.0-0-amd64 Checking for presence of include/linux/netfilter.h... No Checking for presence of include/linux/llist.h... No Checking for presence of include/linux/grsecurity.h... No Iptables binary version: no iptables binary found Xtables version: 1.8.9 (detected from pkg-config) Check for working gcc: Yes (gcc-12) Checking for presence of xtables.h... Yes (using ipt-inc) Iptables include flags: -I/usr/include (user specified) Iptables module path: /usr/lib/x86_64-linux-gnu/xtables (user specified) Searching for net-snmp-config... No. Searching for net-snmp agent... No. Assuming you don't want net-snmp agent support. Otherwise do: apt-get install snmpd libsnmp-dev Checking for DKMS... Yes. Creating Makefile.. done. If you need some options enabled run ./configure --help Now run: make all install I think you can get rid of the mismatch warning by replacing '--from-dkms-conf=...' with '--kdir=...' in dkms.conf (PRE_BUILD directive). DKMS make.log for ipt-netflow-2.6 for kernel 6.4.0-0-amd64 (x86_64) Fri Jun 16 13:15:58 UTC 2023 ./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.4.0-0-amd64 make -C /lib/modules/6.4.0-0-amd64/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.4.0-0-amd64' CC [M] /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.o /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:96:4: warning: #warning "Requested physdev is not compiled." [-Wcpp] 96 | # warning "Requested physdev is not compiled." | ^~~~~~~ /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c: In function 'nf_seq_show': /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:762:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 's64' {aka 'long long int'} [-Wformat=] 762 | seq_printf(seq, " Flows selected %lu, discarded %lu.", | ~~^ | | | long unsigned int | %llu 763 | atomic64_read(&flows_selected), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | s64 {aka long long int} /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:762:75: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 's64' {aka 'long long int'} [-Wformat=] 762 | seq_printf(seq, " Flows selected %lu, discarded %lu.", | ~~^ | | | long unsigned int | %llu 763 | atomic64_read(&flows_selected), 764 | atomic64_read(&flows_observed) - atomic64_read(&flows_selected)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | s64 {aka long long int} /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:766:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 's64' {aka 'long long int'} [-Wformat=] 766 | seq_printf(seq, " Flows selected %lu.", atomic64_read(&flows_selected)); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | s64 {aka long long int} | long unsigned int | %llu /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c: In function 'ipt_netflow_init': /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:5688:33: error: implicit declaration of function 'register_sysctl_paths'; did you mean 'register_sysctl_table'? [-Werror=implicit-function-declaration] 5688 | netflow_sysctl_header = register_sysctl_paths(netflow_sysctl_path, netflow_sysctl_table); | ^~~~~~~~~~~~~~~~~~~~~ | register_sysctl_table /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.c:5688:31: warning: assignment to 'struct ctl_table_header *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 5688 | netflow_sysctl_header = register_sysctl_paths(netflow_sysctl_path, netflow_sysctl_table); | ^ cc1: some warnings being treated as errors make[2]: *** [/usr/src/linux-headers-6.4.0-0-common/scripts/Makefile.build:257: /var/lib/dkms/ipt-netflow/2.6/build/ipt_NETFLOW.o] Error 1 make[1]: *** [/usr/src/linux-headers-6.4.0-0-common/Makefile:2051: /var/lib/dkms/ipt-netflow/2.6/build] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-6.4.0-0-amd64' make: *** [Makefile:27: ipt_NETFLOW.ko] Error 2 Andreas