Package Details: ipt-netflow-dkms-git v2.5.1.r12.3cdadee-9

Git Clone URL: https://aur.archlinux.org/ipt-netflow-dkms-git.git (read-only, click to copy)
Package Base: ipt-netflow-dkms-git
Description: High performance NetFlow v5, v9, IPFIX flow data export module for Linux kernel
Upstream URL: https://github.com/aabc/ipt-netflow
Licenses: GPL
Conflicts: ipt-netflow-dkms
Provides: ipt-netflow
Replaces: ipt-netflow
Submitter: None
Maintainer: None
Last Packager: None
Votes: 2
Popularity: 0.000000
First Submitted: 2017-07-17 03:24 (UTC)
Last Updated: 2021-03-12 09:43 (UTC)

Dependencies (2)

Required by (0)

Sources (4)

Latest Comments

<deleted-account> commented on 2021-03-12 10:01 (UTC)

Fixed.

jstenback commented on 2021-03-11 06:07 (UTC)

Locally fixing the Makefile.in.patch to apply doesn't solve the problem, just gets one a bit further to this:

==> Starting pkgver()... ==> Starting build()... -> Starting ./configure... Module version: 2.5.1-12-g3cdadee-dirty Kernel version: 5.10.21-1-lts (uname) ! Linux source not found. Don't panic. You may specify kernel source ! directory with --kdir=..., or try to install kernel-devel package, ! or just raw sources for linux-5.10.21-1-lts from kernel.org. ==> ERROR: A failure occurred in build(). Aborting...

leothrix commented on 2020-07-30 22:08 (UTC)

Looks like the current Makefile.in.patch doesn't apply cleanly - might need to be updated with recent changes from upstream.

leothrix commented on 2019-02-08 02:30 (UTC) (edited on 2019-02-08 02:31 (UTC) by leothrix)

So, it looks like with the latest version of iptables, modules are loaded from a different path which isn't where this package drops the compiled modules (taken from an strace of iptables -A INPUT -j NETFLOW):

` newfstatat(AT_FDCWD, "/usr/lib/xtables/libipt_NETFLOW.so", 0xffffca7c1408, 0) = -1 ENOENT (No such file or directory)

newfstatat(AT_FDCWD, "/usr/lib/xtables/libxt_NETFLOW.so", 0xffffca7c1408, 0) = -1 ENOENT (No such file or directory) `

I think the PKGBUILD may need to drop the modules into either both paths (for more backwards compatability) or just the latest (xtables) path.

jayray commented on 2018-12-28 23:33 (UTC)

Now that binutils is fixed can we get this package fixed to build? https://bbs.archlinux.org/viewtopic.php?id=242682

jayray commented on 2018-12-21 05:36 (UTC)

This does not build currently:

DKMS make.log for ipt-netflow-r339.940c61a for kernel 4.19.10-arch1-1-ARCH (x86_64)

Fri Dec 21 00:35:13 EST 2018

Compiling for kernel 4.19.10-arch1-1-ARCH

make -C /usr/lib/modules/4.19.10-arch1-1-ARCH/build M=/var/lib/dkms/ipt-netflow/r339.940c61a/build modules CONFIG_DEBUG_INFO=y

make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.

make[1]: Entering directory '/usr/lib/modules/4.19.10-arch1-1-ARCH/build'

CC [M] /var/lib/dkms/ipt-netflow/r339.940c61a/build/ipt_NETFLOW.o

objdump: /var/lib/dkms/ipt-netflow/r339.940c61a/build/.tmp_ipt_NETFLOW.o: unable to initialize decompress status for section .debug_info

objdump: /var/lib/dkms/ipt-netflow/r339.940c61a/build/.tmp_ipt_NETFLOW.o: unable to initialize decompress status for section .debug_info

objdump: /var/lib/dkms/ipt-netflow/r339.940c61a/build/.tmp_ipt_NETFLOW.o: file format not recognized

Building modules, stage 2.

MODPOST 1 modules

CC /var/lib/dkms/ipt-netflow/r339.940c61a/build/ipt_NETFLOW.mod.o

LD [M] /var/lib/dkms/ipt-netflow/r339.940c61a/build/ipt_NETFLOW.ko

ld: /var/lib/dkms/ipt-netflow/r339.940c61a/build/ipt_NETFLOW.o: unable to initialize decompress status for section .debug_info

ld: /var/lib/dkms/ipt-netflow/r339.940c61a/build/ipt_NETFLOW.o: unable to initialize decompress status for section .debug_info

ld: /var/lib/dkms/ipt-netflow/r339.940c61a/build/ipt_NETFLOW.o: unable to initialize decompress status for section .debug_info

ld: /var/lib/dkms/ipt-netflow/r339.940c61a/build/ipt_NETFLOW.o: unable to initialize decompress status for section .debug_info

/var/lib/dkms/ipt-netflow/r339.940c61a/build/ipt_NETFLOW.o: file not recognized: file format not recognized

make[2]: *** [scripts/Makefile.modpost:129: /var/lib/dkms/ipt-netflow/r339.940c61a/build/ipt_NETFLOW.ko] Error 1

make[1]: *** [Makefile:1521: modules] Error 2

make[1]: Leaving directory '/usr/lib/modules/4.19.10-arch1-1-ARCH/build'

make: *** [Makefile:25: ipt_NETFLOW.ko] Error 2

jstenback commented on 2018-12-15 16:04 (UTC)

With kernel version 4.14.88-1-lts and this package I get a set of errors from objdump and ld in dkms:

ipt_NETFLOW.o: unable to initialize decompress status for section .debug_info

Removing the CONFIG_DEBUG_INFO=y option in the Makefile works around that issue.

leothrix commented on 2018-05-27 01:47 (UTC)

This compiles and works great on aarch64, could it be added to the list of supported architectures?