Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cygwin-bzip2.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1587626426.124928/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.odlkz7dy:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.odlkz7dy:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '49a27c0f32464149bd6aaceb52ca6f77', '-D', '/var/lib/mock/epel-7-x86_64-1587626426.124928/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.odlkz7dy:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cygwin-bzip2.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/cygwin-bzip2-1.0.6-4.el7.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/cygwin-bzip2.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1587626426.124928/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.odlkz7dy:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.odlkz7dy:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1e1cb18dc95346c1a85a7a52e454185f', '-D', '/var/lib/mock/epel-7-x86_64-1587626426.124928/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.odlkz7dy:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/cygwin-bzip2.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yt2WR5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bzip2-1.0.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/bzip2-1.0.6.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd bzip2-1.0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #11 (bzip2-1.0.6-cygwin-dll.patch):' Patch #11 (bzip2-1.0.6-cygwin-dll.patch): + /usr/bin/patch -p1 -b --suffix .dll --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/bzip2-1.0.6-cygwin-dll.patch patching file Makefile-libbz2_so + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KPRvMH + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.6 + mkdir -p build_32bit + pushd build_32bit ~/build/BUILD/bzip2-1.0.6/build_32bit ~/build/BUILD/bzip2-1.0.6 + ln -s ../blocksort.c ../bzip2.c ../bzip2recover.c ../bzlib.c ../compress.c ../crctable.c ../decompress.c ../dlltest.c ../huffman.c ../mk251.c ../randtable.c ../spewG.c ../unzcrash.c ../bzlib.h ../bzlib_private.h . + make -f ../Makefile-libbz2_so CC=i686-pc-cygwin-gcc AR=i686-pc-cygwin-ar RANLIB=i686-pc-cygwin-ranlib 'CFLAGS= -O2 -g -pipe -Wall' -j2 all i686-pc-cygwin-gcc -O2 -g -pipe -Wall -c blocksort.c i686-pc-cygwin-gcc -O2 -g -pipe -Wall -c huffman.c i686-pc-cygwin-gcc -O2 -g -pipe -Wall -c crctable.c i686-pc-cygwin-gcc -O2 -g -pipe -Wall -c randtable.c i686-pc-cygwin-gcc -O2 -g -pipe -Wall -c compress.c i686-pc-cygwin-gcc -O2 -g -pipe -Wall -c decompress.c i686-pc-cygwin-gcc -O2 -g -pipe -Wall -c bzlib.c i686-pc-cygwin-gcc -O2 -g -pipe -Wall -shared -Wl,--out-implib -Wl,libbz2.dll.a -o cygbz2-1.dll blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o i686-pc-cygwin-gcc -O2 -g -pipe -Wall -o bzip2-shared bzip2.c libbz2.dll.a bzip2.c: In function 'testStream': bzip2.c:557:37: warning: variable 'nread' set but not used [-Wunused-but-set-variable] 557 | Int32 bzerr, bzerr_dummy, ret, nread, streamNo, i; | ^~~~~ + popd + mkdir -p build_64bit ~/build/BUILD/bzip2-1.0.6 + pushd build_64bit ~/build/BUILD/bzip2-1.0.6/build_64bit ~/build/BUILD/bzip2-1.0.6 + ln -s ../blocksort.c ../bzip2.c ../bzip2recover.c ../bzlib.c ../compress.c ../crctable.c ../decompress.c ../dlltest.c ../huffman.c ../mk251.c ../randtable.c ../spewG.c ../unzcrash.c ../bzlib.h ../bzlib_private.h . + make -f ../Makefile-libbz2_so CC=x86_64-pc-cygwin-gcc AR=x86_64-pc-cygwin-ar RANLIB=x86_64-pc-cygwin-ranlib 'CFLAGS= -O2 -g -pipe -Wall' -j2 all x86_64-pc-cygwin-gcc -O2 -g -pipe -Wall -c blocksort.c x86_64-pc-cygwin-gcc -O2 -g -pipe -Wall -c huffman.c x86_64-pc-cygwin-gcc -O2 -g -pipe -Wall -c crctable.c x86_64-pc-cygwin-gcc -O2 -g -pipe -Wall -c randtable.c x86_64-pc-cygwin-gcc -O2 -g -pipe -Wall -c compress.c x86_64-pc-cygwin-gcc -O2 -g -pipe -Wall -c decompress.c x86_64-pc-cygwin-gcc -O2 -g -pipe -Wall -c bzlib.c x86_64-pc-cygwin-gcc -O2 -g -pipe -Wall -shared -Wl,--out-implib -Wl,libbz2.dll.a -o cygbz2-1.dll blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o x86_64-pc-cygwin-gcc -O2 -g -pipe -Wall -o bzip2-shared bzip2.c libbz2.dll.a bzip2.c: In function 'testStream': bzip2.c:557:37: warning: variable 'nread' set but not used [-Wunused-but-set-variable] 557 | Int32 bzerr, bzerr_dummy, ret, nread, streamNo, i; | ^~~~~ + popd + exit 0 ~/build/BUILD/bzip2-1.0.6 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YOlWFC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64 + cd bzip2-1.0.6 ~/build/BUILD/bzip2-1.0.6/build_32bit ~/build/BUILD/bzip2-1.0.6 + pushd build_32bit + install -D -m0755 cygbz2-1.dll /builddir/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/bin/cygbz2-1.dll + install -D -m0644 bzlib.h /builddir/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/include/bzlib.h + install -D -m0644 libbz2.dll.a /builddir/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/lib/libbz2.dll.a + popd ~/build/BUILD/bzip2-1.0.6 ~/build/BUILD/bzip2-1.0.6/build_64bit ~/build/BUILD/bzip2-1.0.6 + pushd build_64bit + install -D -m0755 cygbz2-1.dll /builddir/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/bin/cygbz2-1.dll + install -D -m0644 bzlib.h /builddir/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/include/bzlib.h + install -D -m0644 libbz2.dll.a /builddir/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/lib/libbz2.dll.a + popd ~/build/BUILD/bzip2-1.0.6 + /usr/lib/rpm/cygwin-find-debuginfo.sh /builddir/build/BUILD/bzip2-1.0.6 cygwin32 cygwin64 extracting debug info from /builddir/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/bin/cygbz2-1.dll ~/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64/usr/x86_64-pc-cygwin/sys-root/usr/bin ~/build/BUILD/bzip2-1.0.6 /usr/lib/rpm/cygwin-find-debuginfo.sh: line 29: cygwin-nm: command not found ~/build/BUILD/bzip2-1.0.6 extracting debug info from /builddir/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/bin/cygbz2-1.dll ~/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64/usr/i686-pc-cygwin/sys-root/usr/bin ~/build/BUILD/bzip2-1.0.6 /usr/lib/rpm/cygwin-find-debuginfo.sh: line 29: cygwin-nm: command not found ~/build/BUILD/bzip2-1.0.6 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive cygwin-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: cygwin32-bzip2-1.0.6-4.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RI9vZx + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.6 + DOCDIR=/builddir/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64/usr/share/doc/cygwin32-bzip2-1.0.6 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64/usr/share/doc/cygwin32-bzip2-1.0.6 + cp -pr LICENSE /builddir/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64/usr/share/doc/cygwin32-bzip2-1.0.6 + exit 0 Finding Provides: /usr/lib/rpm/cygwin-find-provides.sh cygwin32 cygwin64 Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /usr/lib/rpm/cygwin-find-requires.sh cygwin32 cygwin64 Provides: cygwin-bzip2 = 1.0.6-4.el7 cygwin32-bzip2 = 1.0.6-4.el7 cygwin32(cygbz2-1.dll) cygwin(cygbz2-1.dll) Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires: cygwin32(cygwin1.dll) cygwin32(kernel32.dll) cygwin32-filesystem >= 8 Obsoletes: cygwin-bzip2 < 1.0.6-4.el7 Processing files: cygwin64-bzip2-1.0.6-4.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yC6XFt + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.6 + DOCDIR=/builddir/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64/usr/share/doc/cygwin64-bzip2-1.0.6 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64/usr/share/doc/cygwin64-bzip2-1.0.6 + cp -pr LICENSE /builddir/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64/usr/share/doc/cygwin64-bzip2-1.0.6 + exit 0 Finding Provides: /usr/lib/rpm/cygwin-find-provides.sh cygwin32 cygwin64 Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /usr/lib/rpm/cygwin-find-requires.sh cygwin32 cygwin64 Provides: cygwin64-bzip2 = 1.0.6-4.el7 cygwin64(cygbz2-1.dll) Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires: cygwin64(cygwin1.dll) cygwin64(kernel32.dll) cygwin64-filesystem >= 8 Processing files: cygwin32-bzip2-debuginfo-1.0.6-4.el7.noarch Finding Provides: /usr/lib/rpm/cygwin-find-provides.sh cygwin32 cygwin64 Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /usr/lib/rpm/cygwin-find-requires.sh cygwin32 cygwin64 Provides: cygwin32-bzip2-debuginfo = 1.0.6-4.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Processing files: cygwin64-bzip2-debuginfo-1.0.6-4.el7.noarch Finding Provides: /usr/lib/rpm/cygwin-find-provides.sh cygwin32 cygwin64 Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /usr/lib/rpm/cygwin-find-requires.sh cygwin32 cygwin64 Provides: cygwin64-bzip2-debuginfo = 1.0.6-4.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/cygwin-bzip2-1.0.6-4.el7.x86_64 Wrote: /builddir/build/RPMS/cygwin32-bzip2-1.0.6-4.el7.noarch.rpm Wrote: /builddir/build/RPMS/cygwin64-bzip2-1.0.6-4.el7.noarch.rpm Wrote: /builddir/build/RPMS/cygwin32-bzip2-debuginfo-1.0.6-4.el7.noarch.rpm Wrote: /builddir/build/RPMS/cygwin64-bzip2-debuginfo-1.0.6-4.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oi51Hc + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cygwin-bzip2-1.0.6-4.el7.x86_64 + exit 0 Child return code was: 0