Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/preeny.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.rV2pbC:/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', '537c08ab674f485dbe98f7615921b0a0', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.rV2pbC:/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/preeny.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/preeny-0.1-3.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/preeny.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.rV2pbC:/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', '1d41baca6d434aa7861ca126e99feb33', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.rV2pbC:/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/preeny.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.6aeHeu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf preeny-0.1 + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/preeny-0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd preeny-0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.O14vDW + umask 022 + cd /builddir/build/BUILD + cd preeny-0.1 + export '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' + 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 'LDFLAGS=-Wl,-z,relro ' + LDFLAGS='-Wl,-z,relro ' + make -j4 make -C src clean make -C tests make[1]: Entering directory `/builddir/build/BUILD/preeny-0.1/tests' BUILDSTDERR: make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. 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 -Wl,-z,relro sock.c -o sock make[1]: Entering directory `/builddir/build/BUILD/preeny-0.1/src' BUILDSTDERR: make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. rm -f *.o rm -f *.so make[1]: Leaving directory `/builddir/build/BUILD/preeny-0.1/src' make -C src dist make[1]: Entering directory `/builddir/build/BUILD/preeny-0.1/src' BUILDSTDERR: make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. cc dealarm.c logging.c -o dealarm.so -shared -fPIC -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 -DLINUX -ldl BUILDSTDERR: sock.c: In function 'main': BUILDSTDERR: sock.c:15:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } 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 -Wl,-z,relro hello.c -o hello BUILDSTDERR: hello.c: In function 'main': BUILDSTDERR: hello.c:6:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } 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 -Wl,-z,relro rand.c -o rand cc desock.c logging.c -o desock.so -shared -fPIC -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 -DLINUX -ldl -lpthread BUILDSTDERR: rand.c: In function 'main': BUILDSTDERR: rand.c:17:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ make[1]: Leaving directory `/builddir/build/BUILD/preeny-0.1/tests' BUILDSTDERR: desock.c: In function 'preeny_socket_sync_loop': BUILDSTDERR: desock.c:116:7: warning: unused variable 'error_buf' [-Wunused-variable] BUILDSTDERR: char error_buf[1024]; BUILDSTDERR: ^ BUILDSTDERR: desock.c: In function 'preeny_socket_sync': BUILDSTDERR: desock.c:40:13: warning: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: strerror_r(errno, error_buf, 1024); BUILDSTDERR: ^ BUILDSTDERR: desock.c:53:13: warning: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: strerror_r(errno, error_buf, 1024); BUILDSTDERR: ^ BUILDSTDERR: desock.c:70:14: warning: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: strerror_r(errno, error_buf, 1024); BUILDSTDERR: ^ BUILDSTDERR: /usr/include/sys/socket.h: In function 'accept4': BUILDSTDERR: desock.c:237:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ cc writeout.c logging.c -o writeout.so -shared -fPIC -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 -DLINUX -ldl cc patch.c logging.c -o patch.so -shared -fPIC -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 -DLINUX -ldl -ldl -lini_config BUILDSTDERR: patch.c: In function 'preeny_patch_apply_patch': BUILDSTDERR: patch.c:110:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: patch.c: In function 'preeny_patch_apply_file': BUILDSTDERR: patch.c:152:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ cc desock_dup.c logging.c -o desock_dup.so -shared -fPIC -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 -DLINUX -ldl -ldl BUILDSTDERR: /usr/include/unistd.h: In function 'close': BUILDSTDERR: desock_dup.c:39:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: /usr/include/unistd.h: In function 'dup2': BUILDSTDERR: desock_dup.c:52:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ cc deptrace.c logging.c -o deptrace.so -shared -fPIC -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 -DLINUX -ldl -ldl cc logging.c -o logging.so -shared -fPIC -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 -DLINUX -ldl cc defork.c logging.c -o defork.so -shared -fPIC -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 -DLINUX -ldl cc startstop.c logging.c -o startstop.so -shared -fPIC -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 -DLINUX -ldl cc mallocwatch.c logging.c -o mallocwatch.so -shared -fPIC -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 -DLINUX -ldl -ldl cc ensock.c logging.c -o ensock.so -shared -fPIC -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 -DLINUX -ldl BUILDSTDERR: ensock.c: In function 'preeny_socketize': BUILDSTDERR: ensock.c:52:31: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] BUILDSTDERR: conn_fd = accept(fd, (struct sockaddr *)&client_addr, &client_len); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/netinet/in.h:24:0, BUILDSTDERR: from ensock.c:3: BUILDSTDERR: /usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' BUILDSTDERR: extern int accept (int __fd, __SOCKADDR_ARG __addr, BUILDSTDERR: ^ cc derand.c logging.c -o derand.so -shared -fPIC -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 -DLINUX -ldl cc desrand.c logging.c -o desrand.so -shared -fPIC -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 -DLINUX -ldl -ldl cc desigact.c logging.c -o desigact.so -shared -fPIC -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 -DLINUX -ldl cc desleep.c logging.c -o desleep.so -shared -fPIC -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 -DLINUX -ldl mkdir -p ../i686-redhat-linux cp *.so ../i686-redhat-linux make[1]: Leaving directory `/builddir/build/BUILD/preeny-0.1/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rA5qIw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386 + cd preeny-0.1 + cd src + mkdir -p /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/lib/preeny + install -pt /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/lib/preeny dealarm.so defork.so deptrace.so derand.so desigact.so desleep.so desock.so desock_dup.so desrand.so ensock.so logging.so mallocwatch.so patch.so startstop.so writeout.so + /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/preeny-0.1 extracting debug info from /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/lib/preeny/dealarm.so extracting debug info from /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/lib/preeny/defork.so extracting debug info from /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/lib/preeny/deptrace.so extracting debug info from /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/lib/preeny/derand.so extracting debug info from /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/lib/preeny/desigact.so extracting debug info from /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/lib/preeny/desleep.so extracting debug info from /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/lib/preeny/desock.so extracting debug info from /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/lib/preeny/desock_dup.so extracting debug info from /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/lib/preeny/desrand.so extracting debug info from /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/lib/preeny/ensock.so extracting debug info from /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/lib/preeny/logging.so extracting debug info from /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/lib/preeny/mallocwatch.so extracting debug info from /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/lib/preeny/patch.so extracting debug info from /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/lib/preeny/startstop.so extracting debug info from /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/lib/preeny/writeout.so /usr/lib/rpm/sepdebugcrcfix: Updated 15 CRC32s, 0 CRC32s did match. BUILDSTDERR: 38 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: preeny-0.1-3.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8Z7fon + umask 022 + cd /builddir/build/BUILD + cd preeny-0.1 + DOCDIR=/builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/share/doc/preeny-0.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/share/doc/preeny-0.1 + cp -pr README.md /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/share/doc/preeny-0.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Crj05d + umask 022 + cd /builddir/build/BUILD + cd preeny-0.1 + LICENSEDIR=/builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/share/licenses/preeny-0.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/share/licenses/preeny-0.1 + cp -pr LICENSE /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386/usr/share/licenses/preeny-0.1 + exit 0 Provides: preeny = 0.1-3.el7 preeny(x86-32) = 0.1-3.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.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libdl.so.2 libdl.so.2(GLIBC_2.0) libini_config.so.3 libini_config.so.3(INI_CONFIG_1.1.0) libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) rtld(GNU_HASH) Processing files: preeny-debuginfo-0.1-3.el7.i686 Provides: preeny-debuginfo = 0.1-3.el7 preeny-debuginfo(x86-32) = 0.1-3.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/preeny-0.1-3.el7.i386 Wrote: /builddir/build/RPMS/preeny-0.1-3.el7.i686.rpm Wrote: /builddir/build/RPMS/preeny-debuginfo-0.1-3.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xMxsDO + umask 022 + cd /builddir/build/BUILD + cd preeny-0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/preeny-0.1-3.el7.i386 + exit 0 Child return code was: 0