Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ipt-netflow.spec'], chrootPath='/var/lib/mock/epel-6-x86_64-1587765316.950302/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ipt-netflow.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Could not canonicalize hostname: ip-172-30-2-84.ec2.internal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ipt-netflow-2.5-1.el6.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ipt-netflow.spec'], chrootPath='/var/lib/mock/epel-6-x86_64-1587765316.950302/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ipt-netflow.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gF3WSo + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf ipt-netflow-2.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/ipt-netflow-2.5.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ipt-netflow-2.5 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ipt-netflow-2.5-nokernel.patch):' Patch #0 (ipt-netflow-2.5-nokernel.patch): + /bin/cat /builddir/build/SOURCES/ipt-netflow-2.5-nokernel.patch + /usr/bin/patch -p1 -b --suffix .orig --fuzz=0 patching file configure + mv -v configure configure.nokernel `configure' -> `configure.nokernel' + mv -v configure.orig configure `configure.orig' -> `configure' + echo 'Patch #1 (ipt-netflow-2.5-noipt.patch):' Patch #1 (ipt-netflow-2.5-noipt.patch): + /bin/cat /builddir/build/SOURCES/ipt-netflow-2.5-noipt.patch + /usr/bin/patch -p1 --fuzz=0 patching file configure + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rS6zOu + umask 022 + cd /builddir/build/BUILD + cd ipt-netflow-2.5 + LANG=C + export LANG + unset DISPLAY + ./configure.nokernel Iptables binary version: 1.6.2 (detected from /sbin/iptables) pkg-config for version 1.6.2 exists: Yes Check for working gcc: Yes (gcc) Checking for presence of xtables.h... Yes (using pkg-config) Iptables include flags: (pkg-config) Iptables module path: /lib64/xtables (pkg-config) Searching for net-snmp-config... No. Searching for net-snmp agent... /var/lib/rpm/Name: unexpected file type or format error: cannot open Name index using db3 - Invalid argument (22) /var/lib/rpm/Name: unexpected file type or format 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 + make libipt_NETFLOW.so libip6t_NETFLOW.so gcc -O2 -Wall -Wunused -DXTABLES -fPIC -o libipt_NETFLOW_sh.o -c libipt_NETFLOW.c gcc -shared -o libipt_NETFLOW.so libipt_NETFLOW_sh.o gcc -O2 -Wall -Wunused -DXTABLES -fPIC -o libip6t_NETFLOW_sh.o -c libipt_NETFLOW.c gcc -shared -o libip6t_NETFLOW.so libip6t_NETFLOW_sh.o rm libipt_NETFLOW_sh.o libip6t_NETFLOW_sh.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TZtt9A + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64 + cd ipt-netflow-2.5 + LANG=C + export LANG + unset DISPLAY + make DESTDIR=/builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64 linstall * install -D libipt_NETFLOW.so /builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64/lib64/xtables/libipt_NETFLOW.so install -D libip6t_NETFLOW.so /builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64/lib64/xtables/libip6t_NETFLOW.so + mkdir -p /builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64/usr/src/ipt-netflow-2.5-1.el6 + cp -av Makefile.in configure version.sh compat.h murmur3.h ipt_NETFLOW.c ipt_NETFLOW.h gen_compat_def /builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64/usr/src/ipt-netflow-2.5-1.el6 `Makefile.in' -> `/builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64/usr/src/ipt-netflow-2.5-1.el6/Makefile.in' `configure' -> `/builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64/usr/src/ipt-netflow-2.5-1.el6/configure' `version.sh' -> `/builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64/usr/src/ipt-netflow-2.5-1.el6/version.sh' `compat.h' -> `/builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64/usr/src/ipt-netflow-2.5-1.el6/compat.h' `murmur3.h' -> `/builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64/usr/src/ipt-netflow-2.5-1.el6/murmur3.h' `ipt_NETFLOW.c' -> `/builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64/usr/src/ipt-netflow-2.5-1.el6/ipt_NETFLOW.c' `ipt_NETFLOW.h' -> `/builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64/usr/src/ipt-netflow-2.5-1.el6/ipt_NETFLOW.h' `gen_compat_def' -> `/builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64/usr/src/ipt-netflow-2.5-1.el6/gen_compat_def' + cat + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/ipt-netflow-2.5 extracting debug info from /builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64/lib64/xtables/libip6t_NETFLOW.so extracting debug info from /builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64/lib64/xtables/libipt_NETFLOW.so *** WARNING: identical binaries are copied, not linked: /lib64/xtables/libipt_NETFLOW.so and /lib64/xtables/libip6t_NETFLOW.so + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: ipt-netflow-2.5-1.el6.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qxkwQH + umask 022 + cd /builddir/build/BUILD + cd ipt-netflow-2.5 + DOCDIR=/builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64/usr/share/doc/ipt-netflow-2.5 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64/usr/share/doc/ipt-netflow-2.5 + /bin/mkdir -p /builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64/usr/share/doc/ipt-netflow-2.5 + cp -pr CREDITS NEWS README README.promisc /builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64/usr/share/doc/ipt-netflow-2.5 + exit 0 Provides: libip6t_NETFLOW.so()(64bit) libipt_NETFLOW.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Processing files: dkms-ipt-netflow-2.5-1.el6.noarch 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(post): /bin/sh Requires(preun): /bin/sh Requires: /bin/bash /bin/sh Processing files: ipt-netflow-debuginfo-2.5-1.el6.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64 warning: Could not canonicalize hostname: ip-172-30-2-84.ec2.internal Wrote: /builddir/build/RPMS/ipt-netflow-2.5-1.el6.x86_64.rpm Wrote: /builddir/build/RPMS/dkms-ipt-netflow-2.5-1.el6.noarch.rpm Wrote: /builddir/build/RPMS/ipt-netflow-debuginfo-2.5-1.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lAS6c9 + umask 022 + cd /builddir/build/BUILD + cd ipt-netflow-2.5 + /bin/rm -rf /builddir/build/BUILDROOT/ipt-netflow-2.5-1.el6.x86_64 + exit 0 Child return code was: 0