Mock Version: 1.4.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-pycxx.spec'], chrootPath='/var/lib/mock/915881-epel-7-x86_64-1558961607.949392/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2ny_a24v:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2ny_a24v:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '81621d47e8fe4800956a51eadba2bd08', '-D', '/var/lib/mock/915881-epel-7-x86_64-1558961607.949392/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2ny_a24v:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-pycxx.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': 'en_US.UTF-8'} and shell False BUILDSTDERR: sh: /usr/bin/python2: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-pycxx-7.1.2-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-pycxx.spec'], chrootPath='/var/lib/mock/915881-epel-7-x86_64-1558961607.949392/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2ny_a24v:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2ny_a24v:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '96c6dbcd792e4ea797bc7798c840caf8', '-D', '/var/lib/mock/915881-epel-7-x86_64-1558961607.949392/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2ny_a24v:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-pycxx.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.N2YvAg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pycxx-7.1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/pycxx-7.1.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd pycxx-7.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/python-pycxx-7.1.2-change-include-paths.patch + /usr/bin/patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3O33gL + umask 022 + cd /builddir/build/BUILD + cd pycxx-7.1.2 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.D3QvYf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64 + cd pycxx-7.1.2 + 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' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64 --prefix=/usr --install-headers=/usr/include/CXX --install-data=/usr/src running install running install_lib BUILDSTDERR: warning: install_lib: 'build/lib' does not exist -- no Python modules to install running install_headers creating /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr creating /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include creating /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX copying CXX/CxxDebug.hxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX copying CXX/Config.hxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX copying CXX/Version.hxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX copying CXX/Objects.hxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX copying CXX/IndirectPythonInterface.hxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX copying CXX/Extensions.hxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX copying CXX/Exception.hxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX copying CXX/WrapPython.h -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX creating /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX/Python2 copying CXX/Python2/ExtensionModule.hxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX/Python2 copying CXX/Python2/PythonType.hxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX/Python2 copying CXX/Python2/ExtensionOldType.hxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX/Python2 copying CXX/Python2/CxxDebug.hxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX/Python2 copying CXX/Python2/cxx_standard_exceptions.hxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX/Python2 copying CXX/Python2/Config.hxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX/Python2 copying CXX/Python2/Objects.hxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX/Python2 copying CXX/Python2/ExtensionType.hxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX/Python2 copying CXX/Python2/ExtensionTypeBase.hxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX/Python2 copying CXX/Python2/IndirectPythonInterface.hxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX/Python2 copying CXX/Python2/Extensions.hxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX/Python2 copying CXX/Python2/Exception.hxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/include/CXX/Python2 running install_data creating /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/src creating /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/src/CXX copying Src/cxxsupport.cxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/src/CXX copying Src/IndirectPythonInterface.cxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/src/CXX copying Src/cxx_extensions.cxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/src/CXX copying Src/cxx_exceptions.cxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/src/CXX copying Src/cxxextensions.c -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/src/CXX creating /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/src/CXX/Python2 copying Src/Python2/cxx_extensions.cxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/src/CXX/Python2 copying Src/Python2/cxx_exceptions.cxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/src/CXX/Python2 copying Src/Python2/cxxsupport.cxx -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/src/CXX/Python2 copying Src/Python2/cxxextensions.c -> /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/src/CXX/Python2 running install_egg_info Creating /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/lib/python2.7/site-packages/ Writing /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/lib/python2.7/site-packages/CXX-7.1.2-py2.7.egg-info + mkdir -p /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/share/pkgconfig + cat + /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/pycxx-7.1.2 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. BUILDSTDERR: find: 'debug': No such file or directory + /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-pycxx-7.1.2-1.el7.x86_64/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.zjClmL + umask 022 + cd /builddir/build/BUILD + cd pycxx-7.1.2 + export PKG_CONFIG_PATH=/builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/share/pkgconfig:/builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/lib64/pkgconfig + PKG_CONFIG_PATH=/builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/share/pkgconfig:/builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/lib64/pkgconfig BUILDSTDERR: ++ pkg-config --modversion PyCXX + test 7.1.2 = 7.1.2 + exit 0 Processing files: python2-pycxx-devel-7.1.2-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LVQfMg + umask 022 + cd /builddir/build/BUILD + cd pycxx-7.1.2 + DOCDIR=/builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/share/doc/python2-pycxx-devel-7.1.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/share/doc/python2-pycxx-devel-7.1.2 + cp -pr README.html /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/share/doc/python2-pycxx-devel-7.1.2 + cp -pr COPYRIGHT /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/share/doc/python2-pycxx-devel-7.1.2 + cp -pr Doc/Python2/ /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64/usr/share/doc/python2-pycxx-devel-7.1.2 + exit 0 Provides: pkgconfig(PyCXX) = 7.1.2 python-pycxx-devel = 7.1.2-1.el7 python2-pycxx-devel = 7.1.2-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config Obsoletes: python-pycxx-devel < 7.1.2-1.el7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64 Wrote: /builddir/build/RPMS/python2-pycxx-devel-7.1.2-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hWvbjk + umask 022 + cd /builddir/build/BUILD + cd pycxx-7.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-pycxx-7.1.2-1.el7.x86_64 + exit 0 Child return code was: 0