Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cbor2.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-234186-81939/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cbor2.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-cbor2-5.6.5-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cbor2.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-234186-81939/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cbor2.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.caXSTo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cbor2-5.6.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cbor2-5.6.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cbor2-5.6.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2025-64076.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cbor2-5.6.5-CVE-2025-68131.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.VxZ0h2 + umask 022 + cd /builddir/build/BUILD + cd cbor2-5.6.5 + 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 -x test Import error: No module named 'toml' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-cbor2-5.6.5-2.oc9.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 x86_64 --nodeps /builddir/build/SPECS/python-cbor2.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-234186-81939/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cbor2.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zMdw8n + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cbor2-5.6.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cbor2-5.6.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cbor2-5.6.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2025-64076.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cbor2-5.6.5-CVE-2025-68131.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.cZU3Qt + umask 022 + cd /builddir/build/BUILD + cd cbor2-5.6.5 + 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 -x test Handling setuptools >= 61 from build-system.requires Requirement satisfied: setuptools >= 61 (installed: setuptools 68.0.0) Handling setuptools_scm[toml] >= 6.4 from build-system.requires Requirement not satisfied: setuptools_scm[toml] >= 6.4 Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-cbor2-5.6.5-2.oc9.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 x86_64 --nodeps /builddir/build/SPECS/python-cbor2.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-234186-81939/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cbor2.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.b7kAoa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cbor2-5.6.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cbor2-5.6.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cbor2-5.6.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2025-64076.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cbor2-5.6.5-CVE-2025-68131.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.sVy0Vp + umask 022 + cd /builddir/build/BUILD + cd cbor2-5.6.5 + 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 -x test Handling setuptools >= 61 from build-system.requires Requirement satisfied: setuptools >= 61 (installed: setuptools 68.0.0) Handling setuptools_scm[toml] >= 6.4 from build-system.requires Requirement satisfied: setuptools_scm[toml] >= 6.4 (installed: setuptools_scm 8.0.4) (extras are currently not checked) Handling wheel from get_requires_for_build_wheel Requirement not satisfied: wheel Handling setuptools >= 61 from get_requires_for_build_wheel Requirement satisfied: setuptools >= 61 (installed: setuptools 68.0.0) Handling setuptools_scm >= 6.4 from get_requires_for_build_wheel Requirement satisfied: setuptools_scm >= 6.4 (installed: setuptools_scm 8.0.4) Exiting dependency generation pass: get_requires_for_build_wheel + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-cbor2-5.6.5-2.oc9.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 x86_64 --nodeps /builddir/build/SPECS/python-cbor2.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-234186-81939/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cbor2.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FmWkn2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cbor2-5.6.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cbor2-5.6.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cbor2-5.6.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2025-64076.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cbor2-5.6.5-CVE-2025-68131.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.bvNVro + umask 022 + cd /builddir/build/BUILD + cd cbor2-5.6.5 + 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 -x test Handling setuptools >= 61 from build-system.requires Requirement satisfied: setuptools >= 61 (installed: setuptools 68.0.0) Handling setuptools_scm[toml] >= 6.4 from build-system.requires Requirement satisfied: setuptools_scm[toml] >= 6.4 (installed: setuptools_scm 8.0.4) (extras are currently not checked) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling setuptools >= 61 from get_requires_for_build_wheel Requirement satisfied: setuptools >= 61 (installed: setuptools 68.0.0) Handling setuptools_scm >= 6.4 from get_requires_for_build_wheel Requirement satisfied: setuptools_scm >= 6.4 (installed: setuptools_scm 8.0.4) WARNING setuptools_scm._integration.setuptools pyproject.toml does not contain a tool.setuptools_scm section WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. config = read_configuration(filepath, True, ignore_option_errors, dist) Handling pytest-benchmark ==4.0.0 ; extra == 'benchmarks' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest-benchmark ==4.0.0 ; extra == 'benchmarks' Handling packaging ; extra == 'doc' from wheel metadata: Requires-Dist Ignoring alien requirement: packaging ; extra == 'doc' Handling Sphinx >=7 ; extra == 'doc' from wheel metadata: Requires-Dist Ignoring alien requirement: Sphinx >=7 ; extra == 'doc' Handling sphinx-rtd-theme >=1.3.0 ; extra == 'doc' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx-rtd-theme >=1.3.0 ; extra == 'doc' Handling sphinx-autodoc-typehints >=1.2.0 ; extra == 'doc' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx-autodoc-typehints >=1.2.0 ; extra == 'doc' Handling typing-extensions ; (python_version < "3.12") and extra == 'doc' from wheel metadata: Requires-Dist Ignoring alien requirement: typing-extensions ; (python_version < "3.12") and extra == 'doc' Handling coverage >=7 ; extra == 'test' from wheel metadata: Requires-Dist Requirement not satisfied: coverage >=7 ; extra == 'test' Handling pytest ; extra == 'test' from wheel metadata: Requires-Dist Requirement not satisfied: pytest ; extra == 'test' Handling hypothesis ; extra == 'test' from wheel metadata: Requires-Dist Requirement not satisfied: hypothesis ; extra == 'test' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-cbor2-5.6.5-2.oc9.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 x86_64 --nodeps /builddir/build/SPECS/python-cbor2.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-234186-81939/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cbor2.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sUp5Xb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cbor2-5.6.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cbor2-5.6.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cbor2-5.6.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2025-64076.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cbor2-5.6.5-CVE-2025-68131.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.kuzp8Q + umask 022 + cd /builddir/build/BUILD + cd cbor2-5.6.5 + 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 -x test Handling setuptools >= 61 from build-system.requires Requirement satisfied: setuptools >= 61 (installed: setuptools 68.0.0) Handling setuptools_scm[toml] >= 6.4 from build-system.requires Requirement satisfied: setuptools_scm[toml] >= 6.4 (installed: setuptools_scm 8.0.4) (extras are currently not checked) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling setuptools >= 61 from get_requires_for_build_wheel Requirement satisfied: setuptools >= 61 (installed: setuptools 68.0.0) Handling setuptools_scm >= 6.4 from get_requires_for_build_wheel Requirement satisfied: setuptools_scm >= 6.4 (installed: setuptools_scm 8.0.4) WARNING setuptools_scm._integration.setuptools pyproject.toml does not contain a tool.setuptools_scm section WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. config = read_configuration(filepath, True, ignore_option_errors, dist) Handling pytest-benchmark ==4.0.0 ; extra == 'benchmarks' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest-benchmark ==4.0.0 ; extra == 'benchmarks' Handling packaging ; extra == 'doc' from wheel metadata: Requires-Dist Ignoring alien requirement: packaging ; extra == 'doc' Handling Sphinx >=7 ; extra == 'doc' from wheel metadata: Requires-Dist Ignoring alien requirement: Sphinx >=7 ; extra == 'doc' Handling sphinx-rtd-theme >=1.3.0 ; extra == 'doc' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx-rtd-theme >=1.3.0 ; extra == 'doc' Handling sphinx-autodoc-typehints >=1.2.0 ; extra == 'doc' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx-autodoc-typehints >=1.2.0 ; extra == 'doc' Handling typing-extensions ; (python_version < "3.12") and extra == 'doc' from wheel metadata: Requires-Dist Ignoring alien requirement: typing-extensions ; (python_version < "3.12") and extra == 'doc' Handling coverage >=7 ; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: coverage >=7 ; extra == 'test' (installed: coverage 7.2.7) Handling pytest ; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: pytest ; extra == 'test' (installed: pytest 7.4.0) Handling hypothesis ; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: hypothesis ; extra == 'test' (installed: hypothesis 6.87.0) + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-cbor2-5.6.5-2.oc9.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 x86_64 --nodeps /builddir/build/SPECS/python-cbor2.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-234186-81939/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cbor2.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: x86_64 Building for target x86_64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.EjwxTj + umask 022 + cd /builddir/build/BUILD + cd cbor2-5.6.5 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv cbor2-5.6.5.dist-info/ removed 'cbor2-5.6.5.dist-info/LICENSE.txt' removed 'cbor2-5.6.5.dist-info/METADATA' removed 'cbor2-5.6.5.dist-info/entry_points.txt' removed 'cbor2-5.6.5.dist-info/top_level.txt' removed directory 'cbor2-5.6.5.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 -x test Handling setuptools >= 61 from build-system.requires Requirement satisfied: setuptools >= 61 (installed: setuptools 68.0.0) Handling setuptools_scm[toml] >= 6.4 from build-system.requires Requirement satisfied: setuptools_scm[toml] >= 6.4 (installed: setuptools_scm 8.0.4) (extras are currently not checked) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling setuptools >= 61 from get_requires_for_build_wheel Requirement satisfied: setuptools >= 61 (installed: setuptools 68.0.0) Handling setuptools_scm >= 6.4 from get_requires_for_build_wheel Requirement satisfied: setuptools_scm >= 6.4 (installed: setuptools_scm 8.0.4) WARNING setuptools_scm._integration.setuptools pyproject.toml does not contain a tool.setuptools_scm section WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. config = read_configuration(filepath, True, ignore_option_errors, dist) Handling pytest-benchmark ==4.0.0 ; extra == 'benchmarks' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest-benchmark ==4.0.0 ; extra == 'benchmarks' Handling packaging ; extra == 'doc' from wheel metadata: Requires-Dist Ignoring alien requirement: packaging ; extra == 'doc' Handling Sphinx >=7 ; extra == 'doc' from wheel metadata: Requires-Dist Ignoring alien requirement: Sphinx >=7 ; extra == 'doc' Handling sphinx-rtd-theme >=1.3.0 ; extra == 'doc' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx-rtd-theme >=1.3.0 ; extra == 'doc' Handling sphinx-autodoc-typehints >=1.2.0 ; extra == 'doc' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx-autodoc-typehints >=1.2.0 ; extra == 'doc' Handling typing-extensions ; (python_version < "3.12") and extra == 'doc' from wheel metadata: Requires-Dist Ignoring alien requirement: typing-extensions ; (python_version < "3.12") and extra == 'doc' Handling coverage >=7 ; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: coverage >=7 ; extra == 'test' (installed: coverage 7.2.7) Handling pytest ; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: pytest ; extra == 'test' (installed: pytest 7.4.0) Handling hypothesis ; extra == 'test' from wheel metadata: Requires-Dist Requirement satisfied: hypothesis ; extra == 'test' (installed: hypothesis 6.87.0) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CyJFfm + 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 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cbor2-5.6.5 + mkdir -p /builddir/build/BUILD/cbor2-5.6.5/.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 -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + TMPDIR=/builddir/build/BUILD/cbor2-5.6.5/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/cbor2-5.6.5/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/cbor2-5.6.5 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) WARNING setuptools_scm._integration.setuptools pyproject.toml does not contain a tool.setuptools_scm section WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. config = read_configuration(filepath, True, ignore_option_errors, dist) running dist_info creating /builddir/build/BUILD/cbor2-5.6.5/.pyproject-builddir/pip-modern-metadata-4g68u4hp/cbor2.egg-info writing /builddir/build/BUILD/cbor2-5.6.5/.pyproject-builddir/pip-modern-metadata-4g68u4hp/cbor2.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/cbor2-5.6.5/.pyproject-builddir/pip-modern-metadata-4g68u4hp/cbor2.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/cbor2-5.6.5/.pyproject-builddir/pip-modern-metadata-4g68u4hp/cbor2.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/cbor2-5.6.5/.pyproject-builddir/pip-modern-metadata-4g68u4hp/cbor2.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/cbor2-5.6.5/.pyproject-builddir/pip-modern-metadata-4g68u4hp/cbor2.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/cbor2-5.6.5/.pyproject-builddir/pip-modern-metadata-4g68u4hp/cbor2.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/cbor2-5.6.5/.pyproject-builddir/pip-modern-metadata-4g68u4hp/cbor2.egg-info/SOURCES.txt' adding license file 'LICENSE.txt' writing manifest file '/builddir/build/BUILD/cbor2-5.6.5/.pyproject-builddir/pip-modern-metadata-4g68u4hp/cbor2.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/cbor2-5.6.5/.pyproject-builddir/pip-modern-metadata-4g68u4hp/cbor2-5.6.5.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: cbor2 Building wheel for cbor2 (pyproject.toml): started Running command Building wheel for cbor2 (pyproject.toml) WARNING setuptools_scm._integration.setuptools pyproject.toml does not contain a tool.setuptools_scm section WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. config = read_configuration(filepath, True, ignore_option_errors, dist) running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-311 creating build/lib.linux-x86_64-cpython-311/cbor2 copying cbor2/_decoder.py -> build/lib.linux-x86_64-cpython-311/cbor2 copying cbor2/__init__.py -> build/lib.linux-x86_64-cpython-311/cbor2 copying cbor2/encoder.py -> build/lib.linux-x86_64-cpython-311/cbor2 copying cbor2/tool.py -> build/lib.linux-x86_64-cpython-311/cbor2 copying cbor2/types.py -> build/lib.linux-x86_64-cpython-311/cbor2 copying cbor2/_encoder.py -> build/lib.linux-x86_64-cpython-311/cbor2 copying cbor2/decoder.py -> build/lib.linux-x86_64-cpython-311/cbor2 copying cbor2/_types.py -> build/lib.linux-x86_64-cpython-311/cbor2 running egg_info writing cbor2.egg-info/PKG-INFO writing dependency_links to cbor2.egg-info/dependency_links.txt writing entry points to cbor2.egg-info/entry_points.txt writing requirements to cbor2.egg-info/requires.txt writing top-level names to cbor2.egg-info/top_level.txt reading manifest file 'cbor2.egg-info/SOURCES.txt' adding license file 'LICENSE.txt' writing manifest file 'cbor2.egg-info/SOURCES.txt' copying cbor2/py.typed -> build/lib.linux-x86_64-cpython-311/cbor2 running build_ext building '_cbor2' extension creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-cpython-311/source gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.11 -c source/decoder.c -o build/temp.linux-x86_64-cpython-311/source/decoder.o -std=c99 -D_GNU_SOURCE source/decoder.c: In function ‘CBORDecoder_decode_from_bytes’: source/decoder.c:2223:9: warning: implicit declaration of function ‘clear_shareable_state’ [-Wimplicit-function-declaration] 2223 | clear_shareable_state(self); | ^~~~~~~~~~~~~~~~~~~~~ gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.11 -c source/encoder.c -o build/temp.linux-x86_64-cpython-311/source/encoder.o -std=c99 -D_GNU_SOURCE gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.11 -c source/halffloat.c -o build/temp.linux-x86_64-cpython-311/source/halffloat.o -std=c99 -D_GNU_SOURCE gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.11 -c source/module.c -o build/temp.linux-x86_64-cpython-311/source/module.o -std=c99 -D_GNU_SOURCE gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.11 -c source/tags.c -o build/temp.linux-x86_64-cpython-311/source/tags.o -std=c99 -D_GNU_SOURCE gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-cpython-311/source/decoder.o build/temp.linux-x86_64-cpython-311/source/encoder.o build/temp.linux-x86_64-cpython-311/source/halffloat.o build/temp.linux-x86_64-cpython-311/source/module.o build/temp.linux-x86_64-cpython-311/source/tags.o -L/usr/lib64 -lm -o build/lib.linux-x86_64-cpython-311/_cbor2.cpython-311-x86_64-linux-gnu.so 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/cbor2 copying build/lib.linux-x86_64-cpython-311/cbor2/_decoder.py -> build/bdist.linux-x86_64/wheel/cbor2 copying build/lib.linux-x86_64-cpython-311/cbor2/__init__.py -> build/bdist.linux-x86_64/wheel/cbor2 copying build/lib.linux-x86_64-cpython-311/cbor2/encoder.py -> build/bdist.linux-x86_64/wheel/cbor2 copying build/lib.linux-x86_64-cpython-311/cbor2/tool.py -> build/bdist.linux-x86_64/wheel/cbor2 copying build/lib.linux-x86_64-cpython-311/cbor2/types.py -> build/bdist.linux-x86_64/wheel/cbor2 copying build/lib.linux-x86_64-cpython-311/cbor2/_encoder.py -> build/bdist.linux-x86_64/wheel/cbor2 copying build/lib.linux-x86_64-cpython-311/cbor2/decoder.py -> build/bdist.linux-x86_64/wheel/cbor2 copying build/lib.linux-x86_64-cpython-311/cbor2/_types.py -> build/bdist.linux-x86_64/wheel/cbor2 copying build/lib.linux-x86_64-cpython-311/cbor2/py.typed -> build/bdist.linux-x86_64/wheel/cbor2 copying build/lib.linux-x86_64-cpython-311/_cbor2.cpython-311-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel running install_egg_info Copying cbor2.egg-info to build/bdist.linux-x86_64/wheel/cbor2-5.6.5-py3.11.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/cbor2-5.6.5.dist-info/WHEEL creating '/builddir/build/BUILD/cbor2-5.6.5/.pyproject-builddir/pip-wheel-dvslkv0z/.tmp-e4hfn01z/cbor2-5.6.5-cp311-cp311-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding '_cbor2.cpython-311-x86_64-linux-gnu.so' adding 'cbor2/__init__.py' adding 'cbor2/_decoder.py' adding 'cbor2/_encoder.py' adding 'cbor2/_types.py' adding 'cbor2/decoder.py' adding 'cbor2/encoder.py' adding 'cbor2/py.typed' adding 'cbor2/tool.py' adding 'cbor2/types.py' adding 'cbor2-5.6.5.dist-info/LICENSE.txt' adding 'cbor2-5.6.5.dist-info/METADATA' adding 'cbor2-5.6.5.dist-info/WHEEL' adding 'cbor2-5.6.5.dist-info/entry_points.txt' adding 'cbor2-5.6.5.dist-info/top_level.txt' adding 'cbor2-5.6.5.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for cbor2 (pyproject.toml): finished with status 'done' Created wheel for cbor2: filename=cbor2-5.6.5-cp311-cp311-linux_x86_64.whl size=190776 sha256=6a3758cef7a624236eaf3ce24fa4eae96a12d26167e910b36074ca5546912b5f Stored in directory: /builddir/.cache/pip/wheels/a7/8a/e0/ead99110cf65332db0be32618e28f305e62ca756df4d93e161 Successfully built cbor2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hIl7HW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64 + cd cbor2-5.6.5 ++ ls /builddir/build/BUILD/cbor2-5.6.5/pyproject-wheeldir/cbor2-5.6.5-cp311-cp311-linux_x86_64.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=cbor2==5.6.5 + TMPDIR=/builddir/build/BUILD/cbor2-5.6.5/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64 --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/cbor2-5.6.5/pyproject-wheeldir cbor2==5.6.5 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/cbor2-5.6.5/pyproject-wheeldir Processing ./pyproject-wheeldir/cbor2-5.6.5-cp311-cp311-linux_x86_64.whl Installing collected packages: cbor2 Creating /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/bin/cbor2 to 755 Successfully installed cbor2-5.6.5 + '[' -d /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/bin ']' + '[' -f /usr/bin/pathfix3.11.py ']' + pathfix=/usr/bin/pathfix3.11.py + '[' -z s ']' + shebang_flags=-kas + /usr/bin/pathfix3.11.py -pni /usr/bin/python3 -kas /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/bin/cbor2 /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/bin/cbor2: updating + rm -rfv /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/lib/python3.11/site-packages ']' + '[' /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/lib64/python3.11/site-packages ']' + site_dirs+=("/usr/lib64/python3.11/site-packages") + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64$site_dir/*.dist-info + echo '%ghost /usr/lib64/python3.11/site-packages/cbor2-5.6.5.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/lib64/python3.11/site-packages/cbor2-5.6.5.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-cbor2-5.6.5-2.oc9.x86_64 --record /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/lib64/python3.11/site-packages/cbor2-5.6.5.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/lib64/python3.11/site-packages/cbor2-5.6.5.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/lib64/python3.11/site-packages/cbor2-5.6.5.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/lib64/python3.11/site-packages/cbor2-5.6.5.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/lib64/python3.11/site-packages/cbor2-5.6.5.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-cbor2-5.6.5-2.oc9.x86_64 --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 cbor2 + PYTHONPATH=/builddir/build/BUILD/cbor2-5.6.5 + sphinx-build-3 docs html Running Sphinx v7.0.1 making output directory... done loading intersphinx inventory from https://docs.python.org/objects.inv... intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 5 source files that are out of date updating environment: [new config] 5 added, 0 changed, 0 removed reading sources... [ 20%] api reading sources... [ 40%] customizing reading sources... [ 60%] index reading sources... [ 80%] usage reading sources... [100%] versionhistory WARNING: Cannot resolve forward reference in type annotations of "cbor2.loads": name 'Literal' is not defined looking for now-outdated files... WARNING: Cannot resolve forward reference in type annotations of "cbor2.load": name 'Literal' is not defined none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 20%] api writing output... [ 40%] customizing writing output... [ 60%] index writing output... [ 80%] usage writing output... [100%] versionhistory generating indices... genindex done writing additional pages... search done copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 2 warnings. The HTML pages are in html. + rm -rf html/.doctrees html/.buildinfo + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 5.6.5-2.oc9 --unique-debug-suffix -5.6.5-2.oc9.x86_64 --unique-debug-src-base python-cbor2-5.6.5-2.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/cbor2-5.6.5 extracting debug info from /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/lib64/python3.11/site-packages/_cbor2.cpython-311-x86_64-linux-gnu.so 448 blocks + /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-cbor2-5.6.5-2.oc9.x86_64/usr/lib/debug/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.zUNpvo + 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 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cbor2-5.6.5 + 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 -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + PATH=/builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/cbor2-5.6.5/.pyproject-builddir' + /usr/bin/pytest -v tests ImportError while loading conftest '/builddir/build/BUILD/cbor2-5.6.5/tests/conftest.py'. tests/conftest.py:12: in import _cbor2 E ImportError: /builddir/build/BUILDROOT/python-cbor2-5.6.5-2.oc9.x86_64/usr/lib64/python3.11/site-packages/_cbor2.cpython-311-x86_64-linux-gnu.so: undefined symbol: clear_shareable_state error: Bad exit status from /var/tmp/rpm-tmp.zUNpvo (%check) Bad exit status from /var/tmp/rpm-tmp.zUNpvo (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cbor2.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-cbor2.spec