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-service-identity.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-369591-71395/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r_ezlmr0:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r_ezlmr0:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7c70630c61f642548c1c044fdf3d64e6', '-D', '/var/lib/mock/dist-an23-build-python3.11-369591-71395/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r_ezlmr0:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-service-identity.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1711497600 Wrote: /builddir/build/SRPMS/python-service-identity-21.1.0-3.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-service-identity.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-369591-71395/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r_ezlmr0:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r_ezlmr0:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9744d85d142e4b6e96114ac30bf70186', '-D', '/var/lib/mock/dist-an23-build-python3.11-369591-71395/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r_ezlmr0:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-service-identity.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: The %{pyproject_build_lib} macro is deprecated. It only works with setuptools and is not build-backend-agnostic. The macro is not scheduled for removal, but there is a possibility of incompatibilities with future versions of setuptools. As a replacement for the macro for the setuptools backend on Fedora 37+, you can use $PWD/build/lib for pure Python packages, or $PWD/build/lib.%{python3_platform}-cpython-%{python3_version_nodots} for packages with extension modules. Other build backends and older distributions may need different paths. See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/HMLOPAU3RZLXD4BOJHTIPKI3I4U6U7OE/ for details. Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1711497600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uczhSN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf service-identity-21.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/service-identity-21.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd service-identity-21.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Revert-theme-change.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1kX8ZS + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd service-identity-21.1.0 + mkdir -p /builddir/build/BUILD/service-identity-21.1.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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_wheel.py /builddir/build/BUILD/service-identity-21.1.0/pyproject-wheeldir Looking in indexes: https://mirrors.aliyun.com/pypi/simple/ Processing /builddir/build/BUILD/service-identity-21.1.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-modern-metadata-yjluemi1/service_identity.egg-info writing /builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-modern-metadata-yjluemi1/service_identity.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-modern-metadata-yjluemi1/service_identity.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-modern-metadata-yjluemi1/service_identity.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-modern-metadata-yjluemi1/service_identity.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-modern-metadata-yjluemi1/service_identity.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-modern-metadata-yjluemi1/service_identity.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' warning: no previously-included files matching '*.pyc' found under directory 'tests' adding license file 'LICENSE' adding license file 'AUTHORS.rst' writing manifest file '/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-modern-metadata-yjluemi1/service_identity.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-modern-metadata-yjluemi1/service_identity-21.1.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: service-identity Building wheel for service-identity (pyproject.toml): started Running command Building wheel for service-identity (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/service_identity copying src/service_identity/__init__.py -> build/lib/service_identity copying src/service_identity/_common.py -> build/lib/service_identity copying src/service_identity/_compat.py -> build/lib/service_identity copying src/service_identity/cryptography.py -> build/lib/service_identity copying src/service_identity/exceptions.py -> build/lib/service_identity copying src/service_identity/pyopenssl.py -> build/lib/service_identity installing to build/bdist.linux-aarch64/wheel running install running install_lib creating build/bdist.linux-aarch64 creating build/bdist.linux-aarch64/wheel creating build/bdist.linux-aarch64/wheel/service_identity copying build/lib/service_identity/__init__.py -> build/bdist.linux-aarch64/wheel/service_identity copying build/lib/service_identity/_common.py -> build/bdist.linux-aarch64/wheel/service_identity copying build/lib/service_identity/_compat.py -> build/bdist.linux-aarch64/wheel/service_identity copying build/lib/service_identity/cryptography.py -> build/bdist.linux-aarch64/wheel/service_identity copying build/lib/service_identity/exceptions.py -> build/bdist.linux-aarch64/wheel/service_identity copying build/lib/service_identity/pyopenssl.py -> build/bdist.linux-aarch64/wheel/service_identity running install_egg_info running egg_info creating src/service_identity.egg-info writing src/service_identity.egg-info/PKG-INFO writing dependency_links to src/service_identity.egg-info/dependency_links.txt writing requirements to src/service_identity.egg-info/requires.txt writing top-level names to src/service_identity.egg-info/top_level.txt writing manifest file 'src/service_identity.egg-info/SOURCES.txt' reading manifest file 'src/service_identity.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' warning: no previously-included files matching '*.pyc' found under directory 'tests' adding license file 'LICENSE' adding license file 'AUTHORS.rst' writing manifest file 'src/service_identity.egg-info/SOURCES.txt' Copying src/service_identity.egg-info to build/bdist.linux-aarch64/wheel/service_identity-21.1.0-py3.11.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/service_identity-21.1.0.dist-info/WHEEL creating '/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-wheel-zpo5lj2_/.tmp-2g5xyn27/service_identity-21.1.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'service_identity/__init__.py' adding 'service_identity/_common.py' adding 'service_identity/_compat.py' adding 'service_identity/cryptography.py' adding 'service_identity/exceptions.py' adding 'service_identity/pyopenssl.py' adding 'service_identity-21.1.0.dist-info/AUTHORS.rst' adding 'service_identity-21.1.0.dist-info/LICENSE' adding 'service_identity-21.1.0.dist-info/METADATA' adding 'service_identity-21.1.0.dist-info/WHEEL' adding 'service_identity-21.1.0.dist-info/top_level.txt' adding 'service_identity-21.1.0.dist-info/RECORD' removing build/bdist.linux-aarch64/wheel Building wheel for service-identity (pyproject.toml): finished with status 'done' Created wheel for service-identity: filename=service_identity-21.1.0-py2.py3-none-any.whl size=12580 sha256=1b2e5285e4216bc1e29876b86708d918a849721f19b2d112f38b1a13c17d2271 Stored in directory: /builddir/.cache/pip/wheels/29/74/4a/33813c2bb474fc9c2df785f72a2b846af5426a3e3113e36463 Successfully built service-identity ++ pyproject_build_lib=() ++ '[' -d build/lib.linux-aarch64-cpython-311 ']' ++ '[' -d build/lib.linux-aarch64-3.11 ']' ++ '[' -d build/lib ']' ++ pyproject_build_lib+=("${PWD}/build/lib") +++ find /builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir -type d -wholename '/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-req-build-*/build/lib.linux-aarch64-3.11' +++ find /builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir -type d -wholename '/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-req-build-*/build/lib' +++ IFS=: +++ echo /builddir/build/BUILD/service-identity-21.1.0/build/lib ++ echo /builddir/build/BUILD/service-identity-21.1.0/build/lib + PYTHONPATH=/builddir/build/BUILD/service-identity-21.1.0/build/lib + sphinx-build docs html Running Sphinx v6.1.3 making output directory... done loading intersphinx inventory from https://docs.python.org/3/objects.inv... loading intersphinx inventory from https://pyopenssl.readthedocs.io/en/stable/objects.inv... loading intersphinx inventory from https://cryptography.io/en/stable/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://pyopenssl.readthedocs.io/en/stable/objects.inv' not fetchable due to : HTTPSConnectionPool(host='pyopenssl.readthedocs.io', port=443): Max retries exceeded with url: /en/stable/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://cryptography.io/en/stable/objects.inv' not fetchable due to : HTTPSConnectionPool(host='cryptography.io', port=443): Max retries exceeded with url: /en/stable/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 8 source files that are out of date updating environment: [new config] 8 added, 0 changed, 0 removed reading sources... [ 12%] api reading sources... [ 25%] backward-compatibility reading sources... [ 37%] changelog reading sources... [ 50%] contributing reading sources... [ 62%] implemented-standards reading sources... [ 75%] index reading sources... [ 87%] installation reading sources... [100%] license looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 12%] api writing output... [ 25%] backward-compatibility writing output... [ 37%] changelog writing output... [ 50%] contributing writing output... [ 62%] implemented-standards writing output... [ 75%] index writing output... [ 87%] installation writing output... [100%] license 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, 3 warnings. The HTML pages are in html. + rm -rf html/.doctrees html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hlYf1M + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch ++ dirname /builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd service-identity-21.1.0 ++ ls /builddir/build/BUILD/service-identity-21.1.0/pyproject-wheeldir/service_identity-21.1.0-py2.py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=service_identity==21.1.0 + TMPDIR=/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch --prefix /usr --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/service-identity-21.1.0/pyproject-wheeldir service_identity==21.1.0 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/service-identity-21.1.0/pyproject-wheeldir Processing ./pyproject-wheeldir/service_identity-21.1.0-py2.py3-none-any.whl Installing collected packages: service_identity Successfully installed service_identity-21.1.0 + '[' -d /builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/python-service-identity-21.1.0-3.an23.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/service_identity-21.1.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch/usr/lib/python3.11/site-packages/service_identity-21.1.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/anolis + /usr/bin/python3 -B /usr/lib/rpm/anolis/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch --record /builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch/usr/lib/python3.11/site-packages/service_identity-21.1.0.dist-info/RECORD --output /builddir/build/BUILD/python-service-identity-21.1.0-3.an23.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch/usr/lib/python3.11/site-packages/service_identity-21.1.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch/usr/lib/python3.11/site-packages/service_identity-21.1.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch/usr/lib/python3.11/site-packages/service_identity-21.1.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch/usr/lib/python3.11/site-packages/service_identity-21.1.0.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-service-identity-21.1.0-3.an23.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_PERCENTAGES_COUNT=8 + /usr/bin/python3 /usr/lib/rpm/anolis/pyproject_save_files.py --output-files /builddir/build/BUILD/python-service-identity-21.1.0-3.an23.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-service-identity-21.1.0-3.an23.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/python-service-identity-21.1.0-3.an23.noarch-pyproject-record --prefix /usr service_identity + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 21.1.0-3.an23 --unique-debug-suffix -21.1.0-3.an23.noarch --unique-debug-src-base python-service-identity-21.1.0-3.an23.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/service-identity-21.1.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.61tKyc + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd service-identity-21.1.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-service-identity-21.1.0-3.an23.noarch/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir' + /usr/bin/pytest -v ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.3.1, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache OpenSSL: n/a pyOpenSSL: missing cryptography: 41.0.7 rootdir: /builddir/build/BUILD/service-identity-21.1.0 configfile: tox.ini testpaths: tests collecting ... collected 114 items tests/test_common.py::TestVerifyServiceIdentity::test_dns_id_success PASSED [ 0%] tests/test_common.py::TestVerifyServiceIdentity::test_integration_dns_id_fail PASSED [ 1%] tests/test_common.py::TestVerifyServiceIdentity::test_ip_address_success PASSED [ 2%] tests/test_common.py::TestVerifyServiceIdentity::test_obligatory_missing PASSED [ 3%] tests/test_common.py::TestVerifyServiceIdentity::test_obligatory_mismatch PASSED [ 4%] tests/test_common.py::TestVerifyServiceIdentity::test_optional_missing PASSED [ 5%] tests/test_common.py::TestVerifyServiceIdentity::test_optional_mismatch PASSED [ 6%] tests/test_common.py::TestVerifyServiceIdentity::test_contains_optional_and_matches PASSED [ 7%] tests/test_common.py::TestContainsInstance::test_positive PASSED [ 7%] tests/test_common.py::TestContainsInstance::test_negative PASSED [ 8%] tests/test_common.py::TestDNS_ID::test_enforces_unicode PASSED [ 9%] tests/test_common.py::TestDNS_ID::test_handles_missing_idna PASSED [ 10%] tests/test_common.py::TestDNS_ID::test_ascii_works_without_idna PASSED [ 11%] tests/test_common.py::TestDNS_ID::test_idna_used_if_available_on_non_ascii PASSED [ 12%] tests/test_common.py::TestDNS_ID::test_catches_invalid_dns_ids[ ] PASSED [ 13%] tests/test_common.py::TestDNS_ID::test_catches_invalid_dns_ids[] PASSED [ 14%] tests/test_common.py::TestDNS_ID::test_catches_invalid_dns_ids[host,name] PASSED [ 14%] tests/test_common.py::TestDNS_ID::test_catches_invalid_dns_ids[192.168.0.0] PASSED [ 15%] tests/test_common.py::TestDNS_ID::test_catches_invalid_dns_ids[::1] PASSED [ 16%] tests/test_common.py::TestDNS_ID::test_catches_invalid_dns_ids[1234] PASSED [ 17%] tests/test_common.py::TestDNS_ID::test_lowercases PASSED [ 18%] tests/test_common.py::TestDNS_ID::test_verifies_only_dns PASSED [ 19%] tests/test_common.py::TestDNS_ID::test_simple_match PASSED [ 20%] tests/test_common.py::TestDNS_ID::test_simple_mismatch PASSED [ 21%] tests/test_common.py::TestDNS_ID::test_matches PASSED [ 21%] tests/test_common.py::TestDNS_ID::test_mismatches PASSED [ 22%] tests/test_common.py::TestURI_ID::test_enforces_unicode PASSED [ 23%] tests/test_common.py::TestURI_ID::test_create_DNS_ID PASSED [ 24%] tests/test_common.py::TestURI_ID::test_lowercases PASSED [ 25%] tests/test_common.py::TestURI_ID::test_catches_missing_colon PASSED [ 26%] tests/test_common.py::TestURI_ID::test_is_only_valid_for_uri PASSED [ 27%] tests/test_common.py::TestURI_ID::test_protocol_mismatch PASSED [ 28%] tests/test_common.py::TestURI_ID::test_dns_mismatch PASSED [ 28%] tests/test_common.py::TestURI_ID::test_match PASSED [ 29%] tests/test_common.py::TestSRV_ID::test_enforces_unicode PASSED [ 30%] tests/test_common.py::TestSRV_ID::test_create_DNS_ID PASSED [ 31%] tests/test_common.py::TestSRV_ID::test_lowercases PASSED [ 32%] tests/test_common.py::TestSRV_ID::test_catches_missing_dot PASSED [ 33%] tests/test_common.py::TestSRV_ID::test_catches_missing_underscore PASSED [ 34%] tests/test_common.py::TestSRV_ID::test_is_only_valid_for_SRV PASSED [ 35%] tests/test_common.py::TestSRV_ID::test_match PASSED [ 35%] tests/test_common.py::TestSRV_ID::test_match_idna PASSED [ 36%] tests/test_common.py::TestSRV_ID::test_mismatch_service_name PASSED [ 37%] tests/test_common.py::TestSRV_ID::test_mismatch_dns PASSED [ 38%] tests/test_common.py::TestDNSPattern::test_enforces_bytes PASSED [ 39%] tests/test_common.py::TestDNSPattern::test_catches_empty PASSED [ 40%] tests/test_common.py::TestDNSPattern::test_catches_NULL_bytes PASSED [ 41%] tests/test_common.py::TestDNSPattern::test_catches_ip_address PASSED [ 42%] tests/test_common.py::TestDNSPattern::test_invalid_wildcard PASSED [ 42%] tests/test_common.py::TestURIPattern::test_enforces_bytes PASSED [ 43%] tests/test_common.py::TestURIPattern::test_catches_missing_colon PASSED [ 44%] tests/test_common.py::TestURIPattern::test_catches_wildcards PASSED [ 45%] tests/test_common.py::TestSRVPattern::test_enforces_bytes PASSED [ 46%] tests/test_common.py::TestSRVPattern::test_catches_missing_underscore PASSED [ 47%] tests/test_common.py::TestSRVPattern::test_catches_wildcards PASSED [ 48%] tests/test_common.py::TestValidateDNSWildcardPattern::test_allows_only_one_wildcard PASSED [ 49%] tests/test_common.py::TestValidateDNSWildcardPattern::test_wildcard_must_be_left_most PASSED [ 50%] tests/test_common.py::TestValidateDNSWildcardPattern::test_must_have_at_least_three_parts PASSED [ 50%] tests/test_common.py::TestValidateDNSWildcardPattern::test_valid_patterns PASSED [ 51%] tests/test_common.py::TestIPAddressPattern::test_invalid_ip PASSED [ 52%] tests/test_common.py::TestIPAddressPattern::test_verify_equal[1.1.1.1] PASSED [ 53%] tests/test_common.py::TestIPAddressPattern::test_verify_equal[::1] PASSED [ 54%] tests/test_common.py::TestFindMatches::test_one_match PASSED [ 55%] tests/test_common.py::TestFindMatches::test_no_match PASSED [ 56%] tests/test_common.py::TestFindMatches::test_multiple_matches PASSED [ 57%] tests/test_common.py::TestIsIPAddress::test_ips[127.0.0.10] PASSED [ 57%] tests/test_common.py::TestIsIPAddress::test_ips[127.0.0.11] PASSED [ 58%] tests/test_common.py::TestIsIPAddress::test_ips[172.16.254.12] PASSED [ 59%] tests/test_common.py::TestIsIPAddress::test_ips[*.0.0.1] PASSED [ 60%] tests/test_common.py::TestIsIPAddress::test_ips[::1] PASSED [ 61%] tests/test_common.py::TestIsIPAddress::test_ips[*::1] PASSED [ 62%] tests/test_common.py::TestIsIPAddress::test_ips[2001:0db8:0000:0000:0000:ff00:0042:8329] PASSED [ 63%] tests/test_common.py::TestIsIPAddress::test_ips[2001:0db8::ff00:0042:8329] PASSED [ 64%] tests/test_common.py::TestIsIPAddress::test_not_ips[*.twistedmatrix.com] PASSED [ 64%] tests/test_common.py::TestIsIPAddress::test_not_ips[twistedmatrix.com] PASSED [ 65%] tests/test_common.py::TestIsIPAddress::test_not_ips[mail.google.com] PASSED [ 66%] tests/test_common.py::TestIsIPAddress::test_not_ips[omega7.de] PASSED [ 67%] tests/test_common.py::TestIsIPAddress::test_not_ips[omega7] PASSED [ 68%] tests/test_common.py::TestIsIPAddress::test_not_ips[127.\xff.0.1] PASSED [ 69%] tests/test_common.py::TestVerificationError::test_repr_str PASSED [ 70%] tests/test_common.py::TestVerificationError::test_pickle[exc0-0] PASSED [ 71%] tests/test_common.py::TestVerificationError::test_pickle[exc0-1] PASSED [ 71%] tests/test_common.py::TestVerificationError::test_pickle[exc0-2] PASSED [ 72%] tests/test_common.py::TestVerificationError::test_pickle[exc0-3] PASSED [ 73%] tests/test_common.py::TestVerificationError::test_pickle[exc0-4] PASSED [ 74%] tests/test_common.py::TestVerificationError::test_pickle[exc0-5] PASSED [ 75%] tests/test_common.py::TestVerificationError::test_pickle[exc1-0] PASSED [ 76%] tests/test_common.py::TestVerificationError::test_pickle[exc1-1] PASSED [ 77%] tests/test_common.py::TestVerificationError::test_pickle[exc1-2] PASSED [ 78%] tests/test_common.py::TestVerificationError::test_pickle[exc1-3] PASSED [ 78%] tests/test_common.py::TestVerificationError::test_pickle[exc1-4] PASSED [ 79%] tests/test_common.py::TestVerificationError::test_pickle[exc1-5] PASSED [ 80%] tests/test_common.py::TestVerificationError::test_pickle[exc2-0] PASSED [ 81%] tests/test_common.py::TestVerificationError::test_pickle[exc2-1] PASSED [ 82%] tests/test_common.py::TestVerificationError::test_pickle[exc2-2] PASSED [ 83%] tests/test_common.py::TestVerificationError::test_pickle[exc2-3] PASSED [ 84%] tests/test_common.py::TestVerificationError::test_pickle[exc2-4] PASSED [ 85%] tests/test_common.py::TestVerificationError::test_pickle[exc2-5] PASSED [ 85%] tests/test_common.py::TestVerificationError::test_pickle[exc3-0] PASSED [ 86%] tests/test_common.py::TestVerificationError::test_pickle[exc3-1] PASSED [ 87%] tests/test_common.py::TestVerificationError::test_pickle[exc3-2] PASSED [ 88%] tests/test_common.py::TestVerificationError::test_pickle[exc3-3] PASSED [ 89%] tests/test_common.py::TestVerificationError::test_pickle[exc3-4] PASSED [ 90%] tests/test_common.py::TestVerificationError::test_pickle[exc3-5] PASSED [ 91%] tests/test_cryptography.py::TestPublicAPI::test_certificate_verify_hostname_ok PASSED [ 92%] tests/test_cryptography.py::TestPublicAPI::test_certificate_verify_hostname_fail PASSED [ 92%] tests/test_cryptography.py::TestPublicAPI::test_verify_certificate_ip_address_ok[1.1.1.1] PASSED [ 93%] tests/test_cryptography.py::TestPublicAPI::test_verify_certificate_ip_address_ok[::1] PASSED [ 94%] tests/test_cryptography.py::TestPublicAPI::test_verify_ip_address_fail[1.1.1.2] PASSED [ 95%] tests/test_cryptography.py::TestPublicAPI::test_verify_ip_address_fail[::2] PASSED [ 96%] tests/test_cryptography.py::TestExtractIDs::test_dns PASSED [ 97%] tests/test_cryptography.py::TestExtractIDs::test_cn_ids_are_used_as_fallback FAILED [ 98%] tests/test_cryptography.py::TestExtractIDs::test_uri PASSED [ 99%] tests/test_cryptography.py::TestExtractIDs::test_ip PASSED [100%] =================================== FAILURES =================================== _______________ TestExtractIDs.test_cn_ids_are_used_as_fallback ________________ self = def test_cn_ids_are_used_as_fallback(self): """ CNs are returned as DNSPattern if no other IDs are present and a warning is raised. """ with pytest.warns(SubjectAltNameWarning): > rv = extract_ids(X509_CN_ONLY) tests/test_cryptography.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cert = , ...)> def extract_ids(cert): """ Extract all valid IDs from a certificate for service verification. If *cert* doesn't contain any identifiers, the ``CN``s are used as DNS-IDs as fallback. :param cryptography.x509.Certificate cert: The certificate to be dissected. :return: List of IDs. """ ids = [] try: > ext = cert.extensions.get_extension_for_oid( ExtensionOID.SUBJECT_ALTERNATIVE_NAME ) E ValueError: error parsing asn1 value: ParseError { kind: InvalidValue, location: ["MSCertificateTemplate::template_id"] } ../../BUILDROOT/python-service-identity-21.1.0-3.an23.noarch/usr/lib/python3.11/site-packages/service_identity/cryptography.py:110: ValueError =========================== short test summary info ============================ FAILED tests/test_cryptography.py::TestExtractIDs::test_cn_ids_are_used_as_fallback ======================== 1 failed, 113 passed in 0.22s ========================= error: Bad exit status from /var/tmp/rpm-tmp.61tKyc (%check) RPM build warnings: RPM build errors: The %{pyproject_build_lib} macro is deprecated. It only works with setuptools and is not build-backend-agnostic. The macro is not scheduled for removal, but there is a possibility of incompatibilities with future versions of setuptools. As a replacement for the macro for the setuptools backend on Fedora 37+, you can use $PWD/build/lib for pure Python packages, or $PWD/build/lib.%{python3_platform}-cpython-%{python3_version_nodots} for packages with extension modules. Other build backends and older distributions may need different paths. See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/HMLOPAU3RZLXD4BOJHTIPKI3I4U6U7OE/ for details. Bad exit status from /var/tmp/rpm-tmp.61tKyc (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 9744d85d142e4b6e96114ac30bf70186 -D /var/lib/mock/dist-an23-build-python3.11-369591-71395/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.r_ezlmr0:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-service-identity.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 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 9744d85d142e4b6e96114ac30bf70186 -D /var/lib/mock/dist-an23-build-python3.11-369591-71395/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.r_ezlmr0:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-service-identity.spec