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 loongarch64 --nodeps /builddir/build/SPECS/python-tpm2-pytss.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-237468-21044/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 loongarch64 --nodeps /builddir/build/SPECS/python-tpm2-pytss.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/python-tpm2-pytss-2.1.0-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --nodeps /builddir/build/SPECS/python-tpm2-pytss.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-237468-21044/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 loongarch64 --nodeps /builddir/build/SPECS/python-tpm2-pytss.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aUEN7k + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tpm2-pytss-2.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tpm2-pytss-2.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tpm2-pytss-2.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python-tpm2-pytss-1.2.0-openssl.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.AxmCfB + umask 022 + cd /builddir/build/BUILD + cd tpm2-pytss-2.1.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Import error: No module named 'toml' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-tpm2-pytss-2.1.0-3.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 loongarch64 --nodeps /builddir/build/SPECS/python-tpm2-pytss.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-237468-21044/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 loongarch64 --nodeps /builddir/build/SPECS/python-tpm2-pytss.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.O6dqfr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tpm2-pytss-2.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tpm2-pytss-2.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tpm2-pytss-2.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python-tpm2-pytss-1.2.0-openssl.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.HskZfe + umask 022 + cd /builddir/build/BUILD + cd tpm2-pytss-2.1.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools>=44 from build-system.requires Requirement satisfied: setuptools>=44 (installed: setuptools 68.0.0) Handling wheel from build-system.requires Requirement not satisfied: wheel Handling setuptools_scm[toml]>=3.4.3 from build-system.requires Requirement not satisfied: setuptools_scm[toml]>=3.4.3 Handling pycparser from build-system.requires Requirement not satisfied: pycparser Handling pkgconfig from build-system.requires Requirement not satisfied: pkgconfig Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-tpm2-pytss-2.1.0-3.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 loongarch64 --nodeps /builddir/build/SPECS/python-tpm2-pytss.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-237468-21044/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 loongarch64 --nodeps /builddir/build/SPECS/python-tpm2-pytss.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7xtM9I + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tpm2-pytss-2.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tpm2-pytss-2.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tpm2-pytss-2.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python-tpm2-pytss-1.2.0-openssl.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.ZSiWhc + umask 022 + cd /builddir/build/BUILD + cd tpm2-pytss-2.1.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools>=44 from build-system.requires Requirement satisfied: setuptools>=44 (installed: setuptools 68.0.0) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.41.2) Handling setuptools_scm[toml]>=3.4.3 from build-system.requires Requirement satisfied: setuptools_scm[toml]>=3.4.3 (installed: setuptools_scm 8.0.4) (extras are currently not checked) Handling pycparser from build-system.requires Requirement satisfied: pycparser (installed: pycparser 2.21) Handling pkgconfig from build-system.requires Requirement satisfied: pkgconfig (installed: pkgconfig 1.5.5) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling setuptools_scm[toml]>=3.4.3 from get_requires_for_build_wheel Requirement satisfied: setuptools_scm[toml]>=3.4.3 (installed: setuptools_scm 8.0.4) (extras are currently not checked) Handling cffi>=1.0.0 from get_requires_for_build_wheel Requirement not satisfied: cffi>=1.0.0 Handling pkgconfig from get_requires_for_build_wheel Requirement satisfied: pkgconfig (installed: pkgconfig 1.5.5) Handling cryptography>=3.0 from get_requires_for_build_wheel Requirement not satisfied: cryptography>=3.0 Handling asn1crypto from get_requires_for_build_wheel Requirement not satisfied: asn1crypto Handling packaging from get_requires_for_build_wheel Requirement satisfied: packaging (installed: packaging 23.1) Handling pycparser from get_requires_for_build_wheel Requirement satisfied: pycparser (installed: pycparser 2.21) Exiting dependency generation pass: get_requires_for_build_wheel + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-tpm2-pytss-2.1.0-3.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 loongarch64 --nodeps /builddir/build/SPECS/python-tpm2-pytss.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-237468-21044/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 loongarch64 --nodeps /builddir/build/SPECS/python-tpm2-pytss.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rG6PgJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tpm2-pytss-2.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tpm2-pytss-2.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tpm2-pytss-2.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python-tpm2-pytss-1.2.0-openssl.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.nXPnxy + umask 022 + cd /builddir/build/BUILD + cd tpm2-pytss-2.1.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools>=44 from build-system.requires Requirement satisfied: setuptools>=44 (installed: setuptools 68.0.0) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.41.2) Handling setuptools_scm[toml]>=3.4.3 from build-system.requires Requirement satisfied: setuptools_scm[toml]>=3.4.3 (installed: setuptools_scm 8.0.4) (extras are currently not checked) Handling pycparser from build-system.requires Requirement satisfied: pycparser (installed: pycparser 2.21) Handling pkgconfig from build-system.requires Requirement satisfied: pkgconfig (installed: pkgconfig 1.5.5) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling setuptools_scm[toml]>=3.4.3 from get_requires_for_build_wheel Requirement satisfied: setuptools_scm[toml]>=3.4.3 (installed: setuptools_scm 8.0.4) (extras are currently not checked) Handling cffi>=1.0.0 from get_requires_for_build_wheel Requirement satisfied: cffi>=1.0.0 (installed: cffi 1.16.0) Handling pkgconfig from get_requires_for_build_wheel Requirement satisfied: pkgconfig (installed: pkgconfig 1.5.5) Handling cryptography>=3.0 from get_requires_for_build_wheel Requirement satisfied: cryptography>=3.0 (installed: cryptography 41.0.4) Handling asn1crypto from get_requires_for_build_wheel Requirement satisfied: asn1crypto (installed: asn1crypto 1.5.1) Handling packaging from get_requires_for_build_wheel Requirement satisfied: packaging (installed: packaging 23.1) Handling pycparser from get_requires_for_build_wheel Requirement satisfied: pycparser (installed: pycparser 2.21) warning: no files found matching 'src/tpm2_pytss/version' warning: no files found matching 'src/tpm2_pytss/config.json' warning: no files found matching '*' under directory 'src/tpm2_pytss/swig' warning: no files found matching '*' under directory 'tests' warning: no files found matching '*' under directory 'examples' warning: no previously-included files found matching 'src/tpm2_pytss/internal/type_mapping.py' HOOK STDOUT: adding path: /builddir/build/BUILD/tpm2-pytss-2.1.0/scripts Handling cffi >=1.0.0 from wheel metadata: Requires-Dist Requirement satisfied: cffi >=1.0.0 (installed: cffi 1.16.0) Handling asn1crypto from wheel metadata: Requires-Dist Requirement satisfied: asn1crypto (installed: asn1crypto 1.5.1) Handling cryptography >=3.0 from wheel metadata: Requires-Dist Requirement satisfied: cryptography >=3.0 (installed: cryptography 41.0.4) Handling packaging from wheel metadata: Requires-Dist Requirement satisfied: packaging (installed: packaging 23.1) Handling pyyaml from wheel metadata: Requires-Dist Requirement not satisfied: pyyaml Handling docutils ==0.16 ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: docutils ==0.16 ; extra == 'dev' Handling coverage ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: coverage ; extra == 'dev' Handling codecov ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: codecov ; extra == 'dev' Handling sphinx ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx ; extra == 'dev' Handling sphinx-rtd-theme ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx-rtd-theme ; extra == 'dev' Handling twine ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: twine ; extra == 'dev' Handling setuptools-scm[toml] >=3.4.3 ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: setuptools-scm[toml] >=3.4.3 ; extra == 'dev' Handling black ==19.10b0 ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: black ==19.10b0 ; extra == 'dev' Handling pytest ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest ; extra == 'dev' Handling pytest-xdist ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest-xdist ; extra == 'dev' Handling pytest-cov ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest-cov ; extra == 'dev' Handling myst-parser ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: myst-parser ; extra == 'dev' Handling build ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: build ; extra == 'dev' Handling installer ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: installer ; extra == 'dev' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-tpm2-pytss-2.1.0-3.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 loongarch64 --nodeps /builddir/build/SPECS/python-tpm2-pytss.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-237468-21044/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 loongarch64 --nodeps /builddir/build/SPECS/python-tpm2-pytss.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Iz6YTo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tpm2-pytss-2.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tpm2-pytss-2.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tpm2-pytss-2.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python-tpm2-pytss-1.2.0-openssl.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.nzknSn + umask 022 + cd /builddir/build/BUILD + cd tpm2-pytss-2.1.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools>=44 from build-system.requires Requirement satisfied: setuptools>=44 (installed: setuptools 68.0.0) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.41.2) Handling setuptools_scm[toml]>=3.4.3 from build-system.requires Requirement satisfied: setuptools_scm[toml]>=3.4.3 (installed: setuptools_scm 8.0.4) (extras are currently not checked) Handling pycparser from build-system.requires Requirement satisfied: pycparser (installed: pycparser 2.21) Handling pkgconfig from build-system.requires Requirement satisfied: pkgconfig (installed: pkgconfig 1.5.5) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling setuptools_scm[toml]>=3.4.3 from get_requires_for_build_wheel Requirement satisfied: setuptools_scm[toml]>=3.4.3 (installed: setuptools_scm 8.0.4) (extras are currently not checked) Handling cffi>=1.0.0 from get_requires_for_build_wheel Requirement satisfied: cffi>=1.0.0 (installed: cffi 1.16.0) Handling pkgconfig from get_requires_for_build_wheel Requirement satisfied: pkgconfig (installed: pkgconfig 1.5.5) Handling cryptography>=3.0 from get_requires_for_build_wheel Requirement satisfied: cryptography>=3.0 (installed: cryptography 41.0.4) Handling asn1crypto from get_requires_for_build_wheel Requirement satisfied: asn1crypto (installed: asn1crypto 1.5.1) Handling packaging from get_requires_for_build_wheel Requirement satisfied: packaging (installed: packaging 23.1) Handling pycparser from get_requires_for_build_wheel Requirement satisfied: pycparser (installed: pycparser 2.21) warning: no files found matching 'src/tpm2_pytss/version' warning: no files found matching 'src/tpm2_pytss/config.json' warning: no files found matching '*' under directory 'src/tpm2_pytss/swig' warning: no files found matching '*' under directory 'tests' warning: no files found matching '*' under directory 'examples' warning: no previously-included files found matching 'src/tpm2_pytss/internal/type_mapping.py' HOOK STDOUT: adding path: /builddir/build/BUILD/tpm2-pytss-2.1.0/scripts Handling cffi >=1.0.0 from wheel metadata: Requires-Dist Requirement satisfied: cffi >=1.0.0 (installed: cffi 1.16.0) Handling asn1crypto from wheel metadata: Requires-Dist Requirement satisfied: asn1crypto (installed: asn1crypto 1.5.1) Handling cryptography >=3.0 from wheel metadata: Requires-Dist Requirement satisfied: cryptography >=3.0 (installed: cryptography 41.0.4) Handling packaging from wheel metadata: Requires-Dist Requirement satisfied: packaging (installed: packaging 23.1) Handling pyyaml from wheel metadata: Requires-Dist Requirement satisfied: pyyaml (installed: pyyaml 6.0.1) Handling docutils ==0.16 ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: docutils ==0.16 ; extra == 'dev' Handling coverage ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: coverage ; extra == 'dev' Handling codecov ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: codecov ; extra == 'dev' Handling sphinx ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx ; extra == 'dev' Handling sphinx-rtd-theme ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx-rtd-theme ; extra == 'dev' Handling twine ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: twine ; extra == 'dev' Handling setuptools-scm[toml] >=3.4.3 ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: setuptools-scm[toml] >=3.4.3 ; extra == 'dev' Handling black ==19.10b0 ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: black ==19.10b0 ; extra == 'dev' Handling pytest ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest ; extra == 'dev' Handling pytest-xdist ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest-xdist ; extra == 'dev' Handling pytest-cov ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest-cov ; extra == 'dev' Handling myst-parser ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: myst-parser ; extra == 'dev' Handling build ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: build ; extra == 'dev' Handling installer ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: installer ; extra == 'dev' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-tpm2-pytss-2.1.0-3.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 loongarch64 --nodeps /builddir/build/SPECS/python-tpm2-pytss.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-237468-21044/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 loongarch64 --nodeps /builddir/build/SPECS/python-tpm2-pytss.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: loongarch64 Building for target loongarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.TPvcqA + umask 022 + cd /builddir/build/BUILD + cd tpm2-pytss-2.1.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv tpm2_pytss-2.1.0.dist-info/ removed 'tpm2_pytss-2.1.0.dist-info/top_level.txt' removed 'tpm2_pytss-2.1.0.dist-info/METADATA' removed 'tpm2_pytss-2.1.0.dist-info/LICENSE' removed directory 'tpm2_pytss-2.1.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>=44 from build-system.requires Requirement satisfied: setuptools>=44 (installed: setuptools 68.0.0) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.41.2) Handling setuptools_scm[toml]>=3.4.3 from build-system.requires Requirement satisfied: setuptools_scm[toml]>=3.4.3 (installed: setuptools_scm 8.0.4) (extras are currently not checked) Handling pycparser from build-system.requires Requirement satisfied: pycparser (installed: pycparser 2.21) Handling pkgconfig from build-system.requires Requirement satisfied: pkgconfig (installed: pkgconfig 1.5.5) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling setuptools_scm[toml]>=3.4.3 from get_requires_for_build_wheel Requirement satisfied: setuptools_scm[toml]>=3.4.3 (installed: setuptools_scm 8.0.4) (extras are currently not checked) Handling cffi>=1.0.0 from get_requires_for_build_wheel Requirement satisfied: cffi>=1.0.0 (installed: cffi 1.16.0) Handling pkgconfig from get_requires_for_build_wheel Requirement satisfied: pkgconfig (installed: pkgconfig 1.5.5) Handling cryptography>=3.0 from get_requires_for_build_wheel Requirement satisfied: cryptography>=3.0 (installed: cryptography 41.0.4) Handling asn1crypto from get_requires_for_build_wheel Requirement satisfied: asn1crypto (installed: asn1crypto 1.5.1) Handling packaging from get_requires_for_build_wheel Requirement satisfied: packaging (installed: packaging 23.1) Handling pycparser from get_requires_for_build_wheel Requirement satisfied: pycparser (installed: pycparser 2.21) warning: no files found matching 'src/tpm2_pytss/version' warning: no files found matching 'src/tpm2_pytss/config.json' warning: no files found matching '*' under directory 'src/tpm2_pytss/swig' warning: no files found matching '*' under directory 'tests' warning: no files found matching '*' under directory 'examples' warning: no previously-included files found matching 'src/tpm2_pytss/internal/type_mapping.py' HOOK STDOUT: adding path: /builddir/build/BUILD/tpm2-pytss-2.1.0/scripts Handling cffi >=1.0.0 from wheel metadata: Requires-Dist Requirement satisfied: cffi >=1.0.0 (installed: cffi 1.16.0) Handling asn1crypto from wheel metadata: Requires-Dist Requirement satisfied: asn1crypto (installed: asn1crypto 1.5.1) Handling cryptography >=3.0 from wheel metadata: Requires-Dist Requirement satisfied: cryptography >=3.0 (installed: cryptography 41.0.4) Handling packaging from wheel metadata: Requires-Dist Requirement satisfied: packaging (installed: packaging 23.1) Handling pyyaml from wheel metadata: Requires-Dist Requirement satisfied: pyyaml (installed: pyyaml 6.0.1) Handling docutils ==0.16 ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: docutils ==0.16 ; extra == 'dev' Handling coverage ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: coverage ; extra == 'dev' Handling codecov ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: codecov ; extra == 'dev' Handling sphinx ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx ; extra == 'dev' Handling sphinx-rtd-theme ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: sphinx-rtd-theme ; extra == 'dev' Handling twine ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: twine ; extra == 'dev' Handling setuptools-scm[toml] >=3.4.3 ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: setuptools-scm[toml] >=3.4.3 ; extra == 'dev' Handling black ==19.10b0 ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: black ==19.10b0 ; extra == 'dev' Handling pytest ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest ; extra == 'dev' Handling pytest-xdist ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest-xdist ; extra == 'dev' Handling pytest-cov ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: pytest-cov ; extra == 'dev' Handling myst-parser ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: myst-parser ; extra == 'dev' Handling build ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: build ; extra == 'dev' Handling installer ; extra == 'dev' from wheel metadata: Requires-Dist Ignoring alien requirement: installer ; extra == 'dev' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ombWyL + 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/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd tpm2-pytss-2.1.0 + mkdir -p /builddir/build/BUILD/tpm2-pytss-2.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/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/tpm2-pytss-2.1.0/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/tpm2-pytss-2.1.0/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/tpm2-pytss-2.1.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) adding path: /builddir/build/BUILD/tpm2-pytss-2.1.0/scripts running dist_info creating /builddir/build/BUILD/tpm2-pytss-2.1.0/.pyproject-builddir/pip-modern-metadata-thfd3qgi/tpm2_pytss.egg-info writing /builddir/build/BUILD/tpm2-pytss-2.1.0/.pyproject-builddir/pip-modern-metadata-thfd3qgi/tpm2_pytss.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/tpm2-pytss-2.1.0/.pyproject-builddir/pip-modern-metadata-thfd3qgi/tpm2_pytss.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/tpm2-pytss-2.1.0/.pyproject-builddir/pip-modern-metadata-thfd3qgi/tpm2_pytss.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/tpm2-pytss-2.1.0/.pyproject-builddir/pip-modern-metadata-thfd3qgi/tpm2_pytss.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/tpm2-pytss-2.1.0/.pyproject-builddir/pip-modern-metadata-thfd3qgi/tpm2_pytss.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/tpm2-pytss-2.1.0/.pyproject-builddir/pip-modern-metadata-thfd3qgi/tpm2_pytss.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'src/tpm2_pytss/version' warning: no files found matching 'src/tpm2_pytss/config.json' warning: no files found matching '*' under directory 'src/tpm2_pytss/swig' warning: no files found matching '*' under directory 'tests' warning: no files found matching '*' under directory 'examples' warning: no previously-included files found matching 'src/tpm2_pytss/internal/type_mapping.py' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/tpm2-pytss-2.1.0/.pyproject-builddir/pip-modern-metadata-thfd3qgi/tpm2_pytss.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/tpm2-pytss-2.1.0/.pyproject-builddir/pip-modern-metadata-thfd3qgi/tpm2_pytss-2.1.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: tpm2-pytss Building wheel for tpm2-pytss (pyproject.toml): started Running command Building wheel for tpm2-pytss (pyproject.toml) adding path: /builddir/build/BUILD/tpm2-pytss-2.1.0/scripts running bdist_wheel running build running build_py creating build creating build/lib.linux-loongarch64-cpython-311 creating build/lib.linux-loongarch64-cpython-311/tpm2_pytss copying src/tpm2_pytss/ESAPI.py -> build/lib.linux-loongarch64-cpython-311/tpm2_pytss copying src/tpm2_pytss/FAPI.py -> build/lib.linux-loongarch64-cpython-311/tpm2_pytss copying src/tpm2_pytss/TCTI.py -> build/lib.linux-loongarch64-cpython-311/tpm2_pytss copying src/tpm2_pytss/TCTILdr.py -> build/lib.linux-loongarch64-cpython-311/tpm2_pytss copying src/tpm2_pytss/TCTISPIHelper.py -> build/lib.linux-loongarch64-cpython-311/tpm2_pytss copying src/tpm2_pytss/TSS2_Exception.py -> build/lib.linux-loongarch64-cpython-311/tpm2_pytss copying src/tpm2_pytss/__init__.py -> build/lib.linux-loongarch64-cpython-311/tpm2_pytss copying src/tpm2_pytss/constants.py -> build/lib.linux-loongarch64-cpython-311/tpm2_pytss copying src/tpm2_pytss/encoding.py -> build/lib.linux-loongarch64-cpython-311/tpm2_pytss copying src/tpm2_pytss/fapi_info.py -> build/lib.linux-loongarch64-cpython-311/tpm2_pytss copying src/tpm2_pytss/policy.py -> build/lib.linux-loongarch64-cpython-311/tpm2_pytss copying src/tpm2_pytss/tsskey.py -> build/lib.linux-loongarch64-cpython-311/tpm2_pytss copying src/tpm2_pytss/types.py -> build/lib.linux-loongarch64-cpython-311/tpm2_pytss copying src/tpm2_pytss/utils.py -> build/lib.linux-loongarch64-cpython-311/tpm2_pytss creating build/lib.linux-loongarch64-cpython-311/tpm2_pytss/internal copying src/tpm2_pytss/internal/__init__.py -> build/lib.linux-loongarch64-cpython-311/tpm2_pytss/internal copying src/tpm2_pytss/internal/crypto.py -> build/lib.linux-loongarch64-cpython-311/tpm2_pytss/internal copying src/tpm2_pytss/internal/templates.py -> build/lib.linux-loongarch64-cpython-311/tpm2_pytss/internal copying src/tpm2_pytss/internal/utils.py -> build/lib.linux-loongarch64-cpython-311/tpm2_pytss/internal running build_ext generating cffi module 'build/temp.linux-loongarch64-cpython-311/tpm2_pytss._libtpm2_pytss.c' creating build/temp.linux-loongarch64-cpython-311 building 'tpm2_pytss._libtpm2_pytss' extension creating build/temp.linux-loongarch64-cpython-311/build creating build/temp.linux-loongarch64-cpython-311/build/temp.linux-loongarch64-cpython-311 gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include -I/usr/include/tss2 -I/usr/include/tss -I/usr/include/json-c -I/usr/include/uuid -I/usr/include/python3.11 -c build/temp.linux-loongarch64-cpython-311/tpm2_pytss._libtpm2_pytss.c -o build/temp.linux-loongarch64-cpython-311/build/temp.linux-loongarch64-cpython-311/tpm2_pytss._libtpm2_pytss.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-loongarch64-cpython-311/build/temp.linux-loongarch64-cpython-311/tpm2_pytss._libtpm2_pytss.o -L/usr/lib64 -ltss2-esys -ltss2-tctildr -ltss2-rc -ltss2-mu -ltss2-fapi -ltss2-policy -ltss2-tcti-spi-helper -o build/lib.linux-loongarch64-cpython-311/tpm2_pytss/_libtpm2_pytss.abi3.so generated _type_map with 62 mappings in build/lib.linux-loongarch64-cpython-311/tpm2_pytss/internal/type_mapping.py and /builddir/build/BUILD/tpm2-pytss-2.1.0/src/tpm2_pytss/internal/type_mapping.py generated _element_type_map with 5 mappings generated _versions with 4 versions 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/tpm2_pytss copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/ESAPI.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/FAPI.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/TCTI.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/TCTILdr.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/TCTISPIHelper.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/TSS2_Exception.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/__init__.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/constants.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/encoding.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/fapi_info.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/policy.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/tsskey.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/types.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/utils.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss creating build/bdist.linux-loongarch64/wheel/tpm2_pytss/internal copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/internal/__init__.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss/internal copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/internal/crypto.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss/internal copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/internal/templates.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss/internal copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/internal/utils.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss/internal copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/internal/type_mapping.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss/internal copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/internal/versions.py -> build/bdist.linux-loongarch64/wheel/tpm2_pytss/internal copying build/lib.linux-loongarch64-cpython-311/tpm2_pytss/_libtpm2_pytss.abi3.so -> build/bdist.linux-loongarch64/wheel/tpm2_pytss running install_egg_info running egg_info writing src/tpm2_pytss.egg-info/PKG-INFO writing dependency_links to src/tpm2_pytss.egg-info/dependency_links.txt writing requirements to src/tpm2_pytss.egg-info/requires.txt writing top-level names to src/tpm2_pytss.egg-info/top_level.txt reading manifest file 'src/tpm2_pytss.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'src/tpm2_pytss/version' warning: no files found matching 'src/tpm2_pytss/config.json' warning: no files found matching '*' under directory 'src/tpm2_pytss/swig' warning: no files found matching '*' under directory 'tests' warning: no files found matching '*' under directory 'examples' warning: no previously-included files found matching 'src/tpm2_pytss/internal/type_mapping.py' adding license file 'LICENSE' writing manifest file 'src/tpm2_pytss.egg-info/SOURCES.txt' Copying src/tpm2_pytss.egg-info to build/bdist.linux-loongarch64/wheel/tpm2_pytss-2.1.0-py3.11.egg-info running install_scripts creating build/bdist.linux-loongarch64/wheel/tpm2_pytss-2.1.0.dist-info/WHEEL creating '/builddir/build/BUILD/tpm2-pytss-2.1.0/.pyproject-builddir/pip-wheel-zy6qfy6x/.tmp-m60zwwh1/tpm2_pytss-2.1.0-cp311-cp311-linux_loongarch64.whl' and adding 'build/bdist.linux-loongarch64/wheel' to it adding 'tpm2_pytss/ESAPI.py' adding 'tpm2_pytss/FAPI.py' adding 'tpm2_pytss/TCTI.py' adding 'tpm2_pytss/TCTILdr.py' adding 'tpm2_pytss/TCTISPIHelper.py' adding 'tpm2_pytss/TSS2_Exception.py' adding 'tpm2_pytss/__init__.py' adding 'tpm2_pytss/_libtpm2_pytss.abi3.so' adding 'tpm2_pytss/constants.py' adding 'tpm2_pytss/encoding.py' adding 'tpm2_pytss/fapi_info.py' adding 'tpm2_pytss/policy.py' adding 'tpm2_pytss/tsskey.py' adding 'tpm2_pytss/types.py' adding 'tpm2_pytss/utils.py' adding 'tpm2_pytss/internal/__init__.py' adding 'tpm2_pytss/internal/crypto.py' adding 'tpm2_pytss/internal/templates.py' adding 'tpm2_pytss/internal/type_mapping.py' adding 'tpm2_pytss/internal/utils.py' adding 'tpm2_pytss/internal/versions.py' adding 'tpm2_pytss-2.1.0.dist-info/LICENSE' adding 'tpm2_pytss-2.1.0.dist-info/METADATA' adding 'tpm2_pytss-2.1.0.dist-info/WHEEL' adding 'tpm2_pytss-2.1.0.dist-info/top_level.txt' adding 'tpm2_pytss-2.1.0.dist-info/RECORD' removing build/bdist.linux-loongarch64/wheel Building wheel for tpm2-pytss (pyproject.toml): finished with status 'done' Created wheel for tpm2-pytss: filename=tpm2_pytss-2.1.0-cp311-cp311-linux_loongarch64.whl size=876065 sha256=69e59a78be5cc29095651fdb986face548ac9fde5c49417deb85ef080ef7c3b4 Stored in directory: /builddir/.cache/pip/wheels/ce/41/9a/e46a2f2390010a58870f05457ecd01a990665a3d043f4db970 Successfully built tpm2-pytss + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.v3UW4x + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64 + cd tpm2-pytss-2.1.0 ++ ls /builddir/build/BUILD/tpm2-pytss-2.1.0/pyproject-wheeldir/tpm2_pytss-2.1.0-cp311-cp311-linux_loongarch64.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=tpm2_pytss==2.1.0 + TMPDIR=/builddir/build/BUILD/tpm2-pytss-2.1.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64 --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/tpm2-pytss-2.1.0/pyproject-wheeldir tpm2_pytss==2.1.0 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/tpm2-pytss-2.1.0/pyproject-wheeldir Processing ./pyproject-wheeldir/tpm2_pytss-2.1.0-cp311-cp311-linux_loongarch64.whl Installing collected packages: tpm2_pytss Successfully installed tpm2_pytss-2.1.0 + '[' -d /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64/usr/lib/python3.11/site-packages ']' + '[' /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64/usr/lib64/python3.11/site-packages ']' + site_dirs+=("/usr/lib64/python3.11/site-packages") + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64$site_dir/*.dist-info + echo '%ghost /usr/lib64/python3.11/site-packages/tpm2_pytss-2.1.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64/usr/lib64/python3.11/site-packages/tpm2_pytss-2.1.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-tpm2-pytss-2.1.0-3.ocs23.loongarch64 --record /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64/usr/lib64/python3.11/site-packages/tpm2_pytss-2.1.0.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64/usr/lib64/python3.11/site-packages/tpm2_pytss-2.1.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64/usr/lib64/python3.11/site-packages/tpm2_pytss-2.1.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64/usr/lib64/python3.11/site-packages/tpm2_pytss-2.1.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64/usr/lib64/python3.11/site-packages/tpm2_pytss-2.1.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-tpm2-pytss-2.1.0-3.ocs23.loongarch64 --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 tpm2_pytss + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.1.0-3.ocs23 --unique-debug-suffix -2.1.0-3.ocs23.loongarch64 --unique-debug-src-base python-tpm2-pytss-2.1.0-3.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/tpm2-pytss-2.1.0 extracting debug info from /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64/usr/lib64/python3.11/site-packages/tpm2_pytss/_libtpm2_pytss.abi3.so 5214 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64/usr/lib/debug/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.OuhupN + 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/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd tpm2-pytss-2.1.0 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-tpm2-pytss-2.1.0-3.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.N89ifS + umask 022 + cd /builddir/build/BUILD + cd tpm2-pytss-2.1.0 + DOCDIR=/builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64/usr/share/doc/python3-tpm2-pytss + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64/usr/share/doc/python3-tpm2-pytss + cp -pr README.md /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64/usr/share/doc/python3-tpm2-pytss + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-tpm2-pytss = 2.1.0-3.ocs23 python3-tpm2-pytss = 2.1.0-3.ocs23 python3-tpm2-pytss(loongarch-64) = 2.1.0-3.ocs23 python3.11-tpm2-pytss = 2.1.0-3.ocs23 python3.11dist(tpm2-pytss) = 2.1 python3dist(tpm2-pytss) = 2.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libtss2-esys.so.0()(64bit) libtss2-fapi.so.1()(64bit) libtss2-mu.so.0()(64bit) libtss2-policy.so.0()(64bit) libtss2-rc.so.0()(64bit) libtss2-tcti-spi-helper.so.0()(64bit) libtss2-tctildr.so.0()(64bit) python(abi) = 3.11 python3.11dist(asn1crypto) python3.11dist(cffi) >= 1 python3.11dist(cryptography) >= 3 python3.11dist(packaging) python3.11dist(pyyaml) rtld(GNU_HASH) Obsoletes: python3.11-tpm2-pytss < 2.1.0-3.ocs23 Processing files: python-tpm2-pytss-debugsource-2.1.0-3.ocs23.loongarch64 Provides: python-tpm2-pytss-debugsource = 2.1.0-3.ocs23 python-tpm2-pytss-debugsource(loongarch-64) = 2.1.0-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-tpm2-pytss-debuginfo-2.1.0-3.ocs23.loongarch64 Provides: debuginfo(build-id) = 3c91be891021b575804732b05fcc1ea81283e0d8 python-tpm2-pytss-debuginfo = 2.1.0-3.ocs23 python3-tpm2-pytss-debuginfo = 2.1.0-3.ocs23 python3-tpm2-pytss-debuginfo(loongarch-64) = 2.1.0-3.ocs23 python3.11-tpm2-pytss-debuginfo = 2.1.0-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-tpm2-pytss-debugsource(loongarch-64) = 2.1.0-3.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-tpm2-pytss-2.1.0-3.ocs23.loongarch64 Wrote: /builddir/build/SRPMS/python-tpm2-pytss-2.1.0-3.ocs23.src.rpm Wrote: /builddir/build/RPMS/python-tpm2-pytss-debugsource-2.1.0-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/python3-tpm2-pytss-2.1.0-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/python3-tpm2-pytss-debuginfo-2.1.0-3.ocs23.loongarch64.rpm Child return code was: 0