Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/ngrep.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.sdVpNJ:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '38bd32f408a641249070930816f30771', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.sdVpNJ:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/ngrep.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/ngrep-1.47-1.1.20180101git9b59468.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/ngrep.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.sdVpNJ:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8914eaeba27540b3b0f74f3eb5a50561', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.sdVpNJ:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/ngrep.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bqS5tm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ngrep-9b5946822a5c9c617d937245fdc9049c5740ae09 + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/ngrep-9b59468.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ngrep-9b5946822a5c9c617d937245fdc9049c5740ae09 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -r regex-0.12 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nETITQ + umask 022 + cd /builddir/build/BUILD + cd ngrep-9b5946822a5c9c617d937245fdc9049c5740ae09 + autoreconf -fiv BUILDSTDERR: autoreconf: Entering directory `.' BUILDSTDERR: autoreconf: configure.in: not using Gettext BUILDSTDERR: autoreconf: running: aclocal --force BUILDSTDERR: aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' BUILDSTDERR: autoreconf: configure.in: tracing BUILDSTDERR: autoreconf: configure.in: not using Libtool BUILDSTDERR: autoreconf: running: /usr/bin/autoconf --force BUILDSTDERR: autoreconf: running: /usr/bin/autoheader --force BUILDSTDERR: autoreconf: configure.in: not using Automake BUILDSTDERR: autoreconf: Leaving directory `.' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' i386 == ppc64le ']' BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + ./configure --build=i386-redhat-linux-gnu --host=i386-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-pcre --enable-ipv6 --with-pcap-includes=/usr/include/pcap --enable-tcpkill BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking Configuring System ... checking build system type... i386-redhat-linux-gnu checking host system type... i386-redhat-linux-gnu checking target system type... i386-redhat-linux-gnu checking for i386-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for libnet_init in -lnet... yes Configuring Network Grep ... checking for a complete set of pcap headers... found /usr/include/pcap checking for pcap_open_live in -lpcap... yes checking for BPF include path... pcap/bpf.h checking for DLT_LINUX_SLL in pcap/bpf.h... yes checking for DLT_LOOP in pcap/bpf.h... yes checking for DLT_IEEE802_11 in pcap/bpf.h... yes checking for DLT_IEEE802_11_RADIO in pcap/bpf.h... yes checking for DLT_RAW in pcap/bpf.h... yes checking for DLT_PFLOG in pcap/bpf.h... yes checking for DLT_IPNET in pcap/bpf.h... yes CONFIG: IPv6 support enabled CONFIG: privilege dropping enabled (using nobody) CONFIG: using PCRE regex library CONFIG: tcpkill feature enabled CONFIG: automatically including VLAN frames configure: creating ./config.status config.status: creating Makefile config.status: creating config.h BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 STRIPFLAG= gcc -DHAVE_CONFIG_H -DLINUX -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -D_BSD_SOURCE=1 -D__FAVOR_BSD=1 -I/usr/include/pcap -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -g -c ngrep.c gcc -DHAVE_CONFIG_H -DLINUX -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -D_BSD_SOURCE=1 -D__FAVOR_BSD=1 -I/usr/include/pcap -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -g -c tcpkill.c BUILDSTDERR: tcpkill.c: In function 'tcpkill_kill': BUILDSTDERR: tcpkill.c:51:8: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: ntohs(tcp->th_dport)); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/features.h:375:0, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from tcpkill.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'u_char *' BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^ BUILDSTDERR: ngrep.c: In function 'main': BUILDSTDERR: tcpkill.c:68:11: warning: implicit declaration of function 'warn' [-Wimplicit-function-declaration] BUILDSTDERR: warn("write"); BUILDSTDERR: ^ BUILDSTDERR: tcpkill.c:70:7: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint32_t' [-Wformat=] BUILDSTDERR: fprintf(stderr, "%s R %lu:%lu(0) win 0\n", ctext, seq, seq); BUILDSTDERR: ^ BUILDSTDERR: tcpkill.c:70:7: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint32_t' [-Wformat=] BUILDSTDERR: tcpkill.c:31:25: warning: variable 'len' set but not used [-Wunused-but-set-variable] BUILDSTDERR: uint32_t seq, win, i, len; BUILDSTDERR: ^ BUILDSTDERR: ngrep.c:365:9: warning: implicit declaration of function 'tcpkill_init' [-Wimplicit-function-declaration] BUILDSTDERR: tcpkill_init(); BUILDSTDERR: ^ BUILDSTDERR: tcpkill.c: In function 'tcpkill_init': BUILDSTDERR: tcpkill.c:81:7: warning: implicit declaration of function 'errx' [-Wimplicit-function-declaration] BUILDSTDERR: errx(1, "%s", ebuf); BUILDSTDERR: ^ BUILDSTDERR: ngrep.c: In function 'dump_packet': BUILDSTDERR: ngrep.c:988:9: warning: implicit declaration of function 'tcpkill_kill' [-Wimplicit-function-declaration] BUILDSTDERR: tcpkill_kill(h, p, link_offset, tcpkill_active); BUILDSTDERR: ^ BUILDSTDERR: ngrep.c: In function 'clean_exit': BUILDSTDERR: ngrep.c:1469:22: warning: unused variable 's' [-Wunused-variable] BUILDSTDERR: struct pcap_stat s; BUILDSTDERR: ^ gcc -o ngrep ngrep.o tcpkill.o -Wl,-z,relro -lpcap -lnet -lpcre -lnet + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9MX4lC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ngrep-1.47-1.1.20180101git9b59468.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ngrep-1.47-1.1.20180101git9b59468.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ngrep-1.47-1.1.20180101git9b59468.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ngrep-1.47-1.1.20180101git9b59468.el7.i386 + cd ngrep-9b5946822a5c9c617d937245fdc9049c5740ae09 + make install DESTDIR=/builddir/build/BUILDROOT/ngrep-1.47-1.1.20180101git9b59468.el7.i386 BINDIR_INSTALL=/usr/sbin ./install-sh -c -m 0755 ngrep /builddir/build/BUILDROOT/ngrep-1.47-1.1.20180101git9b59468.el7.i386//usr/sbin/ngrep ./install-sh -c -m 0644 ngrep.8 /builddir/build/BUILDROOT/ngrep-1.47-1.1.20180101git9b59468.el7.i386//usr/share/man/man8/ngrep.8 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/ngrep-9b5946822a5c9c617d937245fdc9049c5740ae09 extracting debug info from /builddir/build/BUILDROOT/ngrep-1.47-1.1.20180101git9b59468.el7.i386/usr/sbin/ngrep BUILDSTDERR: dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 96 blocks + /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/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: ngrep-1.47-1.1.20180101git9b59468.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5Cn3np + umask 022 + cd /builddir/build/BUILD + cd ngrep-9b5946822a5c9c617d937245fdc9049c5740ae09 + DOCDIR=/builddir/build/BUILDROOT/ngrep-1.47-1.1.20180101git9b59468.el7.i386/usr/share/doc/ngrep-1.47 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ngrep-1.47-1.1.20180101git9b59468.el7.i386/usr/share/doc/ngrep-1.47 + cp -pr CHANGES /builddir/build/BUILDROOT/ngrep-1.47-1.1.20180101git9b59468.el7.i386/usr/share/doc/ngrep-1.47 + cp -pr CREDITS /builddir/build/BUILDROOT/ngrep-1.47-1.1.20180101git9b59468.el7.i386/usr/share/doc/ngrep-1.47 + cp -pr EXAMPLES.md /builddir/build/BUILDROOT/ngrep-1.47-1.1.20180101git9b59468.el7.i386/usr/share/doc/ngrep-1.47 + cp -pr README.md /builddir/build/BUILDROOT/ngrep-1.47-1.1.20180101git9b59468.el7.i386/usr/share/doc/ngrep-1.47 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.uXsTtc + umask 022 + cd /builddir/build/BUILD + cd ngrep-9b5946822a5c9c617d937245fdc9049c5740ae09 + LICENSEDIR=/builddir/build/BUILDROOT/ngrep-1.47-1.1.20180101git9b59468.el7.i386/usr/share/licenses/ngrep-1.47 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ngrep-1.47-1.1.20180101git9b59468.el7.i386/usr/share/licenses/ngrep-1.47 + cp -pr LICENSE /builddir/build/BUILDROOT/ngrep-1.47-1.1.20180101git9b59468.el7.i386/usr/share/licenses/ngrep-1.47 + exit 0 Provides: ngrep = 1.47-1.1.20180101git9b59468.el7 ngrep(x86-32) = 1.47-1.1.20180101git9b59468.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libnet.so.1 libpcap.so.1 libpcre.so.1 rtld(GNU_HASH) Processing files: ngrep-debuginfo-1.47-1.1.20180101git9b59468.el7.i686 Provides: ngrep-debuginfo = 1.47-1.1.20180101git9b59468.el7 ngrep-debuginfo(x86-32) = 1.47-1.1.20180101git9b59468.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ngrep-1.47-1.1.20180101git9b59468.el7.i386 Wrote: /builddir/build/RPMS/ngrep-1.47-1.1.20180101git9b59468.el7.i686.rpm Wrote: /builddir/build/RPMS/ngrep-debuginfo-1.47-1.1.20180101git9b59468.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.efuX9A + umask 022 + cd /builddir/build/BUILD + cd ngrep-9b5946822a5c9c617d937245fdc9049c5740ae09 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ngrep-1.47-1.1.20180101git9b59468.el7.i386 + exit 0 Child return code was: 0