D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/ipt_NETFLOW-2.6-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Om67vF + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build + test -d /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HGg8RV + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build + rm -rf ipt-netflow-2.6 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ipt-netflow-2.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ipt-netflow-2.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ipt_NETFLOW-2.4-nosrc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nUeZB7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ipt-netflow-2.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX ++ rpm -q --requires kernel-desktop-devel-latest ++ grep kernel-desktop-devel + KPKG=kernel-desktop-devel-6.6.77-1.mga10 ++ rpm -ql kernel-desktop-devel-6.6.77-1.mga10 ++ grep '/usr/src/[^/]*$' + KDIR=/usr/src/kernel-6.6.77-desktop-1.mga10 + ./configure --kdir=/usr/src/kernel-6.6.77-desktop-1.mga10 Module version: 2.6 Kernel version: 6.6.77-desktop-1.mga10 (sources) Kernel sources: /usr/src/kernel-6.6.77-desktop-1.mga10 (requested) Checking for presence of include/linux/netfilter.h... Yes netfilter.h uses CONFIG_NF_NAT_NEEDED... No Checking for presence of include/linux/llist.h... Yes Checking for presence of include/linux/grsecurity.h... No which: no iptables in (/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin:/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/sbin) Iptables binary version: no iptables binary found Xtables version: 1.8.11 (detected from /usr/bin/pkg-config) Check for working gcc: Yes (gcc) Checking for presence of xtables.h... Yes Iptables include flags: (pkg-config) Iptables module path: /usr/lib64/iptables (pkg-config) Searching for net-snmp-config... No. Searching for net-snmp agent... No. Assuming you don't want net-snmp agent support. Otherwise do: yum install net-snmp net-snmp-devel Checking for DKMS... No. (It may be useful to install it.) ! ! DKMS is method of installing kernel modules, that will ! automatically recompile module after kernel upgrade. ! ! To install it under Centos enable EPEL or RPMforge repository, ! then run this: ! root# yum install dkms ! Creating Makefile.. done. If you need some options enabled run ./configure --help Now run: make all install + /usr/bin/make -O -j48 V=1 VERBOSE=1 libipt_NETFLOW.so LIBS=-lxtables gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -Wall -Wunused -DXTABLES -fPIC -o libipt_NETFLOW_sh.o -c libipt_NETFLOW.c gcc -shared -o libipt_NETFLOW.so libipt_NETFLOW_sh.o rm libipt_NETFLOW_sh.o + /usr/bin/make -O -j48 V=1 VERBOSE=1 compat_def.h ./gen_compat_def > compat_def.h Test symbol xt_family linux/netfilter_ipv4/ip_tables.h declared Test struct timeval linux/ktime.h undeclared egrep: warning: egrep is obsolescent; using grep -E Test struct proc_ops linux/proc_fs.h declared Test symbol synchronize_sched linux/rcupdate.h undeclared egrep: warning: egrep is obsolescent; using grep -E Test symbol nf_bridge_info_get linux/netfilter_bridge.h declared Test struct vlan_dev_priv linux/if_vlan.h declared + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cQ2sgR + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build + mkdir /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ipt-netflow-2.6 + '[' 1 -eq 1 ']' + make DESTDIR=/home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build/BUILDROOT linstall gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -Wall -Wunused -DXTABLES -fPIC -o libip6t_NETFLOW_sh.o -c libipt_NETFLOW.c gcc -shared -o libip6t_NETFLOW.so libip6t_NETFLOW_sh.o * install -D libipt_NETFLOW.so /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build/BUILDROOT/usr/lib64/iptables/libipt_NETFLOW.so install -D libip6t_NETFLOW.so /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build/BUILDROOT/usr/lib64/iptables/libip6t_NETFLOW.so rm libip6t_NETFLOW_sh.o + ./version.sh --define + mkdir -p /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build/BUILDROOT/usr/src/ + mkdir -p /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build/BUILDROOT/usr/src/ipt_NETFLOW-2.6-2.mga10 + cp -a ../ipt-netflow-2.6/ipt_NETFLOW.c ../ipt-netflow-2.6/libipt_NETFLOW.c ../ipt-netflow-2.6/snmp_NETFLOW.c ../ipt-netflow-2.6/compat.h ../ipt-netflow-2.6/compat_def.h ../ipt-netflow-2.6/ipt_NETFLOW.h ../ipt-netflow-2.6/murmur3.h ../ipt-netflow-2.6/version.h ../ipt-netflow-2.6/Makefile /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build/BUILDROOT/usr/src/ipt_NETFLOW-2.6-2.mga10 + cat + /usr/bin/find-debuginfo -j48 --strict-build-id -m -i --build-id-seed 2.6-2.mga10 --unique-debug-suffix -2.6-2.mga10.x86_64 --unique-debug-src-base ipt_NETFLOW-2.6-2.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build/ipt-netflow-2.6 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/ipt_NETFLOW-2.6-2.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j48 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build/SPECPARTS/rpm-debuginfo.specpart Processing files: dkms-ipt_NETFLOW-2.6-2.mga10.noarch Provides: dkms-ipt_NETFLOW = 2.6-2.mga10 kmod(ipt_NETFLOW.ko) = 2.6 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): dkms Requires(post): /bin/sh dkms Requires(preun): /bin/sh Processing files: iptables-NETFLOW-2.6-2.mga10.x86_64 error: File not found: /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build/BUILDROOT/lib64/iptables/libipt_NETFLOW.so error: File not found: /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build/BUILDROOT/lib64/iptables/libip6t_NETFLOW.so RPM build errors: File not found: /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build/BUILDROOT/lib64/iptables/libipt_NETFLOW.so File not found: /home/pterjan/rpmbuild/BUILD/ipt_NETFLOW-2.6-build/BUILDROOT/lib64/iptables/libip6t_NETFLOW.so I: [iurt_root_command] ERROR: chroot