Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-testtools.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-188831-12842/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-testtools.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 Wrote: /builddir/build/SRPMS/python-testtools-2.6.0-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-testtools.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-188831-12842/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-testtools.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.D4VOtQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf testtools-2.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/testtools-2.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd testtools-2.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.aRAXyq + umask 022 + cd /builddir/build/BUILD + cd testtools-2.6.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Import error: No module named 'toml' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-testtools-2.6.0-1.ocs23.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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-testtools.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-188831-12842/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-testtools.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZyQUgG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf testtools-2.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/testtools-2.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd testtools-2.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.U84oj9 + umask 022 + cd /builddir/build/BUILD + cd testtools-2.6.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement not satisfied: setuptools >= 40.8 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-testtools-2.6.0-1.ocs23.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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-testtools.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-188831-12842/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-testtools.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5Stq5f + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf testtools-2.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/testtools-2.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd testtools-2.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.4e8wXP + umask 022 + cd /builddir/build/BUILD + cd testtools-2.6.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pbr from get_requires_for_build_wheel Requirement not satisfied: pbr Exiting dependency generation pass: get_requires_for_build_wheel + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-testtools-2.6.0-1.ocs23.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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-testtools.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-188831-12842/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-testtools.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RxXJq2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf testtools-2.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/testtools-2.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd testtools-2.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.qXaLZk + umask 022 + cd /builddir/build/BUILD + cd testtools-2.6.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pbr from get_requires_for_build_wheel Requirement satisfied: pbr (installed: pbr 5.11.1) /usr/lib/python3.11/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() Handling pbr >=0.11 from wheel metadata: Requires-Dist Requirement satisfied: pbr >=0.11 (installed: pbr 5.11.1) Handling fixtures >=2.0 from wheel metadata: Requires-Dist Requirement not satisfied: fixtures >=2.0 Handling testscenarios ; extra == 'test' from wheel metadata: Requires-Dist Ignoring alien requirement: testscenarios ; extra == 'test' Handling testresources ; extra == 'test' from wheel metadata: Requires-Dist Ignoring alien requirement: testresources ; extra == 'test' Handling Twisted ; extra == 'twisted' from wheel metadata: Requires-Dist Ignoring alien requirement: Twisted ; extra == 'twisted' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-testtools-2.6.0-1.ocs23.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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-testtools.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-188831-12842/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-testtools.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.k5g0lq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf testtools-2.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/testtools-2.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd testtools-2.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.3t5GlK + umask 022 + cd /builddir/build/BUILD + cd testtools-2.6.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pbr from get_requires_for_build_wheel Requirement satisfied: pbr (installed: pbr 5.11.1) /usr/lib/python3.11/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() Handling pbr >=0.11 from wheel metadata: Requires-Dist Requirement satisfied: pbr >=0.11 (installed: pbr 5.11.1) Handling fixtures >=2.0 from wheel metadata: Requires-Dist Requirement satisfied: fixtures >=2.0 (installed: fixtures 4.0.1) Handling testscenarios ; extra == 'test' from wheel metadata: Requires-Dist Ignoring alien requirement: testscenarios ; extra == 'test' Handling testresources ; extra == 'test' from wheel metadata: Requires-Dist Ignoring alien requirement: testresources ; extra == 'test' Handling Twisted ; extra == 'twisted' from wheel metadata: Requires-Dist Ignoring alien requirement: Twisted ; extra == 'twisted' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-testtools-2.6.0-1.ocs23.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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-testtools.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-188831-12842/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-testtools.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 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.1UCh3q + umask 022 + cd /builddir/build/BUILD + cd testtools-2.6.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv testtools-2.6.0.dist-info/ removed 'testtools-2.6.0.dist-info/pbr.json' removed 'testtools-2.6.0.dist-info/top_level.txt' removed 'testtools-2.6.0.dist-info/METADATA' removed 'testtools-2.6.0.dist-info/LICENSE' removed 'testtools-2.6.0.dist-info/AUTHORS' removed directory 'testtools-2.6.0.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling pbr from get_requires_for_build_wheel Requirement satisfied: pbr (installed: pbr 5.11.1) /usr/lib/python3.11/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() Handling pbr >=0.11 from wheel metadata: Requires-Dist Requirement satisfied: pbr >=0.11 (installed: pbr 5.11.1) Handling fixtures >=2.0 from wheel metadata: Requires-Dist Requirement satisfied: fixtures >=2.0 (installed: fixtures 4.0.1) Handling testscenarios ; extra == 'test' from wheel metadata: Requires-Dist Ignoring alien requirement: testscenarios ; extra == 'test' Handling testresources ; extra == 'test' from wheel metadata: Requires-Dist Ignoring alien requirement: testresources ; extra == 'test' Handling Twisted ; extra == 'twisted' from wheel metadata: Requires-Dist Ignoring alien requirement: Twisted ; extra == 'twisted' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eFzZTk + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 testtools-2.6.0 + mkdir -p /builddir/build/BUILD/testtools-2.6.0/.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + TMPDIR=/builddir/build/BUILD/testtools-2.6.0/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/testtools-2.6.0/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/testtools-2.6.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running dist_info creating /builddir/build/BUILD/testtools-2.6.0/.pyproject-builddir/pip-modern-metadata-tn3ukq28/testtools.egg-info writing /builddir/build/BUILD/testtools-2.6.0/.pyproject-builddir/pip-modern-metadata-tn3ukq28/testtools.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/testtools-2.6.0/.pyproject-builddir/pip-modern-metadata-tn3ukq28/testtools.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/testtools-2.6.0/.pyproject-builddir/pip-modern-metadata-tn3ukq28/testtools.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/testtools-2.6.0/.pyproject-builddir/pip-modern-metadata-tn3ukq28/testtools.egg-info/top_level.txt [pbr] Processing SOURCES.txt writing manifest file '/builddir/build/BUILD/testtools-2.6.0/.pyproject-builddir/pip-modern-metadata-tn3ukq28/testtools.egg-info/SOURCES.txt' warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution reading manifest template 'MANIFEST.in' no previously-included directories found matching 'doc/_build' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file '/builddir/build/BUILD/testtools-2.6.0/.pyproject-builddir/pip-modern-metadata-tn3ukq28/testtools.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/testtools-2.6.0/.pyproject-builddir/pip-modern-metadata-tn3ukq28/testtools-2.6.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: testtools Building wheel for testtools (pyproject.toml): started Running command Building wheel for testtools (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/testtools copying testtools/__init__.py -> build/lib/testtools copying testtools/assertions.py -> build/lib/testtools copying testtools/compat.py -> build/lib/testtools copying testtools/content.py -> build/lib/testtools copying testtools/content_type.py -> build/lib/testtools copying testtools/deferredruntest.py -> build/lib/testtools copying testtools/distutilscmd.py -> build/lib/testtools copying testtools/helpers.py -> build/lib/testtools copying testtools/monkey.py -> build/lib/testtools copying testtools/run.py -> build/lib/testtools copying testtools/runtest.py -> build/lib/testtools copying testtools/tags.py -> build/lib/testtools copying testtools/testcase.py -> build/lib/testtools copying testtools/testsuite.py -> build/lib/testtools copying testtools/utils.py -> build/lib/testtools creating build/lib/testtools/matchers copying testtools/matchers/__init__.py -> build/lib/testtools/matchers copying testtools/matchers/_basic.py -> build/lib/testtools/matchers copying testtools/matchers/_const.py -> build/lib/testtools/matchers copying testtools/matchers/_datastructures.py -> build/lib/testtools/matchers copying testtools/matchers/_dict.py -> build/lib/testtools/matchers copying testtools/matchers/_doctest.py -> build/lib/testtools/matchers copying testtools/matchers/_exception.py -> build/lib/testtools/matchers copying testtools/matchers/_filesystem.py -> build/lib/testtools/matchers copying testtools/matchers/_higherorder.py -> build/lib/testtools/matchers copying testtools/matchers/_impl.py -> build/lib/testtools/matchers copying testtools/matchers/_warnings.py -> build/lib/testtools/matchers creating build/lib/testtools/tests creating build/lib/testtools/tests/twistedsupport copying testtools/tests/twistedsupport/__init__.py -> build/lib/testtools/tests/twistedsupport copying testtools/tests/twistedsupport/_helpers.py -> build/lib/testtools/tests/twistedsupport copying testtools/tests/twistedsupport/test_deferred.py -> build/lib/testtools/tests/twistedsupport copying testtools/tests/twistedsupport/test_matchers.py -> build/lib/testtools/tests/twistedsupport copying testtools/tests/twistedsupport/test_runtest.py -> build/lib/testtools/tests/twistedsupport copying testtools/tests/twistedsupport/test_spinner.py -> build/lib/testtools/tests/twistedsupport creating build/lib/testtools/tests/matchers copying testtools/tests/matchers/__init__.py -> build/lib/testtools/tests/matchers copying testtools/tests/matchers/helpers.py -> build/lib/testtools/tests/matchers copying testtools/tests/matchers/test_basic.py -> build/lib/testtools/tests/matchers copying testtools/tests/matchers/test_const.py -> build/lib/testtools/tests/matchers copying testtools/tests/matchers/test_datastructures.py -> build/lib/testtools/tests/matchers copying testtools/tests/matchers/test_dict.py -> build/lib/testtools/tests/matchers copying testtools/tests/matchers/test_doctest.py -> build/lib/testtools/tests/matchers copying testtools/tests/matchers/test_exception.py -> build/lib/testtools/tests/matchers copying testtools/tests/matchers/test_filesystem.py -> build/lib/testtools/tests/matchers copying testtools/tests/matchers/test_higherorder.py -> build/lib/testtools/tests/matchers copying testtools/tests/matchers/test_impl.py -> build/lib/testtools/tests/matchers copying testtools/tests/matchers/test_warnings.py -> build/lib/testtools/tests/matchers creating build/lib/testtools/twistedsupport copying testtools/twistedsupport/__init__.py -> build/lib/testtools/twistedsupport copying testtools/twistedsupport/_deferred.py -> build/lib/testtools/twistedsupport copying testtools/twistedsupport/_deferreddebug.py -> build/lib/testtools/twistedsupport copying testtools/twistedsupport/_matchers.py -> build/lib/testtools/twistedsupport copying testtools/twistedsupport/_runtest.py -> build/lib/testtools/twistedsupport copying testtools/twistedsupport/_spinner.py -> build/lib/testtools/twistedsupport copying testtools/tests/__init__.py -> build/lib/testtools/tests copying testtools/tests/helpers.py -> build/lib/testtools/tests copying testtools/tests/samplecases.py -> build/lib/testtools/tests copying testtools/tests/test_assert_that.py -> build/lib/testtools/tests copying testtools/tests/test_compat.py -> build/lib/testtools/tests copying testtools/tests/test_content.py -> build/lib/testtools/tests copying testtools/tests/test_content_type.py -> build/lib/testtools/tests copying testtools/tests/test_distutilscmd.py -> build/lib/testtools/tests copying testtools/tests/test_fixturesupport.py -> build/lib/testtools/tests copying testtools/tests/test_helpers.py -> build/lib/testtools/tests copying testtools/tests/test_monkey.py -> build/lib/testtools/tests copying testtools/tests/test_run.py -> build/lib/testtools/tests copying testtools/tests/test_runtest.py -> build/lib/testtools/tests copying testtools/tests/test_tags.py -> build/lib/testtools/tests copying testtools/tests/test_testcase.py -> build/lib/testtools/tests copying testtools/tests/test_testresult.py -> build/lib/testtools/tests copying testtools/tests/test_testsuite.py -> build/lib/testtools/tests copying testtools/tests/test_with_with.py -> build/lib/testtools/tests creating build/lib/testtools/testresult copying testtools/testresult/__init__.py -> build/lib/testtools/testresult copying testtools/testresult/doubles.py -> build/lib/testtools/testresult copying testtools/testresult/real.py -> build/lib/testtools/testresult running egg_info writing testtools.egg-info/PKG-INFO writing dependency_links to testtools.egg-info/dependency_links.txt writing requirements to testtools.egg-info/requires.txt writing top-level names to testtools.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt installing to build/bdist.linux-loongarch64/wheel running install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running install_lib creating build/bdist.linux-loongarch64 creating build/bdist.linux-loongarch64/wheel creating build/bdist.linux-loongarch64/wheel/testtools copying build/lib/testtools/__init__.py -> build/bdist.linux-loongarch64/wheel/testtools copying build/lib/testtools/assertions.py -> build/bdist.linux-loongarch64/wheel/testtools copying build/lib/testtools/compat.py -> build/bdist.linux-loongarch64/wheel/testtools copying build/lib/testtools/content.py -> build/bdist.linux-loongarch64/wheel/testtools copying build/lib/testtools/content_type.py -> build/bdist.linux-loongarch64/wheel/testtools copying build/lib/testtools/deferredruntest.py -> build/bdist.linux-loongarch64/wheel/testtools copying build/lib/testtools/distutilscmd.py -> build/bdist.linux-loongarch64/wheel/testtools copying build/lib/testtools/helpers.py -> build/bdist.linux-loongarch64/wheel/testtools copying build/lib/testtools/monkey.py -> build/bdist.linux-loongarch64/wheel/testtools copying build/lib/testtools/run.py -> build/bdist.linux-loongarch64/wheel/testtools copying build/lib/testtools/runtest.py -> build/bdist.linux-loongarch64/wheel/testtools copying build/lib/testtools/tags.py -> build/bdist.linux-loongarch64/wheel/testtools copying build/lib/testtools/testcase.py -> build/bdist.linux-loongarch64/wheel/testtools copying build/lib/testtools/testsuite.py -> build/bdist.linux-loongarch64/wheel/testtools copying build/lib/testtools/utils.py -> build/bdist.linux-loongarch64/wheel/testtools creating build/bdist.linux-loongarch64/wheel/testtools/matchers copying build/lib/testtools/matchers/__init__.py -> build/bdist.linux-loongarch64/wheel/testtools/matchers copying build/lib/testtools/matchers/_basic.py -> build/bdist.linux-loongarch64/wheel/testtools/matchers copying build/lib/testtools/matchers/_const.py -> build/bdist.linux-loongarch64/wheel/testtools/matchers copying build/lib/testtools/matchers/_datastructures.py -> build/bdist.linux-loongarch64/wheel/testtools/matchers copying build/lib/testtools/matchers/_dict.py -> build/bdist.linux-loongarch64/wheel/testtools/matchers copying build/lib/testtools/matchers/_doctest.py -> build/bdist.linux-loongarch64/wheel/testtools/matchers copying build/lib/testtools/matchers/_exception.py -> build/bdist.linux-loongarch64/wheel/testtools/matchers copying build/lib/testtools/matchers/_filesystem.py -> build/bdist.linux-loongarch64/wheel/testtools/matchers copying build/lib/testtools/matchers/_higherorder.py -> build/bdist.linux-loongarch64/wheel/testtools/matchers copying build/lib/testtools/matchers/_impl.py -> build/bdist.linux-loongarch64/wheel/testtools/matchers copying build/lib/testtools/matchers/_warnings.py -> build/bdist.linux-loongarch64/wheel/testtools/matchers creating build/bdist.linux-loongarch64/wheel/testtools/tests creating build/bdist.linux-loongarch64/wheel/testtools/tests/twistedsupport copying build/lib/testtools/tests/twistedsupport/__init__.py -> build/bdist.linux-loongarch64/wheel/testtools/tests/twistedsupport copying build/lib/testtools/tests/twistedsupport/_helpers.py -> build/bdist.linux-loongarch64/wheel/testtools/tests/twistedsupport copying build/lib/testtools/tests/twistedsupport/test_deferred.py -> build/bdist.linux-loongarch64/wheel/testtools/tests/twistedsupport copying build/lib/testtools/tests/twistedsupport/test_matchers.py -> build/bdist.linux-loongarch64/wheel/testtools/tests/twistedsupport copying build/lib/testtools/tests/twistedsupport/test_runtest.py -> build/bdist.linux-loongarch64/wheel/testtools/tests/twistedsupport copying build/lib/testtools/tests/twistedsupport/test_spinner.py -> build/bdist.linux-loongarch64/wheel/testtools/tests/twistedsupport creating build/bdist.linux-loongarch64/wheel/testtools/tests/matchers copying build/lib/testtools/tests/matchers/__init__.py -> build/bdist.linux-loongarch64/wheel/testtools/tests/matchers copying build/lib/testtools/tests/matchers/helpers.py -> build/bdist.linux-loongarch64/wheel/testtools/tests/matchers copying build/lib/testtools/tests/matchers/test_basic.py -> build/bdist.linux-loongarch64/wheel/testtools/tests/matchers copying build/lib/testtools/tests/matchers/test_const.py -> build/bdist.linux-loongarch64/wheel/testtools/tests/matchers copying build/lib/testtools/tests/matchers/test_datastructures.py -> build/bdist.linux-loongarch64/wheel/testtools/tests/matchers copying build/lib/testtools/tests/matchers/test_dict.py -> build/bdist.linux-loongarch64/wheel/testtools/tests/matchers copying build/lib/testtools/tests/matchers/test_doctest.py -> build/bdist.linux-loongarch64/wheel/testtools/tests/matchers copying build/lib/testtools/tests/matchers/test_exception.py -> build/bdist.linux-loongarch64/wheel/testtools/tests/matchers copying build/lib/testtools/tests/matchers/test_filesystem.py -> build/bdist.linux-loongarch64/wheel/testtools/tests/matchers copying build/lib/testtools/tests/matchers/test_higherorder.py -> build/bdist.linux-loongarch64/wheel/testtools/tests/matchers copying build/lib/testtools/tests/matchers/test_impl.py -> build/bdist.linux-loongarch64/wheel/testtools/tests/matchers copying build/lib/testtools/tests/matchers/test_warnings.py -> build/bdist.linux-loongarch64/wheel/testtools/tests/matchers copying build/lib/testtools/tests/__init__.py -> build/bdist.linux-loongarch64/wheel/testtools/tests copying build/lib/testtools/tests/helpers.py -> build/bdist.linux-loongarch64/wheel/testtools/tests copying build/lib/testtools/tests/samplecases.py -> build/bdist.linux-loongarch64/wheel/testtools/tests copying build/lib/testtools/tests/test_assert_that.py -> build/bdist.linux-loongarch64/wheel/testtools/tests copying build/lib/testtools/tests/test_compat.py -> build/bdist.linux-loongarch64/wheel/testtools/tests copying build/lib/testtools/tests/test_content.py -> build/bdist.linux-loongarch64/wheel/testtools/tests copying build/lib/testtools/tests/test_content_type.py -> build/bdist.linux-loongarch64/wheel/testtools/tests copying build/lib/testtools/tests/test_distutilscmd.py -> build/bdist.linux-loongarch64/wheel/testtools/tests copying build/lib/testtools/tests/test_fixturesupport.py -> build/bdist.linux-loongarch64/wheel/testtools/tests copying build/lib/testtools/tests/test_helpers.py -> build/bdist.linux-loongarch64/wheel/testtools/tests copying build/lib/testtools/tests/test_monkey.py -> build/bdist.linux-loongarch64/wheel/testtools/tests copying build/lib/testtools/tests/test_run.py -> build/bdist.linux-loongarch64/wheel/testtools/tests copying build/lib/testtools/tests/test_runtest.py -> build/bdist.linux-loongarch64/wheel/testtools/tests copying build/lib/testtools/tests/test_tags.py -> build/bdist.linux-loongarch64/wheel/testtools/tests copying build/lib/testtools/tests/test_testcase.py -> build/bdist.linux-loongarch64/wheel/testtools/tests copying build/lib/testtools/tests/test_testresult.py -> build/bdist.linux-loongarch64/wheel/testtools/tests copying build/lib/testtools/tests/test_testsuite.py -> build/bdist.linux-loongarch64/wheel/testtools/tests copying build/lib/testtools/tests/test_with_with.py -> build/bdist.linux-loongarch64/wheel/testtools/tests creating build/bdist.linux-loongarch64/wheel/testtools/twistedsupport copying build/lib/testtools/twistedsupport/__init__.py -> build/bdist.linux-loongarch64/wheel/testtools/twistedsupport copying build/lib/testtools/twistedsupport/_deferred.py -> build/bdist.linux-loongarch64/wheel/testtools/twistedsupport copying build/lib/testtools/twistedsupport/_deferreddebug.py -> build/bdist.linux-loongarch64/wheel/testtools/twistedsupport copying build/lib/testtools/twistedsupport/_matchers.py -> build/bdist.linux-loongarch64/wheel/testtools/twistedsupport copying build/lib/testtools/twistedsupport/_runtest.py -> build/bdist.linux-loongarch64/wheel/testtools/twistedsupport copying build/lib/testtools/twistedsupport/_spinner.py -> build/bdist.linux-loongarch64/wheel/testtools/twistedsupport creating build/bdist.linux-loongarch64/wheel/testtools/testresult copying build/lib/testtools/testresult/__init__.py -> build/bdist.linux-loongarch64/wheel/testtools/testresult copying build/lib/testtools/testresult/doubles.py -> build/bdist.linux-loongarch64/wheel/testtools/testresult copying build/lib/testtools/testresult/real.py -> build/bdist.linux-loongarch64/wheel/testtools/testresult running install_egg_info Copying testtools.egg-info to build/bdist.linux-loongarch64/wheel/testtools-2.6.0-py3.11.egg-info running install_scripts creating build/bdist.linux-loongarch64/wheel/testtools-2.6.0.dist-info/WHEEL creating '/builddir/build/BUILD/testtools-2.6.0/.pyproject-builddir/pip-wheel-h2zqgnyn/.tmp-4fk_anlt/testtools-2.6.0-py3-none-any.whl' and adding 'build/bdist.linux-loongarch64/wheel' to it adding 'testtools/__init__.py' adding 'testtools/assertions.py' adding 'testtools/compat.py' adding 'testtools/content.py' adding 'testtools/content_type.py' adding 'testtools/deferredruntest.py' adding 'testtools/distutilscmd.py' adding 'testtools/helpers.py' adding 'testtools/monkey.py' adding 'testtools/run.py' adding 'testtools/runtest.py' adding 'testtools/tags.py' adding 'testtools/testcase.py' adding 'testtools/testsuite.py' adding 'testtools/utils.py' adding 'testtools/matchers/__init__.py' adding 'testtools/matchers/_basic.py' adding 'testtools/matchers/_const.py' adding 'testtools/matchers/_datastructures.py' adding 'testtools/matchers/_dict.py' adding 'testtools/matchers/_doctest.py' adding 'testtools/matchers/_exception.py' adding 'testtools/matchers/_filesystem.py' adding 'testtools/matchers/_higherorder.py' adding 'testtools/matchers/_impl.py' adding 'testtools/matchers/_warnings.py' adding 'testtools/testresult/__init__.py' adding 'testtools/testresult/doubles.py' adding 'testtools/testresult/real.py' adding 'testtools/tests/__init__.py' adding 'testtools/tests/helpers.py' adding 'testtools/tests/samplecases.py' adding 'testtools/tests/test_assert_that.py' adding 'testtools/tests/test_compat.py' adding 'testtools/tests/test_content.py' adding 'testtools/tests/test_content_type.py' adding 'testtools/tests/test_distutilscmd.py' adding 'testtools/tests/test_fixturesupport.py' adding 'testtools/tests/test_helpers.py' adding 'testtools/tests/test_monkey.py' adding 'testtools/tests/test_run.py' adding 'testtools/tests/test_runtest.py' adding 'testtools/tests/test_tags.py' adding 'testtools/tests/test_testcase.py' adding 'testtools/tests/test_testresult.py' adding 'testtools/tests/test_testsuite.py' adding 'testtools/tests/test_with_with.py' adding 'testtools/tests/matchers/__init__.py' adding 'testtools/tests/matchers/helpers.py' adding 'testtools/tests/matchers/test_basic.py' adding 'testtools/tests/matchers/test_const.py' adding 'testtools/tests/matchers/test_datastructures.py' adding 'testtools/tests/matchers/test_dict.py' adding 'testtools/tests/matchers/test_doctest.py' adding 'testtools/tests/matchers/test_exception.py' adding 'testtools/tests/matchers/test_filesystem.py' adding 'testtools/tests/matchers/test_higherorder.py' adding 'testtools/tests/matchers/test_impl.py' adding 'testtools/tests/matchers/test_warnings.py' adding 'testtools/tests/twistedsupport/__init__.py' adding 'testtools/tests/twistedsupport/_helpers.py' adding 'testtools/tests/twistedsupport/test_deferred.py' adding 'testtools/tests/twistedsupport/test_matchers.py' adding 'testtools/tests/twistedsupport/test_runtest.py' adding 'testtools/tests/twistedsupport/test_spinner.py' adding 'testtools/twistedsupport/__init__.py' adding 'testtools/twistedsupport/_deferred.py' adding 'testtools/twistedsupport/_deferreddebug.py' adding 'testtools/twistedsupport/_matchers.py' adding 'testtools/twistedsupport/_runtest.py' adding 'testtools/twistedsupport/_spinner.py' adding 'testtools-2.6.0.dist-info/AUTHORS' adding 'testtools-2.6.0.dist-info/LICENSE' adding 'testtools-2.6.0.dist-info/METADATA' adding 'testtools-2.6.0.dist-info/WHEEL' adding 'testtools-2.6.0.dist-info/pbr.json' adding 'testtools-2.6.0.dist-info/top_level.txt' adding 'testtools-2.6.0.dist-info/RECORD' removing build/bdist.linux-loongarch64/wheel Building wheel for testtools (pyproject.toml): finished with status 'done' Created wheel for testtools: filename=testtools-2.6.0-py3-none-any.whl size=182173 sha256=968b1354753f0f45c412ad24d96f8433cd32251c6433e6d3c6b5618d19e1b244 Stored in directory: /builddir/.cache/pip/wheels/d9/10/78/7e92b674f79dc851e46d32a59579b2aa975137b4e9c4f1f944 Successfully built testtools + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.k9f03p + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch + cd testtools-2.6.0 ++ ls /builddir/build/BUILD/testtools-2.6.0/pyproject-wheeldir/testtools-2.6.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=testtools==2.6.0 + TMPDIR=/builddir/build/BUILD/testtools-2.6.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.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/testtools-2.6.0/pyproject-wheeldir testtools==2.6.0 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/testtools-2.6.0/pyproject-wheeldir Processing ./pyproject-wheeldir/testtools-2.6.0-py3-none-any.whl Installing collected packages: testtools Successfully installed testtools-2.6.0 + '[' -d /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/testtools-2.6.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/testtools-2.6.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/OpenCloudOS + /usr/bin/python3 -B /usr/lib/rpm/OpenCloudOS/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch --record /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/testtools-2.6.0.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/testtools-2.6.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/testtools-2.6.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/testtools-2.6.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/testtools-2.6.0.dist-info/REQUESTED' + /usr/bin/python3 /usr/lib/rpm/OpenCloudOS/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr testtools + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.6.0-1.ocs23 --unique-debug-suffix -2.6.0-1.ocs23.noarch --unique-debug-src-base python-testtools-2.6.0-1.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/testtools-2.6.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.hRqABC + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 testtools-2.6.0 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-testtools-2.6.0-1.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UG4g3z + umask 022 + cd /builddir/build/BUILD + cd testtools-2.6.0 + DOCDIR=/builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch/usr/share/doc/python3-testtools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch/usr/share/doc/python3-testtools + cp -pr NEWS /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch/usr/share/doc/python3-testtools + cp -pr README.rst /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch/usr/share/doc/python3-testtools + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-testtools = 2.6.0-1.ocs23 python3-testtools = 2.6.0-1.ocs23 python3.11-testtools = 2.6.0-1.ocs23 python3.11dist(testtools) = 2.6 python3dist(testtools) = 2.6 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.11 python3.11dist(fixtures) >= 2 python3.11dist(pbr) >= 0.11 Obsoletes: python3.11-testtools < 2.6.0-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-testtools-2.6.0-1.ocs23.noarch Wrote: /builddir/build/SRPMS/python-testtools-2.6.0-1.ocs23.src.rpm Wrote: /builddir/build/RPMS/python3-testtools-2.6.0-1.ocs23.noarch.rpm Child return code was: 0