Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/olefy.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1601538060.823510/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.105hezx0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.105hezx0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '18cedcb62fb54fc5a1e44f6c67f6469d', '-D', '/var/lib/mock/epel-7-x86_64-1601538060.823510/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.105hezx0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/olefy.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/olefy-1.2.1-1.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/olefy.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1601538060.823510/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.105hezx0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.105hezx0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '0a44f249e345404db87524a06a8fda3f', '-D', '/var/lib/mock/epel-7-x86_64-1601538060.823510/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.105hezx0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/olefy.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.rF3mpo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf olefy-1.2.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/olefy-1.2.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd olefy-1.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + /usr/bin/gzip -dc /builddir/build/SOURCES/olefy.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd olefy-1.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0wVamL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64 + cd olefy-1.2.1 ++ mktemp -d + tdir=/tmp/tmp.KRyVKcM5MU + chmod 755 /tmp/tmp.KRyVKcM5MU + python3 -m venv --copies /tmp/tmp.KRyVKcM5MU + rm -f /tmp/tmp.KRyVKcM5MU/bin/activate /tmp/tmp.KRyVKcM5MU/bin/activate.csh /tmp/tmp.KRyVKcM5MU/bin/activate.fish + /tmp/tmp.KRyVKcM5MU/bin/pip install --no-deps /builddir/build/SOURCES/cffi-1.13.0.tar.gz /builddir/build/SOURCES/colorclass-2.2.0.tar.gz /builddir/build/SOURCES/cryptography-2.8.tar.gz /builddir/build/SOURCES/easygui-0.98.1.tar.gz /builddir/build/SOURCES/msoffcrypto-tool-4.10.1.tar.gz /builddir/build/SOURCES/olefile-0.46.zip /builddir/build/SOURCES/oletools-master.zip /builddir/build/SOURCES/pycparser-2.19.tar.gz /builddir/build/SOURCES/pyparsing-2.4.2.tar.gz /builddir/build/SOURCES/python-magic-0.4.15.tar.gz /builddir/build/SOURCES/six-1.12.0.tar.gz /builddir/build/SOURCES/pcodedmp-1.2.6.tar.gz Processing /builddir/build/SOURCES/cffi-1.13.0.tar.gz Processing /builddir/build/SOURCES/colorclass-2.2.0.tar.gz Processing /builddir/build/SOURCES/cryptography-2.8.tar.gz Processing /builddir/build/SOURCES/easygui-0.98.1.tar.gz Processing /builddir/build/SOURCES/msoffcrypto-tool-4.10.1.tar.gz Processing /builddir/build/SOURCES/olefile-0.46.zip Processing /builddir/build/SOURCES/oletools-master.zip Processing /builddir/build/SOURCES/pycparser-2.19.tar.gz Processing /builddir/build/SOURCES/pyparsing-2.4.2.tar.gz Processing /builddir/build/SOURCES/python-magic-0.4.15.tar.gz Processing /builddir/build/SOURCES/six-1.12.0.tar.gz Processing /builddir/build/SOURCES/pcodedmp-1.2.6.tar.gz Installing collected packages: cffi, colorclass, cryptography, easygui, msoffcrypto-tool, olefile, oletools, pycparser, pyparsing, python-magic, six, pcodedmp Running setup.py install for cffi: started Running setup.py install for cffi: finished with status 'done' Running setup.py install for colorclass: started Running setup.py install for colorclass: finished with status 'done' Running setup.py install for cryptography: started Running setup.py install for cryptography: finished with status 'done' Running setup.py install for easygui: started Running setup.py install for easygui: finished with status 'done' Running setup.py install for msoffcrypto-tool: started Running setup.py install for msoffcrypto-tool: finished with status 'done' Running setup.py install for olefile: started Running setup.py install for olefile: finished with status 'done' Running setup.py install for oletools: started Running setup.py install for oletools: finished with status 'done' Running setup.py install for pycparser: started Running setup.py install for pycparser: finished with status 'done' Running setup.py install for pyparsing: started Running setup.py install for pyparsing: finished with status 'done' Running setup.py install for python-magic: started Running setup.py install for python-magic: finished with status 'done' Running setup.py install for six: started Running setup.py install for six: finished with status 'done' Running setup.py install for pcodedmp: started Running setup.py install for pcodedmp: finished with status 'done' Successfully installed cffi-1.13.0 colorclass-2.2.0 cryptography-2.8 easygui-0.98.1 msoffcrypto-tool-4.10.1 olefile-0.46 oletools-0.56 pcodedmp-1.2.6 pycparser-2.19 pyparsing-2.4.2 python-magic-0.4.15 six-1.12.0 You are using pip version 9.0.3, however version 20.2.3 is available. You should consider upgrading via the 'pip install --upgrade pip' command. + /tmp/tmp.KRyVKcM5MU/bin/pip uninstall -y pip Uninstalling pip-9.0.3: Successfully uninstalled pip-9.0.3 + mkdir -p /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/opt + mv /tmp/tmp.KRyVKcM5MU /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/opt/olefy + install -D -m 0755 /builddir/build/BUILD/olefy-738079cbc1fda7db85917ee3764222d55f5b1b3c/olefy.py /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/opt/olefy/bin/olefy + install -D -m 0644 olefy.conf /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/etc/opt/olefy/olefy.conf + install -D -m 0644 olefy.service /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/lib/systemd/system/olefy.service + find /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/opt/olefy/bin -type f -executable -exec sed -i '1 s|^#!.*$|#!/opt/olefy/bin/python|' '{}' ';' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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: olefy-1.2.1-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7gwawj + umask 022 + cd /builddir/build/BUILD + cd olefy-1.2.1 + DOCDIR=/builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/share/doc/olefy-1.2.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/share/doc/olefy-1.2.1 + cp -pr README.rst /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/share/doc/olefy-1.2.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3CqZGR + umask 022 + cd /builddir/build/BUILD + cd olefy-1.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/share/licenses/olefy-1.2.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/share/licenses/olefy-1.2.1 + cp -pr LICENSE /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/share/licenses/olefy-1.2.1 + cp -pr LICENSE-cffi /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/share/licenses/olefy-1.2.1 + cp -pr LICENSE-cryptography /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/share/licenses/olefy-1.2.1 + cp -pr LICENSE-msoffcrypto-tool /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/share/licenses/olefy-1.2.1 + cp -pr LICENSE-olefile /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/share/licenses/olefy-1.2.1 + cp -pr LICENSE-oletools /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/share/licenses/olefy-1.2.1 + cp -pr LICENSE-oletools-3rdp-DridexUrlDecoder /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/share/licenses/olefy-1.2.1 + cp -pr LICENSE-oletools-3rdp-xglob /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/share/licenses/olefy-1.2.1 + cp -pr LICENSE-oletools-3rdp-xxxswf /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/share/licenses/olefy-1.2.1 + cp -pr LICENSE-pycparser /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/share/licenses/olefy-1.2.1 + cp -pr LICENSE-pyparsing /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/share/licenses/olefy-1.2.1 + cp -pr LICENSE-python-magic /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/share/licenses/olefy-1.2.1 + cp -pr LICENSE-six /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/share/licenses/olefy-1.2.1 + cp -pr LICENSE-pcodedmp /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64/usr/share/licenses/olefy-1.2.1 + exit 0 Provides: config(olefy) = 1.2.1-1.el7 olefy = 1.2.1-1.el7 olefy(x86-64) = 1.2.1-1.el7 Requires(interp): /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 Requires(preun): /bin/sh Requires(postun): /bin/sh systemd Requires: /opt/olefy/bin/python ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) libcrypto.so.10(OPENSSL_1.0.2)(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libdl.so.2()(64bit) libffi.so.6()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpython3.6m.so.1.0()(64bit) libssl.so.10()(64bit) libssl.so.10(libssl.so.10)(64bit) libutil.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64 Wrote: /builddir/build/RPMS/olefy-1.2.1-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jUP2rh + umask 022 + cd /builddir/build/BUILD + cd olefy-1.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/olefy-1.2.1-1.el7.x86_64 + exit 0 Child return code was: 0