Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-pysubnettree.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1590077758.916981/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.a8rnkwow:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a8rnkwow:/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', 'a1c9ea2815884d1e9aeb0bae810e9720', '-D', '/var/lib/mock/epel-7-x86_64-1590077758.916981/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a8rnkwow:/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/python-pysubnettree.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/python-pysubnettree-0.33-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/python-pysubnettree.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1590077758.916981/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.a8rnkwow:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a8rnkwow:/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', '0d8cb42023d24d6cb4a71de250903f31', '-D', '/var/lib/mock/epel-7-x86_64-1590077758.916981/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a8rnkwow:/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/python-pysubnettree.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.H96vSX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pysubnettree-0.33 + /usr/bin/gzip -dc /builddir/build/SOURCES/pysubnettree-0.33.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd pysubnettree-0.33 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uYAxtL + umask 022 + cd /builddir/build/BUILD + cd pysubnettree-0.33 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + LDFLAGS='-Wl,-z,relro ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib.linux-x86_64-3.6 copying SubnetTree.py -> build/lib.linux-x86_64-3.6 running build_ext building '_SubnetTree' extension creating build/temp.linux-x86_64-3.6 gcc -pthread -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -Iinclude/ -I/usr/include/python3.6m -c SubnetTree.cc -o build/temp.linux-x86_64-3.6/SubnetTree.o gcc -pthread -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -Iinclude/ -I/usr/include/python3.6m -c patricia.c -o build/temp.linux-x86_64-3.6/patricia.o patricia.c:50:13: warning: 'copyright' defined but not used [-Wunused-variable] static char copyright[] = ^ gcc -pthread -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing -fPIC -Iinclude/ -I/usr/include/python3.6m -c SubnetTree_wrap.cc -o build/temp.linux-x86_64-3.6/SubnetTree_wrap.o g++ -pthread -shared -Wl,-z,relro -g -Wl,-z,relro -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fno-strict-aliasing build/temp.linux-x86_64-3.6/SubnetTree.o build/temp.linux-x86_64-3.6/patricia.o build/temp.linux-x86_64-3.6/SubnetTree_wrap.o -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/_SubnetTree.cpython-36m-x86_64-linux-gnu.so + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3sIp6E + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64 + cd pysubnettree-0.33 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + LDFLAGS='-Wl,-z,relro ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64/usr creating /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64/usr/lib64/python3.6 creating /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64/usr/lib64/python3.6/site-packages copying build/lib.linux-x86_64-3.6/_SubnetTree.cpython-36m-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64/usr/lib64/python3.6/site-packages copying build/lib.linux-x86_64-3.6/SubnetTree.py -> /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64/usr/lib64/python3.6/site-packages byte-compiling /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64/usr/lib64/python3.6/site-packages/SubnetTree.py to SubnetTree.cpython-36.pyc writing byte-compilation script '/tmp/tmpbkfxhbvx.py' /usr/bin/python3 /tmp/tmpbkfxhbvx.py removing /tmp/tmpbkfxhbvx.py running install_egg_info running egg_info writing pysubnettree.egg-info/PKG-INFO writing dependency_links to pysubnettree.egg-info/dependency_links.txt writing top-level names to pysubnettree.egg-info/top_level.txt reading manifest file 'pysubnettree.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pysubnettree.egg-info/SOURCES.txt' Copying pysubnettree.egg-info to /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64/usr/lib64/python3.6/site-packages/pysubnettree-0.33-py3.6.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/pysubnettree-0.33 extracting debug info from /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64/usr/lib64/python3.6/site-packages/_SubnetTree.cpython-36m-x86_64-linux-gnu.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 416 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 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64/usr/lib/debug/usr/lib64/python3.6 using /usr/bin/python3.6 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64/usr/lib64/python3.6 using /usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.4BRKoA + umask 022 + cd /builddir/build/BUILD + cd pysubnettree-0.33 + /usr/bin/python3 setup.py test running test running egg_info writing pysubnettree.egg-info/PKG-INFO writing dependency_links to pysubnettree.egg-info/dependency_links.txt writing top-level names to pysubnettree.egg-info/top_level.txt reading manifest file 'pysubnettree.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pysubnettree.egg-info/SOURCES.txt' running build_ext copying build/lib.linux-x86_64-3.6/_SubnetTree.cpython-36m-x86_64-linux-gnu.so -> ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + exit 0 Processing files: python3-pysubnettree-0.33-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UFS8mw + umask 022 + cd /builddir/build/BUILD + cd pysubnettree-0.33 + DOCDIR=/builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64/usr/share/doc/python3-pysubnettree-0.33 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64/usr/share/doc/python3-pysubnettree-0.33 + cp -pr CHANGES /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64/usr/share/doc/python3-pysubnettree-0.33 + cp -pr README /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64/usr/share/doc/python3-pysubnettree-0.33 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.YZEAms + umask 022 + cd /builddir/build/BUILD + cd pysubnettree-0.33 + LICENSEDIR=/builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64/usr/share/licenses/python3-pysubnettree-0.33 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64/usr/share/licenses/python3-pysubnettree-0.33 + cp -pr COPYING /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64/usr/share/licenses/python3-pysubnettree-0.33 + exit 0 Provides: python3-pysubnettree = 0.33-1.el7 python3-pysubnettree(x86-64) = 0.33-1.el7 python3.6dist(pysubnettree) = 0.33 python36-pysubnettree = 0.33-1.el7 python36-pysubnettree(x86-64) = 0.33-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()(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.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpython3.6m.so.1.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) python(abi) = 3.6 rtld(GNU_HASH) Obsoletes: python36-pysubnettree < 0.33-1.el7 Processing files: python-pysubnettree-debuginfo-0.33-1.el7.x86_64 Provides: python-pysubnettree-debuginfo = 0.33-1.el7 python-pysubnettree-debuginfo(x86-64) = 0.33-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/python-pysubnettree-0.33-1.el7.x86_64 Wrote: /builddir/build/RPMS/python3-pysubnettree-0.33-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/python-pysubnettree-debuginfo-0.33-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.w4d7wi + umask 022 + cd /builddir/build/BUILD + cd pysubnettree-0.33 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-pysubnettree-0.33-1.el7.x86_64 + exit 0 Child return code was: 0