Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/batctl.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.kRhUc8:/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', 'fbf080bf77d1479a8e08354ac4a2320c', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.kRhUc8:/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/batctl.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/batctl-2018.1-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/batctl.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.kRhUc8:/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', 'ce9be887da914439bf6f6d2a8acb4994', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.kRhUc8:/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/batctl.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.YcIOFP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf batctl-2018.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/batctl-2018.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd batctl-2018.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.e2tIyn + umask 022 + cd /builddir/build/BUILD + cd batctl-2018.1 + make -j4 '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 -I/usr/include/libnl3' V=s cc -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/include/libnl3 -D_GNU_SOURCE -c -o bat-hosts.o bat-hosts.c cc -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/include/libnl3 -D_GNU_SOURCE -c -o debugfs.o debugfs.c cc -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/include/libnl3 -D_GNU_SOURCE -c -o debug.o debug.c cc -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/include/libnl3 -D_GNU_SOURCE -c -o functions.o functions.c cc -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/include/libnl3 -D_GNU_SOURCE -c -o genl.o genl.c cc -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/include/libnl3 -D_GNU_SOURCE -c -o hash.o hash.c cc -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/include/libnl3 -D_GNU_SOURCE -c -o icmp_helper.o icmp_helper.c cc -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/include/libnl3 -D_GNU_SOURCE -c -o interface.o interface.c cc -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/include/libnl3 -D_GNU_SOURCE -c -o ioctl.o ioctl.c cc -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/include/libnl3 -D_GNU_SOURCE -c -o main.o main.c cc -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/include/libnl3 -D_GNU_SOURCE -c -o netlink.o netlink.c cc -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/include/libnl3 -D_GNU_SOURCE -c -o ping.o ping.c cc -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/include/libnl3 -D_GNU_SOURCE -c -o sys.o sys.c cc -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/include/libnl3 -D_GNU_SOURCE -c -o tcpdump.o tcpdump.c cc -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/include/libnl3 -D_GNU_SOURCE -c -o tp_meter.o tp_meter.c BUILDSTDERR: tcpdump.c: In function 'dump_arp': BUILDSTDERR: tcpdump.c:409:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: printf("ARP, Request who-has %s", inet_ntoa(*(struct in_addr *)&arphdr->arp_tpa)); BUILDSTDERR: ^ BUILDSTDERR: tcpdump.c:410:60: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: printf(" tell %s (%s), length %zd\n", inet_ntoa(*(struct in_addr *)&arphdr->arp_spa), BUILDSTDERR: ^ BUILDSTDERR: tcpdump.c:418:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: printf("ARP, Reply %s is-at %s, length %zd\n", inet_ntoa(*(struct in_addr *)&arphdr->arp_spa), BUILDSTDERR: ^ cc -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/include/libnl3 -D_GNU_SOURCE -c -o traceroute.o traceroute.c cc -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/include/libnl3 -D_GNU_SOURCE -c -o translate.o translate.c cc -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/include/libnl3 bat-hosts.o debugfs.o debug.o functions.o genl.o hash.o icmp_helper.o interface.o ioctl.o main.o netlink.o ping.o sys.o tcpdump.o tp_meter.o traceroute.o translate.o -lm -lrt -lnl-3 -lnl-genl-3 -lnl-3 -o batctl + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.R3Uw6Y + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/batctl-2018.1-1.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/batctl-2018.1-1.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/batctl-2018.1-1.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/batctl-2018.1-1.el7.i386 + cd batctl-2018.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/batctl-2018.1-1.el7.i386 PREFIX=/usr install mkdir -p /builddir/build/BUILDROOT/batctl-2018.1-1.el7.i386/usr/sbin mkdir -p /builddir/build/BUILDROOT/batctl-2018.1-1.el7.i386/usr/share/man/man8 install -m 0755 batctl /builddir/build/BUILDROOT/batctl-2018.1-1.el7.i386/usr/sbin install -m 0644 man/batctl.8 /builddir/build/BUILDROOT/batctl-2018.1-1.el7.i386/usr/share/man/man8 make: Nothing to be done for `install'. + /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/batctl-2018.1 extracting debug info from /builddir/build/BUILDROOT/batctl-2018.1-1.el7.i386/usr/sbin/batctl BUILDSTDERR: dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 619 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: batctl-2018.1-1.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5T6Z8B + umask 022 + cd /builddir/build/BUILD + cd batctl-2018.1 + DOCDIR=/builddir/build/BUILDROOT/batctl-2018.1-1.el7.i386/usr/share/doc/batctl-2018.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/batctl-2018.1-1.el7.i386/usr/share/doc/batctl-2018.1 + cp -pr CHANGELOG.rst /builddir/build/BUILDROOT/batctl-2018.1-1.el7.i386/usr/share/doc/batctl-2018.1 + cp -pr README.rst /builddir/build/BUILDROOT/batctl-2018.1-1.el7.i386/usr/share/doc/batctl-2018.1 + cp -pr bat-hosts.sample /builddir/build/BUILDROOT/batctl-2018.1-1.el7.i386/usr/share/doc/batctl-2018.1 + exit 0 Provides: batctl = 2018.1-1.el7 batctl(x86-32) = 2018.1-1.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.15) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.8) libm.so.6 libm.so.6(GLIBC_2.0) libnl-3.so.200 libnl-3.so.200(libnl_3) libnl-genl-3.so.200 libnl-genl-3.so.200(libnl_3) librt.so.1 librt.so.1(GLIBC_2.2) rtld(GNU_HASH) Processing files: batctl-debuginfo-2018.1-1.el7.i686 Provides: batctl-debuginfo = 2018.1-1.el7 batctl-debuginfo(x86-32) = 2018.1-1.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/batctl-2018.1-1.el7.i386 Wrote: /builddir/build/RPMS/batctl-2018.1-1.el7.i686.rpm Wrote: /builddir/build/RPMS/batctl-debuginfo-2018.1-1.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.po5eRw + umask 022 + cd /builddir/build/BUILD + cd batctl-2018.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/batctl-2018.1-1.el7.i386 + exit 0 Child return code was: 0