Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/beanstalkd.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.hIW9OF:/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', 'c59f86bf88734ef3b611464068dd3d15', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.hIW9OF:/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/beanstalkd.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/beanstalkd-1.10-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/beanstalkd.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.hIW9OF:/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', '8c0f3e9878014ba2b2102f50804dccde', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.hIW9OF:/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/beanstalkd.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.9j8hyJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf beanstalkd-1.10 + /usr/bin/gzip -dc /builddir/build/SOURCES/v1.10.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd beanstalkd-1.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (beanstalkd-1.10-warnings.patch):' Patch #1 (beanstalkd-1.10-warnings.patch): + /usr/bin/cat /builddir/build/SOURCES/beanstalkd-1.10-warnings.patch + /usr/bin/patch -p1 --fuzz=0 patching file ct/ct.c Patch #2 (beanstalkd-1.10-mkdtemp.patch): + echo 'Patch #2 (beanstalkd-1.10-mkdtemp.patch):' + /usr/bin/cat /builddir/build/SOURCES/beanstalkd-1.10-mkdtemp.patch + /usr/bin/patch -p1 --fuzz=0 patching file ct/ct.c Hunk #1 succeeded at 184 (offset 2 lines). Hunk #2 succeeded at 287 (offset 2 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3hJEuh + umask 022 + cd /builddir/build/BUILD + cd beanstalkd-1.10 + make 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' -j4 cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o linux.o linux.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o conn.o conn.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o file.o file.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o heap.o heap.c BUILDSTDERR: file.c: In function 'filewclose': BUILDSTDERR: file.c:536:9: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void)ftruncate(f->fd, f->w->filesize - f->free); BUILDSTDERR: ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o job.o job.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o ms.o ms.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o net.o net.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o primes.o primes.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o prot.o prot.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o sd-daemon.o sd-daemon.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o serv.o serv.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o time.o time.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o tube.o tube.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o util.o util.c ./verc.sh >vers.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o walg.o walg.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o vers.o vers.c cc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o beanstalkd linux.o conn.o file.o heap.o job.o ms.o net.o primes.o prot.o sd-daemon.o serv.o time.o tube.o util.o vers.o walg.o main.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.u9oUqS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386 + cd beanstalkd-1.10 + rm -rf /builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386 + make install PREFIX=/builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386/usr install -d /builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386/usr/bin install beanstalkd /builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386/usr/bin/beanstalkd + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/beanstalkd.service /builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386/usr/lib/systemd/system/beanstalkd.service + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/beanstalkd.sysconfig /builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386/etc/sysconfig/beanstalkd + /usr/bin/install -d -m 0755 /builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386/var/lib/beanstalkd + /usr/bin/install -d -m 0755 /builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386/var/lib/beanstalkd/binlog + /usr/bin/install -d -m 00755 /builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386/usr/share/man/man1 + /usr/bin/gzip doc/beanstalkd.1 + /usr/bin/install -p -m 0644 doc/beanstalkd.1.gz /builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386/usr/share/man/man1/ + /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/beanstalkd-1.10 extracting debug info from /builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386/usr/bin/beanstalkd BUILDSTDERR: dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 263 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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.yhDXVu + umask 022 + cd /builddir/build/BUILD + cd beanstalkd-1.10 + make check cc -Wall -Werror -Wformat=2 -g -c -o testheap.o testheap.c cc -Wall -Werror -Wformat=2 -g -c -o testjobs.o testjobs.c cc -Wall -Werror -Wformat=2 -g -c -o testserv.o testserv.c cc -Wall -Werror -Wformat=2 -g -c -o testutil.o testutil.c ct/gen testheap.o testjobs.o testserv.o testutil.o >ct/_ctcheck.c.part mv ct/_ctcheck.c.part ct/_ctcheck.c cc -Wall -Werror -Wformat=2 -g -c -o ct/_ctcheck.o ct/_ctcheck.c cc -Wall -Werror -Wformat=2 -g -c -o ct/ct.o ct/ct.c cc ct/_ctcheck.o ct/ct.o linux.o conn.o file.o heap.o job.o ms.o net.o primes.o prot.o sd-daemon.o serv.o time.o tube.o util.o vers.o walg.o testheap.o testjobs.o testserv.o testutil.o -o ct/_ctcheck ct/_ctcheck ........................................................ PASS + exit 0 Processing files: beanstalkd-1.10-2.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OLBkdF + umask 022 + cd /builddir/build/BUILD + cd beanstalkd-1.10 + DOCDIR=/builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386/usr/share/doc/beanstalkd-1.10 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386/usr/share/doc/beanstalkd-1.10 + cp -pr README /builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386/usr/share/doc/beanstalkd-1.10 + cp -pr LICENSE /builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386/usr/share/doc/beanstalkd-1.10 + cp -pr doc/protocol.txt /builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386/usr/share/doc/beanstalkd-1.10 + exit 0 Provides: beanstalkd = 1.10-2.el7 beanstalkd(x86-32) = 1.10-2.el7 config(beanstalkd) = 1.10-2.el7 Requires(interp): /bin/sh /bin/sh /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): /bin/sh shadow-utils Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3.2) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libc.so.6(GLIBC_2.8) rtld(GNU_HASH) Processing files: beanstalkd-debuginfo-1.10-2.el7.i686 Provides: beanstalkd-debuginfo = 1.10-2.el7 beanstalkd-debuginfo(x86-32) = 1.10-2.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/beanstalkd-1.10-2.el7.i386 Wrote: /builddir/build/RPMS/beanstalkd-1.10-2.el7.i686.rpm Wrote: /builddir/build/RPMS/beanstalkd-debuginfo-1.10-2.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9yQsjb + umask 022 + cd /builddir/build/BUILD + cd beanstalkd-1.10 + rm -rf /builddir/build/BUILDROOT/beanstalkd-1.10-2.el7.i386 + exit 0 Child return code was: 0