Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-mock.spec'], chrootPath='/var/lib/mock/dist-an23-build-257427-63730/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-mock.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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1682467200 Wrote: /builddir/build/SRPMS/python-mock-4.0.3-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target noarch --nodeps /builddir/build/SPECS/python-mock.spec'], chrootPath='/var/lib/mock/dist-an23-build-257427-63730/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target noarch --nodeps /builddir/build/SPECS/python-mock.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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1682467200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Kp4RKj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mock-4.0.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mock-4.0.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mock-4.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/f3e3d82aab.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.uT5Sua + umask 022 + cd /builddir/build/BUILD + cd mock-4.0.3 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-mock-4.0.3-1.an23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target noarch --nodeps /builddir/build/SPECS/python-mock.spec'], chrootPath='/var/lib/mock/dist-an23-build-257427-63730/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target noarch --nodeps /builddir/build/SPECS/python-mock.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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1682467200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.f7Pzhb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mock-4.0.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mock-4.0.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mock-4.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/f3e3d82aab.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.FsQI3D + umask 022 + cd /builddir/build/BUILD + cd mock-4.0.3 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.38.4) /usr/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( /usr/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( HOOK STDOUT: running egg_info HOOK STDOUT: creating mock.egg-info HOOK STDOUT: writing mock.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to mock.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to mock.egg-info/requires.txt HOOK STDOUT: writing top-level names to mock.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'mock.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'mock.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'mock.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) HOOK STDOUT: running dist_info HOOK STDOUT: writing mock.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to mock.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to mock.egg-info/requires.txt HOOK STDOUT: writing top-level names to mock.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'mock.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'mock.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/mock-4.0.3/mock-4.0.3.dist-info' Handling twine ; extra == 'build' from wheel metadata: Requires-Dist Ignoring alien requirement: twine ; extra == 'build' Handling wheel ; extra == 'build' from wheel metadata: Requires-Dist Ignoring alien requirement: wheel ; extra == 'build' Handling blurb ; extra == 'build' from wheel metadata: Requires-Dist Ignoring alien requirement: blurb ; extra == 'build' Handling sphinx ; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx ; extra == 'docs' Handling pytest (<5.4) ; extra == 'test' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest (<5.4) ; extra == 'test' Handling pytest-cov ; extra == 'test' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest-cov ; extra == 'test' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-mock-4.0.3-1.an23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target noarch --nodeps /builddir/build/SPECS/python-mock.spec'], chrootPath='/var/lib/mock/dist-an23-build-257427-63730/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target noarch --nodeps /builddir/build/SPECS/python-mock.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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1682467200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.AnC6vn + umask 022 + cd /builddir/build/BUILD + cd mock-4.0.3 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv mock-4.0.3.dist-info/ removed 'mock-4.0.3.dist-info/top_level.txt' removed 'mock-4.0.3.dist-info/METADATA' removed 'mock-4.0.3.dist-info/LICENSE.txt' removed directory 'mock-4.0.3.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.38.4) /usr/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( /usr/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( HOOK STDOUT: running egg_info HOOK STDOUT: writing mock.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to mock.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to mock.egg-info/requires.txt HOOK STDOUT: writing top-level names to mock.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'mock.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'mock.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) HOOK STDOUT: running dist_info HOOK STDOUT: writing mock.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to mock.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to mock.egg-info/requires.txt HOOK STDOUT: writing top-level names to mock.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'mock.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'mock.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/mock-4.0.3/mock-4.0.3.dist-info' Handling twine ; extra == 'build' from wheel metadata: Requires-Dist Ignoring alien requirement: twine ; extra == 'build' Handling wheel ; extra == 'build' from wheel metadata: Requires-Dist Ignoring alien requirement: wheel ; extra == 'build' Handling blurb ; extra == 'build' from wheel metadata: Requires-Dist Ignoring alien requirement: blurb ; extra == 'build' Handling sphinx ; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx ; extra == 'docs' Handling pytest (<5.4) ; extra == 'test' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest (<5.4) ; extra == 'test' Handling pytest-cov ; extra == 'test' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest-cov ; extra == 'test' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1l1Ujk + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mock-4.0.3 + mkdir -p /builddir/build/BUILD/mock-4.0.3/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/mock-4.0.3/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/mock-4.0.3/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Looking in indexes: https://mirrors.aliyun.com/pypi/simple/ Processing /builddir/build/BUILD/mock-4.0.3 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( /usr/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( running dist_info creating /builddir/build/BUILD/mock-4.0.3/.pyproject-builddir/pip-modern-metadata-_oc4b7pb/mock.egg-info writing /builddir/build/BUILD/mock-4.0.3/.pyproject-builddir/pip-modern-metadata-_oc4b7pb/mock.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/mock-4.0.3/.pyproject-builddir/pip-modern-metadata-_oc4b7pb/mock.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/mock-4.0.3/.pyproject-builddir/pip-modern-metadata-_oc4b7pb/mock.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/mock-4.0.3/.pyproject-builddir/pip-modern-metadata-_oc4b7pb/mock.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/mock-4.0.3/.pyproject-builddir/pip-modern-metadata-_oc4b7pb/mock.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/mock-4.0.3/.pyproject-builddir/pip-modern-metadata-_oc4b7pb/mock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file '/builddir/build/BUILD/mock-4.0.3/.pyproject-builddir/pip-modern-metadata-_oc4b7pb/mock.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/mock-4.0.3/.pyproject-builddir/pip-modern-metadata-_oc4b7pb/mock-4.0.3.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: mock Building wheel for mock (pyproject.toml): started Running command Building wheel for mock (pyproject.toml) /usr/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( /usr/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/mock copying mock/__init__.py -> build/lib/mock copying mock/backports.py -> build/lib/mock copying mock/mock.py -> build/lib/mock installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/mock copying build/lib/mock/__init__.py -> build/bdist.linux-x86_64/wheel/mock copying build/lib/mock/backports.py -> build/bdist.linux-x86_64/wheel/mock copying build/lib/mock/mock.py -> build/bdist.linux-x86_64/wheel/mock running install_egg_info running egg_info writing mock.egg-info/PKG-INFO writing dependency_links to mock.egg-info/dependency_links.txt writing requirements to mock.egg-info/requires.txt writing top-level names to mock.egg-info/top_level.txt reading manifest file 'mock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'mock.egg-info/SOURCES.txt' Copying mock.egg-info to build/bdist.linux-x86_64/wheel/mock-4.0.3-py3.10.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/mock-4.0.3.dist-info/WHEEL creating '/builddir/build/BUILD/mock-4.0.3/.pyproject-builddir/pip-wheel-jpxs6iie/tmpua5hs3o7/mock-4.0.3-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'mock/__init__.py' adding 'mock/backports.py' adding 'mock/mock.py' adding 'mock-4.0.3.dist-info/LICENSE.txt' adding 'mock-4.0.3.dist-info/METADATA' adding 'mock-4.0.3.dist-info/WHEEL' adding 'mock-4.0.3.dist-info/top_level.txt' adding 'mock-4.0.3.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for mock (pyproject.toml): finished with status 'done' Created wheel for mock: filename=mock-4.0.3-py3-none-any.whl size=28526 sha256=55e21a4b474ba57f0e32f7c4f95cb5d10c2a9608f38df9e478ac27538aa46e58 Stored in directory: /builddir/.cache/pip/wheels/b0/f9/b0/e6d092d4e9e8a0300daac57550a3a2be7ad049a6e5ffcc71c5 Successfully built mock + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bdASsi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch ++ dirname /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mock-4.0.3 ++ ls /builddir/build/BUILD/mock-4.0.3/pyproject-wheeldir/mock-4.0.3-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=mock==4.0.3 + TMPDIR=/builddir/build/BUILD/mock-4.0.3/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/mock-4.0.3/pyproject-wheeldir mock==4.0.3 Using pip 23.1 from /usr/lib/python3.10/site-packages/pip (python 3.10) Looking in links: /builddir/build/BUILD/mock-4.0.3/pyproject-wheeldir Processing ./pyproject-wheeldir/mock-4.0.3-py3-none-any.whl Installing collected packages: mock Successfully installed mock-4.0.3 + '[' -d /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/lib/python3.10/site-packages ']' + site_dirs+=("/usr/lib/python3.10/site-packages") + '[' /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/lib64/python3.10/site-packages '!=' /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/lib/python3.10/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/lib64/python3.10/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.10/site-packages/mock-4.0.3.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/lib/python3.10/site-packages/mock-4.0.3.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/anolis + /usr/bin/python3 -B /usr/lib/rpm/anolis/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch --record /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/lib/python3.10/site-packages/mock-4.0.3.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/lib/python3.10/site-packages/mock-4.0.3.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/lib/python3.10/site-packages/mock-4.0.3.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/lib/python3.10/site-packages/mock-4.0.3.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/lib/python3.10/site-packages/mock-4.0.3.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 4.0.3-1.an23 --unique-debug-suffix -4.0.3-1.an23.noarch --unique-debug-src-base python-mock-4.0.3-1.an23.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mock-4.0.3 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.3DVqlO + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mock-4.0.3 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/lib64/python3.10/site-packages:/builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/lib/python3.10/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/mock-4.0.3/.pyproject-builddir' + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.10.11, pytest-7.1.3, pluggy-1.0.0 rootdir: /builddir/build/BUILD/mock-4.0.3, configfile: setup.cfg collected 494 items mock/tests/testasync.py ................................................ [ 9%] ................................... [ 16%] mock/tests/testcallable.py ........... [ 19%] mock/tests/testhelpers.py .............................................. [ 28%] ............................ [ 34%] mock/tests/testmagicmethods.py .................................. [ 40%] mock/tests/testmock.py ................................................. [ 50%] ........................................................................ [ 65%] ............ [ 67%] mock/tests/testpatch.py ................................................ [ 77%] ............................................................ [ 89%] mock/tests/testsealable.py .................. [ 93%] mock/tests/testsentinel.py ...... [ 94%] mock/tests/testwith.py ........................... [100%] ============================= 494 passed in 1.56s ============================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-mock-4.0.3-1.an23.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7E6Tlc + umask 022 + cd /builddir/build/BUILD + cd mock-4.0.3 + LICENSEDIR=/builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/share/licenses/python3-mock + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/share/licenses/python3-mock + cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/share/licenses/python3-mock + RPM_EC=0 ++ jobs -p + exit 0 Provides: deprecated() python-mock = 4.0.3-1.an23 python3-mock = 4.0.3-1.an23 python3.10-mock = 4.0.3-1.an23 python3.10dist(mock) = 4.0.3 python3dist(mock) = 4.0.3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.10 Processing files: python3-mock-doc-4.0.3-1.an23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EzTI3n + umask 022 + cd /builddir/build/BUILD + cd mock-4.0.3 + DOCDIR=/builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/share/doc/python3-mock-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/share/doc/python3-mock-doc + cp -pr README.rst /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch/usr/share/doc/python3-mock-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: python3-mock-doc = 4.0.3-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch Wrote: /builddir/build/SRPMS/python-mock-4.0.3-1.an23.src.rpm Wrote: /builddir/build/RPMS/python3-mock-doc-4.0.3-1.an23.noarch.rpm Wrote: /builddir/build/RPMS/python3-mock-4.0.3-1.an23.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mVF5pm + umask 022 + cd /builddir/build/BUILD + cd mock-4.0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-mock-4.0.3-1.an23.noarch + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.XyQeM8 + umask 022 + cd /builddir/build/BUILD + rm -rf mock-4.0.3 mock-4.0.3.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0