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-josepy.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-175500-10990/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-josepy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-josepy-1.13.0-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-josepy.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-175500-10990/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-josepy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9uqC55 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf josepy-1.13.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/josepy-1.13.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd josepy-1.13.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0000-ignore-missing-linters.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-stop-using-pkg_resources.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf josepy.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.twrGdk + umask 022 + cd /builddir/build/BUILD + cd josepy-1.13.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-josepy-1.13.0-4.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-josepy.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-175500-10990/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-josepy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Mg8iPG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf josepy-1.13.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/josepy-1.13.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd josepy-1.13.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0000-ignore-missing-linters.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-stop-using-pkg_resources.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf josepy.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.wRBTzR + umask 022 + cd /builddir/build/BUILD + cd josepy-1.13.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) HOOK STDOUT: running egg_info HOOK STDOUT: writing src/josepy.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/josepy.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/josepy.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/josepy.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/josepy.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/josepy.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'src/josepy.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling cryptography >=1.5 from wheel metadata: Requires-Dist Requirement not satisfied: cryptography >=1.5 Handling PyOpenSSL >=0.13 from wheel metadata: Requires-Dist Requirement not satisfied: PyOpenSSL >=0.13 Handling setuptools >=1.0 from wheel metadata: Requires-Dist Requirement satisfied: setuptools >=1.0 (installed: setuptools 68.0.0) Handling pytest ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest ; extra == 'dev' Handling tox ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: tox ; extra == 'dev' Handling Sphinx >=1.0 ; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: Sphinx >=1.0 ; extra == 'docs' Handling sphinx-rtd-theme >=1.0 ; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx-rtd-theme >=1.0 ; extra == 'docs' Handling pytest >=2.8.0 ; extra == 'tests' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest >=2.8.0 ; extra == 'tests' Handling types-pyOpenSSL ; extra == 'tests' from wheel metadata: Requires-Dist Ignoring alien requirement: types-pyOpenSSL ; extra == 'tests' Handling types-pyRFC3339 ; extra == 'tests' from wheel metadata: Requires-Dist Ignoring alien requirement: types-pyRFC3339 ; extra == 'tests' Handling types-requests ; extra == 'tests' from wheel metadata: Requires-Dist Ignoring alien requirement: types-requests ; extra == 'tests' Handling types-setuptools ; extra == 'tests' from wheel metadata: Requires-Dist Ignoring alien requirement: types-setuptools ; extra == 'tests' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-josepy-1.13.0-4.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-josepy.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-175500-10990/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-josepy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.x5Y6K3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf josepy-1.13.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/josepy-1.13.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd josepy-1.13.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0000-ignore-missing-linters.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-stop-using-pkg_resources.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf josepy.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.X7IrGe + umask 022 + cd /builddir/build/BUILD + cd josepy-1.13.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) HOOK STDOUT: running egg_info HOOK STDOUT: writing src/josepy.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/josepy.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/josepy.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/josepy.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/josepy.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/josepy.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'src/josepy.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling cryptography >=1.5 from wheel metadata: Requires-Dist Requirement satisfied: cryptography >=1.5 (installed: cryptography 42.0.2) Handling PyOpenSSL >=0.13 from wheel metadata: Requires-Dist Requirement satisfied: PyOpenSSL >=0.13 (installed: PyOpenSSL 22.0.0) Handling setuptools >=1.0 from wheel metadata: Requires-Dist Requirement satisfied: setuptools >=1.0 (installed: setuptools 68.0.0) Handling pytest ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest ; extra == 'dev' Handling tox ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: tox ; extra == 'dev' Handling Sphinx >=1.0 ; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: Sphinx >=1.0 ; extra == 'docs' Handling sphinx-rtd-theme >=1.0 ; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx-rtd-theme >=1.0 ; extra == 'docs' Handling pytest >=2.8.0 ; extra == 'tests' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest >=2.8.0 ; extra == 'tests' Handling types-pyOpenSSL ; extra == 'tests' from wheel metadata: Requires-Dist Ignoring alien requirement: types-pyOpenSSL ; extra == 'tests' Handling types-pyRFC3339 ; extra == 'tests' from wheel metadata: Requires-Dist Ignoring alien requirement: types-pyRFC3339 ; extra == 'tests' Handling types-requests ; extra == 'tests' from wheel metadata: Requires-Dist Ignoring alien requirement: types-requests ; extra == 'tests' Handling types-setuptools ; extra == 'tests' from wheel metadata: Requires-Dist Ignoring alien requirement: types-setuptools ; extra == 'tests' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-josepy-1.13.0-4.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-josepy.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-175500-10990/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-josepy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Dv5sny + umask 022 + cd /builddir/build/BUILD + cd josepy-1.13.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv josepy-1.13.0.dist-info/ removed 'josepy-1.13.0.dist-info/entry_points.txt' removed 'josepy-1.13.0.dist-info/top_level.txt' removed 'josepy-1.13.0.dist-info/METADATA' removed 'josepy-1.13.0.dist-info/LICENSE.txt' removed directory 'josepy-1.13.0.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) HOOK STDOUT: running egg_info HOOK STDOUT: writing src/josepy.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/josepy.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/josepy.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/josepy.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/josepy.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/josepy.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'src/josepy.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling cryptography >=1.5 from wheel metadata: Requires-Dist Requirement satisfied: cryptography >=1.5 (installed: cryptography 42.0.2) Handling PyOpenSSL >=0.13 from wheel metadata: Requires-Dist Requirement satisfied: PyOpenSSL >=0.13 (installed: PyOpenSSL 22.0.0) Handling setuptools >=1.0 from wheel metadata: Requires-Dist Requirement satisfied: setuptools >=1.0 (installed: setuptools 68.0.0) Handling pytest ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest ; extra == 'dev' Handling tox ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: tox ; extra == 'dev' Handling Sphinx >=1.0 ; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: Sphinx >=1.0 ; extra == 'docs' Handling sphinx-rtd-theme >=1.0 ; extra == 'docs' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx-rtd-theme >=1.0 ; extra == 'docs' Handling pytest >=2.8.0 ; extra == 'tests' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest >=2.8.0 ; extra == 'tests' Handling types-pyOpenSSL ; extra == 'tests' from wheel metadata: Requires-Dist Ignoring alien requirement: types-pyOpenSSL ; extra == 'tests' Handling types-pyRFC3339 ; extra == 'tests' from wheel metadata: Requires-Dist Ignoring alien requirement: types-pyRFC3339 ; extra == 'tests' Handling types-requests ; extra == 'tests' from wheel metadata: Requires-Dist Ignoring alien requirement: types-requests ; extra == 'tests' Handling types-setuptools ; extra == 'tests' from wheel metadata: Requires-Dist Ignoring alien requirement: types-setuptools ; extra == 'tests' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RqugUH + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd josepy-1.13.0 + mkdir -p /builddir/build/BUILD/josepy-1.13.0/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + TMPDIR=/builddir/build/BUILD/josepy-1.13.0/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/josepy-1.13.0/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/josepy-1.13.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/josepy-1.13.0/.pyproject-builddir/pip-modern-metadata-xsee7__n/josepy.egg-info writing /builddir/build/BUILD/josepy-1.13.0/.pyproject-builddir/pip-modern-metadata-xsee7__n/josepy.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/josepy-1.13.0/.pyproject-builddir/pip-modern-metadata-xsee7__n/josepy.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/josepy-1.13.0/.pyproject-builddir/pip-modern-metadata-xsee7__n/josepy.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/josepy-1.13.0/.pyproject-builddir/pip-modern-metadata-xsee7__n/josepy.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/josepy-1.13.0/.pyproject-builddir/pip-modern-metadata-xsee7__n/josepy.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/josepy-1.13.0/.pyproject-builddir/pip-modern-metadata-xsee7__n/josepy.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/josepy-1.13.0/.pyproject-builddir/pip-modern-metadata-xsee7__n/josepy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file '/builddir/build/BUILD/josepy-1.13.0/.pyproject-builddir/pip-modern-metadata-xsee7__n/josepy.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/josepy-1.13.0/.pyproject-builddir/pip-modern-metadata-xsee7__n/josepy-1.13.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: josepy Building wheel for josepy (pyproject.toml): started Running command Building wheel for josepy (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/josepy copying src/josepy/__init__.py -> build/lib/josepy copying src/josepy/b64.py -> build/lib/josepy copying src/josepy/errors.py -> build/lib/josepy copying src/josepy/interfaces.py -> build/lib/josepy copying src/josepy/json_util.py -> build/lib/josepy copying src/josepy/jwa.py -> build/lib/josepy copying src/josepy/jwk.py -> build/lib/josepy copying src/josepy/jws.py -> build/lib/josepy copying src/josepy/magic_typing.py -> build/lib/josepy copying src/josepy/util.py -> build/lib/josepy running egg_info writing src/josepy.egg-info/PKG-INFO writing dependency_links to src/josepy.egg-info/dependency_links.txt writing entry points to src/josepy.egg-info/entry_points.txt writing requirements to src/josepy.egg-info/requires.txt writing top-level names to src/josepy.egg-info/top_level.txt reading manifest file 'src/josepy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'src/josepy.egg-info/SOURCES.txt' copying src/josepy/py.typed -> build/lib/josepy installing to build/bdist.linux-loongarch64/wheel running install running install_lib creating build/bdist.linux-loongarch64 creating build/bdist.linux-loongarch64/wheel creating build/bdist.linux-loongarch64/wheel/josepy copying build/lib/josepy/__init__.py -> build/bdist.linux-loongarch64/wheel/josepy copying build/lib/josepy/b64.py -> build/bdist.linux-loongarch64/wheel/josepy copying build/lib/josepy/errors.py -> build/bdist.linux-loongarch64/wheel/josepy copying build/lib/josepy/interfaces.py -> build/bdist.linux-loongarch64/wheel/josepy copying build/lib/josepy/json_util.py -> build/bdist.linux-loongarch64/wheel/josepy copying build/lib/josepy/jwa.py -> build/bdist.linux-loongarch64/wheel/josepy copying build/lib/josepy/jwk.py -> build/bdist.linux-loongarch64/wheel/josepy copying build/lib/josepy/jws.py -> build/bdist.linux-loongarch64/wheel/josepy copying build/lib/josepy/magic_typing.py -> build/bdist.linux-loongarch64/wheel/josepy copying build/lib/josepy/util.py -> build/bdist.linux-loongarch64/wheel/josepy copying build/lib/josepy/py.typed -> build/bdist.linux-loongarch64/wheel/josepy running install_egg_info Copying src/josepy.egg-info to build/bdist.linux-loongarch64/wheel/josepy-1.13.0-py3.11.egg-info running install_scripts creating build/bdist.linux-loongarch64/wheel/josepy-1.13.0.dist-info/WHEEL creating '/builddir/build/BUILD/josepy-1.13.0/.pyproject-builddir/pip-wheel-wwk3sb_a/.tmp-vkxctkwu/josepy-1.13.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-loongarch64/wheel' to it adding 'josepy/__init__.py' adding 'josepy/b64.py' adding 'josepy/errors.py' adding 'josepy/interfaces.py' adding 'josepy/json_util.py' adding 'josepy/jwa.py' adding 'josepy/jwk.py' adding 'josepy/jws.py' adding 'josepy/magic_typing.py' adding 'josepy/py.typed' adding 'josepy/util.py' adding 'josepy-1.13.0.dist-info/LICENSE.txt' adding 'josepy-1.13.0.dist-info/METADATA' adding 'josepy-1.13.0.dist-info/WHEEL' adding 'josepy-1.13.0.dist-info/entry_points.txt' adding 'josepy-1.13.0.dist-info/top_level.txt' adding 'josepy-1.13.0.dist-info/RECORD' removing build/bdist.linux-loongarch64/wheel Building wheel for josepy (pyproject.toml): finished with status 'done' Created wheel for josepy: filename=josepy-1.13.0-py2.py3-none-any.whl size=29481 sha256=ffbcfba8bdd88061da99db9bd06a0aaee3f31b7f8ecacd344a968111ca972503 Stored in directory: /builddir/.cache/pip/wheels/34/56/86/de9066a874261a3d83b485431affe24824087cab72e935dd87 Successfully built josepy + /usr/bin/python3 setup.py install --user running install /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! self.initialize_options() running bdist_egg running egg_info writing src/josepy.egg-info/PKG-INFO writing dependency_links to src/josepy.egg-info/dependency_links.txt writing entry points to src/josepy.egg-info/entry_points.txt writing requirements to src/josepy.egg-info/requires.txt writing top-level names to src/josepy.egg-info/top_level.txt reading manifest file 'src/josepy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'src/josepy.egg-info/SOURCES.txt' installing library code to build/bdist.linux-loongarch64/egg running install_lib running build_py creating build/bdist.linux-loongarch64/egg creating build/bdist.linux-loongarch64/egg/josepy copying build/lib/josepy/__init__.py -> build/bdist.linux-loongarch64/egg/josepy copying build/lib/josepy/b64.py -> build/bdist.linux-loongarch64/egg/josepy copying build/lib/josepy/errors.py -> build/bdist.linux-loongarch64/egg/josepy copying build/lib/josepy/interfaces.py -> build/bdist.linux-loongarch64/egg/josepy copying build/lib/josepy/json_util.py -> build/bdist.linux-loongarch64/egg/josepy copying build/lib/josepy/jwa.py -> build/bdist.linux-loongarch64/egg/josepy copying build/lib/josepy/jwk.py -> build/bdist.linux-loongarch64/egg/josepy copying build/lib/josepy/jws.py -> build/bdist.linux-loongarch64/egg/josepy copying build/lib/josepy/magic_typing.py -> build/bdist.linux-loongarch64/egg/josepy copying build/lib/josepy/util.py -> build/bdist.linux-loongarch64/egg/josepy copying build/lib/josepy/py.typed -> build/bdist.linux-loongarch64/egg/josepy byte-compiling build/bdist.linux-loongarch64/egg/josepy/__init__.py to __init__.cpython-311.pyc byte-compiling build/bdist.linux-loongarch64/egg/josepy/b64.py to b64.cpython-311.pyc byte-compiling build/bdist.linux-loongarch64/egg/josepy/errors.py to errors.cpython-311.pyc byte-compiling build/bdist.linux-loongarch64/egg/josepy/interfaces.py to interfaces.cpython-311.pyc byte-compiling build/bdist.linux-loongarch64/egg/josepy/json_util.py to json_util.cpython-311.pyc byte-compiling build/bdist.linux-loongarch64/egg/josepy/jwa.py to jwa.cpython-311.pyc byte-compiling build/bdist.linux-loongarch64/egg/josepy/jwk.py to jwk.cpython-311.pyc byte-compiling build/bdist.linux-loongarch64/egg/josepy/jws.py to jws.cpython-311.pyc byte-compiling build/bdist.linux-loongarch64/egg/josepy/magic_typing.py to magic_typing.cpython-311.pyc byte-compiling build/bdist.linux-loongarch64/egg/josepy/util.py to util.cpython-311.pyc creating build/bdist.linux-loongarch64/egg/EGG-INFO copying src/josepy.egg-info/PKG-INFO -> build/bdist.linux-loongarch64/egg/EGG-INFO copying src/josepy.egg-info/SOURCES.txt -> build/bdist.linux-loongarch64/egg/EGG-INFO copying src/josepy.egg-info/dependency_links.txt -> build/bdist.linux-loongarch64/egg/EGG-INFO copying src/josepy.egg-info/entry_points.txt -> build/bdist.linux-loongarch64/egg/EGG-INFO copying src/josepy.egg-info/requires.txt -> build/bdist.linux-loongarch64/egg/EGG-INFO copying src/josepy.egg-info/top_level.txt -> build/bdist.linux-loongarch64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... creating dist creating 'dist/josepy-1.13.0-py3.11.egg' and adding 'build/bdist.linux-loongarch64/egg' to it removing 'build/bdist.linux-loongarch64/egg' (and everything under it) Processing josepy-1.13.0-py3.11.egg Copying josepy-1.13.0-py3.11.egg to /builddir/.local/lib/python3.11/site-packages Adding josepy 1.13.0 to easy-install.pth file Installing jws script to /builddir/.local/bin Installed /builddir/.local/lib/python3.11/site-packages/josepy-1.13.0-py3.11.egg Processing dependencies for josepy==1.13.0 Searching for setuptools==68.0.0 Best match: setuptools 68.0.0 Adding setuptools 68.0.0 to easy-install.pth file detected new path './josepy-1.13.0-py3.11.egg' Using /usr/lib/python3.11/site-packages Searching for pyOpenSSL==22.0.0 Best match: pyOpenSSL 22.0.0 Adding pyOpenSSL 22.0.0 to easy-install.pth file Using /usr/lib/python3.11/site-packages Searching for cryptography==42.0.2 Best match: cryptography 42.0.2 Adding cryptography 42.0.2 to easy-install.pth file Using /usr/lib64/python3.11/site-packages Searching for cffi==1.15.1 Best match: cffi 1.15.1 Adding cffi 1.15.1 to easy-install.pth file Using /usr/lib64/python3.11/site-packages Searching for pycparser==2.21 Best match: pycparser 2.21 Adding pycparser 2.21 to easy-install.pth file Using /usr/lib/python3.11/site-packages Finished processing dependencies for josepy==1.13.0 + make -C docs man PATH=/builddir/.local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin SPHINXBUILD=sphinx-build-3 make: Entering directory '/builddir/build/BUILD/josepy-1.13.0/docs' Running Sphinx v7.0.1 WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid language code. Falling back to 'en' (English). making output directory... done WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and will be removed in Sphinx 8. Update to the current format as described in the documentation. Hint: "intersphinx_mapping = {'': ('https://docs.python.org/', None)}".https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and will be removed in Sphinx 8. Update to the current format as described in the documentation. Hint: "intersphinx_mapping = {'': ('https://cryptography.io/en/latest/', None)}".https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping loading intersphinx inventory from https://docs.python.org/objects.inv... loading intersphinx inventory from https://cryptography.io/en/latest/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /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/latest/objects.inv' not fetchable due to : HTTPSConnectionPool(host='cryptography.io', port=443): Max retries exceeded with url: /en/latest/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 [man]: all manpages updating environment: [new config] 11 added, 0 changed, 0 removed reading sources... [ 9%] api/base64 reading sources... [ 18%] api/errors reading sources... [ 27%] api/interfaces reading sources... [ 36%] api/json_util reading sources... [ 45%] api/jwa reading sources... [ 54%] api/jwk reading sources... [ 63%] api/jws reading sources... [ 72%] api/util reading sources... [ 81%] changelog reading sources... [ 90%] index reading sources... [100%] man/jws WARNING: autodoc: failed to import module 'b64' from module 'josepy'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/sphinx/ext/autodoc/importer.py", line 66, in import_module return importlib.import_module(modname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/.local/lib/python3.11/site-packages/josepy-1.13.0-py3.11.egg/josepy/__init__.py", line 40, in from josepy.json_util import ( File "/builddir/.local/lib/python3.11/site-packages/josepy-1.13.0-py3.11.egg/josepy/json_util.py", line 14, in from OpenSSL import crypto File "/usr/lib/python3.11/site-packages/OpenSSL/__init__.py", line 8, in from OpenSSL import crypto, SSL File "/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1570, in class X509StoreFlags(object): File "/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1589, in X509StoreFlags NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY' looking for now-outdated files... none found pickling environment... WARNING: autodoc: failed to import module 'json_util' from module 'josepy'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/sphinx/ext/autodoc/importer.py", line 66, in import_module return importlib.import_module(modname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/.local/lib/python3.11/site-packages/josepy-1.13.0-py3.11.egg/josepy/__init__.py", line 40, in from josepy.json_util import ( File "/builddir/.local/lib/python3.11/site-packages/josepy-1.13.0-py3.11.egg/josepy/json_util.py", line 14, in from OpenSSL import crypto File "/usr/lib/python3.11/site-packages/OpenSSL/__init__.py", line 8, in from OpenSSL import crypto, SSL File "/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1570, in class X509StoreFlags(object): File "/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1589, in X509StoreFlags NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY' WARNING: autodoc: failed to import module 'jwa' from module 'josepy'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/sphinx/ext/autodoc/importer.py", line 66, in import_module return importlib.import_module(modname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/.local/lib/python3.11/site-packages/josepy-1.13.0-py3.11.egg/josepy/__init__.py", line 40, in from josepy.json_util import ( File "/builddir/.local/lib/python3.11/site-packages/josepy-1.13.0-py3.11.egg/josepy/json_util.py", line 14, in from OpenSSL import crypto File "/usr/lib/python3.11/site-packages/OpenSSL/__init__.py", line 8, in from OpenSSL import crypto, SSL File "/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1570, in class X509StoreFlags(object): File "/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1589, in X509StoreFlags NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY' WARNING: autodoc: failed to import module 'jwk' from module 'josepy'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/sphinx/ext/autodoc/importer.py", line 66, in import_module return importlib.import_module(modname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/.local/lib/python3.11/site-packages/josepy-1.13.0-py3.11.egg/josepy/__init__.py", line 40, in from josepy.json_util import ( File "/builddir/.local/lib/python3.11/site-packages/josepy-1.13.0-py3.11.egg/josepy/json_util.py", line 14, in from OpenSSL import crypto File "/usr/lib/python3.11/site-packages/OpenSSL/__init__.py", line 8, in from OpenSSL import crypto, SSL File "/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1570, in class X509StoreFlags(object): File "/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1589, in X509StoreFlags NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY' WARNING: autodoc: failed to import module 'jws' from module 'josepy'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/sphinx/ext/autodoc/importer.py", line 66, in import_module return importlib.import_module(modname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/.local/lib/python3.11/site-packages/josepy-1.13.0-py3.11.egg/josepy/__init__.py", line 40, in from josepy.json_util import ( File "/builddir/.local/lib/python3.11/site-packages/josepy-1.13.0-py3.11.egg/josepy/json_util.py", line 14, in from OpenSSL import crypto File "/usr/lib/python3.11/site-packages/OpenSSL/__init__.py", line 8, in from OpenSSL import crypto, SSL File "/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1570, in class X509StoreFlags(object): File "/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1589, in X509StoreFlags NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY' WARNING: autodoc: failed to import module 'util' from module 'josepy'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/sphinx/ext/autodoc/importer.py", line 66, in import_module return importlib.import_module(modname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/.local/lib/python3.11/site-packages/josepy-1.13.0-py3.11.egg/josepy/__init__.py", line 40, in from josepy.json_util import ( File "/builddir/.local/lib/python3.11/site-packages/josepy-1.13.0-py3.11.egg/josepy/json_util.py", line 14, in from OpenSSL import crypto File "/usr/lib/python3.11/site-packages/OpenSSL/__init__.py", line 8, in from OpenSSL import crypto, SSL File "/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1570, in class X509StoreFlags(object): File "/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1589, in X509StoreFlags NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY' ../CHANGELOG.rst:27: ERROR: Unexpected indentation. WARNING: autodoc: failed to import module 'josepy'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/sphinx/ext/autodoc/importer.py", line 66, in import_module return importlib.import_module(modname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/.local/lib/python3.11/site-packages/josepy-1.13.0-py3.11.egg/josepy/__init__.py", line 40, in from josepy.json_util import ( File "/builddir/.local/lib/python3.11/site-packages/josepy-1.13.0-py3.11.egg/josepy/json_util.py", line 14, in from OpenSSL import crypto File "/usr/lib/python3.11/site-packages/OpenSSL/__init__.py", line 8, in from OpenSSL import crypto, SSL File "/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1570, in class X509StoreFlags(object): File "/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1589, in X509StoreFlags NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY' done checking consistency... done writing... josepy.1 { api/base64 api/errors /builddir/build/BUILD/josepy-1.13.0/docs/man/jws.rst: WARNING: document isn't included in any toctree api/interfaces api/json_util api/jwa api/jwk api/jws api/util changelog } jws.1 { } done build succeeded, 14 warnings. The manual pages are in _build/man. make: Leaving directory '/builddir/build/BUILD/josepy-1.13.0/docs' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CZg9qF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch + cd josepy-1.13.0 ++ ls /builddir/build/BUILD/josepy-1.13.0/pyproject-wheeldir/josepy-1.13.0-py2.py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=josepy==1.13.0 + TMPDIR=/builddir/build/BUILD/josepy-1.13.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/josepy-1.13.0/pyproject-wheeldir josepy==1.13.0 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) DEPRECATION: Loading egg at /builddir/.local/lib/python3.11/site-packages/josepy-1.13.0-py3.11.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330 Looking in links: /builddir/build/BUILD/josepy-1.13.0/pyproject-wheeldir Processing ./pyproject-wheeldir/josepy-1.13.0-py2.py3-none-any.whl Installing collected packages: josepy Creating /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/usr/bin/jws to 755 Successfully installed josepy-1.13.0 + '[' -d /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/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-josepy-1.13.0-4.ocs23.noarch/usr/bin/jws /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/usr/bin/jws: updating + rm -rfv /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/josepy-1.13.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/josepy-1.13.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/OpenCloudOS + /usr/bin/python3 -B /usr/lib/rpm/OpenCloudOS/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch --record /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/josepy-1.13.0.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/josepy-1.13.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/josepy-1.13.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/josepy-1.13.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/usr/lib/python3.11/site-packages/josepy-1.13.0.dist-info/REQUESTED' + /usr/bin/python3 /usr/lib/rpm/OpenCloudOS/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr josepy + install -Dpm0644 -t /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/usr/share/man/man1 docs/_build/man/josepy.1 docs/_build/man/jws.1 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.13.0-4.ocs23 --unique-debug-suffix -1.13.0-4.ocs23.noarch --unique-debug-src-base python-josepy-1.13.0-4.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/josepy-1.13.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.elsZcn + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd josepy-1.13.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + PATH=/builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-josepy-1.13.0-4.ocs23.noarch/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/josepy-1.13.0/.pyproject-builddir' + /usr/bin/pytest -Wdefault ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/josepy-1.13.0 configfile: pytest.ini collecting ... collected 23 items / 6 errors ==================================== ERRORS ==================================== ___________________ ERROR collecting tests/json_util_test.py ___________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1204: in _gcd_import ??? :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__) tests/json_util_test.py:6: in import test_util :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__) tests/test_util.py:10: in from OpenSSL import crypto /usr/lib/python3.11/site-packages/OpenSSL/__init__.py:8: in from OpenSSL import crypto, SSL /usr/lib/python3.11/site-packages/OpenSSL/crypto.py:1570: in class X509StoreFlags(object): /usr/lib/python3.11/site-packages/OpenSSL/crypto.py:1589: in X509StoreFlags NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY E AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY' ______________________ ERROR collecting tests/jwa_test.py ______________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1204: in _gcd_import ??? :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__) tests/jwa_test.py:5: in import test_util :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__) tests/test_util.py:10: in from OpenSSL import crypto /usr/lib/python3.11/site-packages/OpenSSL/__init__.py:8: in from OpenSSL import crypto, SSL /usr/lib/python3.11/site-packages/OpenSSL/crypto.py:1570: in class X509StoreFlags(object): /usr/lib/python3.11/site-packages/OpenSSL/crypto.py:1589: in X509StoreFlags NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY E AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY' ______________________ ERROR collecting tests/jwk_test.py ______________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1204: in _gcd_import ??? :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__) tests/jwk_test.py:5: in import test_util :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__) tests/test_util.py:10: in from OpenSSL import crypto /usr/lib/python3.11/site-packages/OpenSSL/__init__.py:8: in from OpenSSL import crypto, SSL /usr/lib/python3.11/site-packages/OpenSSL/crypto.py:1570: in class X509StoreFlags(object): /usr/lib/python3.11/site-packages/OpenSSL/crypto.py:1589: in X509StoreFlags NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY E AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY' ______________________ ERROR collecting tests/jws_test.py ______________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1204: in _gcd_import ??? :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__) tests/jws_test.py:6: in import OpenSSL /usr/lib/python3.11/site-packages/OpenSSL/__init__.py:8: in from OpenSSL import crypto, SSL /usr/lib/python3.11/site-packages/OpenSSL/crypto.py:1570: in class X509StoreFlags(object): /usr/lib/python3.11/site-packages/OpenSSL/crypto.py:1589: in X509StoreFlags NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY E AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY' _____________________ ERROR collecting tests/test_util.py ______________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1204: in _gcd_import ??? :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__) tests/test_util.py:10: in from OpenSSL import crypto /usr/lib/python3.11/site-packages/OpenSSL/__init__.py:8: in from OpenSSL import crypto, SSL /usr/lib/python3.11/site-packages/OpenSSL/crypto.py:1570: in class X509StoreFlags(object): /usr/lib/python3.11/site-packages/OpenSSL/crypto.py:1589: in X509StoreFlags NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY E AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY' _____________________ ERROR collecting tests/util_test.py ______________________ /usr/lib/python3.11/site-packages/_pytest/runner.py:341: in from_call result: Optional[TResult] = func() /usr/lib/python3.11/site-packages/_pytest/runner.py:372: in call = CallInfo.from_call(lambda: list(collector.collect()), "collect") /usr/lib/python3.11/site-packages/_pytest/python.py:531: in collect self._inject_setup_module_fixture() /usr/lib/python3.11/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture self.obj, ("setUpModule", "setup_module") /usr/lib/python3.11/site-packages/_pytest/python.py:310: in obj self._obj = obj = self._getobj() /usr/lib/python3.11/site-packages/_pytest/python.py:528: in _getobj return self._importtestmodule() /usr/lib/python3.11/site-packages/_pytest/python.py:617: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) /usr/lib/python3.11/site-packages/_pytest/pathlib.py:565: in import_path importlib.import_module(module_name) /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1204: in _gcd_import ??? :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__) tests/util_test.py:5: in import test_util :1176: in _find_and_load ??? :1147: in _find_and_load_unlocked ??? :690: in _load_unlocked ??? /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:178: in exec_module exec(co, module.__dict__) tests/test_util.py:10: in from OpenSSL import crypto /usr/lib/python3.11/site-packages/OpenSSL/__init__.py:8: in from OpenSSL import crypto, SSL /usr/lib/python3.11/site-packages/OpenSSL/crypto.py:1570: in class X509StoreFlags(object): /usr/lib/python3.11/site-packages/OpenSSL/crypto.py:1589: in X509StoreFlags NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY E AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY' =========================== short test summary info ============================ ERROR tests/json_util_test.py - AttributeError: module 'lib' has no attribute... ERROR tests/jwa_test.py - AttributeError: module 'lib' has no attribute 'X509... ERROR tests/jwk_test.py - AttributeError: module 'lib' has no attribute 'X509... ERROR tests/jws_test.py - AttributeError: module 'lib' has no attribute 'X509... ERROR tests/test_util.py - AttributeError: module 'lib' has no attribute 'X50... ERROR tests/util_test.py - AttributeError: module 'lib' has no attribute 'X50... !!!!!!!!!!!!!!!!!!! Interrupted: 6 errors during collection !!!!!!!!!!!!!!!!!!!! ============================== 6 errors in 1.79s =============================== RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.elsZcn (%check) Bad exit status from /var/tmp/rpm-tmp.elsZcn (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-josepy.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/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: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-josepy.spec