D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/python-tpm2-pytss-2.3.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cStoYZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build + test -d /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.l2H0jr + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build + rm -rf tpm2-pytss-2.3.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/tpm2-pytss-2.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tpm2-pytss-2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pZ7xEO + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build + cd tpm2-pytss-2.3.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + : + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + true + for f in pyproject.toml setup.py setup.cfg + '[' -f pyproject.toml ']' + sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' pyproject.toml + sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' pyproject.toml + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' pyproject.toml + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' pyproject.toml + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' pyproject.toml + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' pyproject.toml + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' pyproject.toml + sed -i -e 's/~=/>=/g' pyproject.toml + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' pyproject.toml + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' pyproject.toml + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.py ']' + sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' setup.py + sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' setup.py + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' setup.py + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.py + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.py + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' setup.py + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.py + sed -i -e 's/~=/>=/g' setup.py + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.py + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' setup.py + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.cfg ']' + sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' setup.cfg + sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' setup.cfg + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' setup.cfg + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.cfg + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.cfg + sed -i -e 's/~=/>=/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.cfg + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' setup.cfg + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/python-tpm2-pytss-2.3.0-1.mga10.x86_64-pyproject-buildrequires Handling setuptools>=44 from build-system.requires Requirement satisfied: setuptools>=44 (installed: setuptools 75.6.0) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.43.0) 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 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.17.1) 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 44.0.0) 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 24.0) Handling pycparser from get_requires_for_build_wheel Requirement satisfied: pycparser (installed: pycparser 2.21) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:27: SyntaxWarning: invalid escape sequence '\(' s = re.sub("#define TSS2_RC_LAYER\(level\).*", "", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:28: SyntaxWarning: invalid escape sequence '\(' s = re.sub("(#define.*)TSS2_RC_LAYER\(0xff\)", "\g<1>0xff0000", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:28: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define.*)TSS2_RC_LAYER\(0xff\)", "\g<1>0xff0000", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:31: SyntaxWarning: invalid escape sequence '\*' s = re.sub("/\*.*?\*/", "", s, flags=re.MULTILINE) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:34: SyntaxWarning: invalid escape sequence '\(' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\) \(.*?\)\)", "\g<1>...", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:34: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\) \(.*?\)\)", "\g<1>...", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:35: SyntaxWarning: invalid escape sequence '\(' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(\(.*?\) .*\)", "\g<1>...", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:35: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(\(.*?\) .*\)", "\g<1>...", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:36: SyntaxWarning: invalid escape sequence '\(' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\).*?\) ", "\g<1>...", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:36: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\).*?\) ", "\g<1>...", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:38: SyntaxWarning: invalid escape sequence '\)' "(#define [A-Za-z0-9_]+) .*\n.*?.*\)\)", "\g<1>...", s, flags=re.MULTILINE /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:38: SyntaxWarning: invalid escape sequence '\g' "(#define [A-Za-z0-9_]+) .*\n.*?.*\)\)", "\g<1>...", s, flags=re.MULTILINE /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:40: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define [A-Za-z0-9_]+) .*", "\g<1>...", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:43: SyntaxWarning: invalid escape sequence '\[' s = re.sub("\[.+?\]", "[...]", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:78: SyntaxWarning: invalid escape sequence '\)' "#define TPM2_MAX_TAGGED_POLICIES.*\n.*TPMS_TAGGED_POLICY\)\)", /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:271: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Marshal\(.+?\);", s, re.DOTALL | re.MULTILINE /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:275: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Marshal\(.+?\);", "", s, 1, re.DOTALL | re.MULTILINE /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:279: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Unmarshal\(.+?\);", s, re.DOTALL | re.MULTILINE /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:283: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Unmarshal\(.+?\);", /usr/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py:90: UserWarning: version of None already set warnings.warn(f"version of {dist_name} already set") adding path: /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts running dist_info creating tpm2_pytss.egg-info writing tpm2_pytss.egg-info/PKG-INFO writing dependency_links to tpm2_pytss.egg-info/dependency_links.txt writing requirements to tpm2_pytss.egg-info/requires.txt writing top-level names to tpm2_pytss.egg-info/top_level.txt writing manifest file 'tpm2_pytss.egg-info/SOURCES.txt' reading manifest file '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 'tpm2_pytss.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/tpm2_pytss-2.3.0.dist-info' Handling cffi>=1.0.0 from hook generated metadata: Requires-Dist (tpm2-pytss) Requirement satisfied: cffi>=1.0.0 (installed: cffi 1.17.1) Handling asn1crypto from hook generated metadata: Requires-Dist (tpm2-pytss) Requirement satisfied: asn1crypto (installed: asn1crypto 1.5.1) Handling cryptography>=3.0 from hook generated metadata: Requires-Dist (tpm2-pytss) Requirement satisfied: cryptography>=3.0 (installed: cryptography 44.0.0) Handling packaging from hook generated metadata: Requires-Dist (tpm2-pytss) Requirement satisfied: packaging (installed: packaging 24.0) Handling pyyaml from hook generated metadata: Requires-Dist (tpm2-pytss) Requirement satisfied: pyyaml (installed: pyyaml 6.0.1) Handling docutils==0.16; extra == "dev" from hook generated metadata: Requires-Dist (tpm2-pytss) Ignoring alien requirement: docutils==0.16; extra == "dev" Handling coverage; extra == "dev" from hook generated metadata: Requires-Dist (tpm2-pytss) Ignoring alien requirement: coverage; extra == "dev" Handling sphinx; extra == "dev" from hook generated metadata: Requires-Dist (tpm2-pytss) Ignoring alien requirement: sphinx; extra == "dev" Handling sphinx-rtd-theme; extra == "dev" from hook generated metadata: Requires-Dist (tpm2-pytss) Ignoring alien requirement: sphinx-rtd-theme; extra == "dev" Handling twine; extra == "dev" from hook generated metadata: Requires-Dist (tpm2-pytss) Ignoring alien requirement: twine; extra == "dev" Handling setuptools_scm[toml]>=3.4.3; extra == "dev" from hook generated metadata: Requires-Dist (tpm2-pytss) Ignoring alien requirement: setuptools_scm[toml]>=3.4.3; extra == "dev" Handling black==19.10b0; extra == "dev" from hook generated metadata: Requires-Dist (tpm2-pytss) Ignoring alien requirement: black==19.10b0; extra == "dev" Handling pytest; extra == "dev" from hook generated metadata: Requires-Dist (tpm2-pytss) Ignoring alien requirement: pytest; extra == "dev" Handling pytest-xdist; extra == "dev" from hook generated metadata: Requires-Dist (tpm2-pytss) Ignoring alien requirement: pytest-xdist; extra == "dev" Handling pytest-cov; extra == "dev" from hook generated metadata: Requires-Dist (tpm2-pytss) Ignoring alien requirement: pytest-cov; extra == "dev" Handling myst-parser; extra == "dev" from hook generated metadata: Requires-Dist (tpm2-pytss) Ignoring alien requirement: myst-parser; extra == "dev" Handling build; extra == "dev" from hook generated metadata: Requires-Dist (tpm2-pytss) Ignoring alien requirement: build; extra == "dev" Handling installer; extra == "dev" from hook generated metadata: Requires-Dist (tpm2-pytss) Ignoring alien requirement: installer; extra == "dev" + cat /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/python-tpm2-pytss-2.3.0-1.mga10.x86_64-pyproject-buildrequires + rm -rfv tpm2_pytss-2.3.0.dist-info/ removed 'tpm2_pytss-2.3.0.dist-info/top_level.txt' removed 'tpm2_pytss-2.3.0.dist-info/METADATA' removed 'tpm2_pytss-2.3.0.dist-info/LICENSE' removed directory 'tpm2_pytss-2.3.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8Y0FnK + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build + cd tpm2-pytss-2.3.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/.pyproject-builddir + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:27: SyntaxWarning: invalid escape sequence '\(' s = re.sub("#define TSS2_RC_LAYER\(level\).*", "", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:28: SyntaxWarning: invalid escape sequence '\(' s = re.sub("(#define.*)TSS2_RC_LAYER\(0xff\)", "\g<1>0xff0000", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:28: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define.*)TSS2_RC_LAYER\(0xff\)", "\g<1>0xff0000", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:31: SyntaxWarning: invalid escape sequence '\*' s = re.sub("/\*.*?\*/", "", s, flags=re.MULTILINE) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:34: SyntaxWarning: invalid escape sequence '\(' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\) \(.*?\)\)", "\g<1>...", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:34: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\) \(.*?\)\)", "\g<1>...", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:35: SyntaxWarning: invalid escape sequence '\(' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(\(.*?\) .*\)", "\g<1>...", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:35: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(\(.*?\) .*\)", "\g<1>...", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:36: SyntaxWarning: invalid escape sequence '\(' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\).*?\) ", "\g<1>...", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:36: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\).*?\) ", "\g<1>...", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:38: SyntaxWarning: invalid escape sequence '\)' "(#define [A-Za-z0-9_]+) .*\n.*?.*\)\)", "\g<1>...", s, flags=re.MULTILINE /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:38: SyntaxWarning: invalid escape sequence '\g' "(#define [A-Za-z0-9_]+) .*\n.*?.*\)\)", "\g<1>...", s, flags=re.MULTILINE /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:40: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define [A-Za-z0-9_]+) .*", "\g<1>...", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:43: SyntaxWarning: invalid escape sequence '\[' s = re.sub("\[.+?\]", "[...]", s) /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:78: SyntaxWarning: invalid escape sequence '\)' "#define TPM2_MAX_TAGGED_POLICIES.*\n.*TPMS_TAGGED_POLICY\)\)", /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:271: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Marshal\(.+?\);", s, re.DOTALL | re.MULTILINE /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:275: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Marshal\(.+?\);", "", s, 1, re.DOTALL | re.MULTILINE /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:279: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Unmarshal\(.+?\);", s, re.DOTALL | re.MULTILINE /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts/prepare_headers.py:283: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Unmarshal\(.+?\);", /usr/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py:90: UserWarning: version of None already set warnings.warn(f"version of {dist_name} already set") adding path: /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts running dist_info creating /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/.pyproject-builddir/pip-modern-metadata-ssn5bf0p/tpm2_pytss.egg-info writing /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/.pyproject-builddir/pip-modern-metadata-ssn5bf0p/tpm2_pytss.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/.pyproject-builddir/pip-modern-metadata-ssn5bf0p/tpm2_pytss.egg-info/dependency_links.txt writing requirements to /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/.pyproject-builddir/pip-modern-metadata-ssn5bf0p/tpm2_pytss.egg-info/requires.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/.pyproject-builddir/pip-modern-metadata-ssn5bf0p/tpm2_pytss.egg-info/top_level.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/.pyproject-builddir/pip-modern-metadata-ssn5bf0p/tpm2_pytss.egg-info/SOURCES.txt' reading manifest file '/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/.pyproject-builddir/pip-modern-metadata-ssn5bf0p/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 '/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/.pyproject-builddir/pip-modern-metadata-ssn5bf0p/tpm2_pytss.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/.pyproject-builddir/pip-modern-metadata-ssn5bf0p/tpm2_pytss-2.3.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) /usr/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py:90: UserWarning: version of None already set warnings.warn(f"version of {dist_name} already set") adding path: /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/scripts running bdist_wheel running build running build_py creating build/lib.linux-x86_64-cpython-312/tpm2_pytss copying src/tpm2_pytss/cryptography.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss copying src/tpm2_pytss/fapi_info.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss copying src/tpm2_pytss/types.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss copying src/tpm2_pytss/TCTILdr.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss copying src/tpm2_pytss/policy.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss copying src/tpm2_pytss/TCTISPIHelper.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss copying src/tpm2_pytss/ESAPI.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss copying src/tpm2_pytss/TSS2_Exception.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss copying src/tpm2_pytss/encoding.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss copying src/tpm2_pytss/constants.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss copying src/tpm2_pytss/__init__.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss copying src/tpm2_pytss/TCTI.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss copying src/tpm2_pytss/FAPI.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss copying src/tpm2_pytss/utils.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss copying src/tpm2_pytss/tsskey.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss creating build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal copying src/tpm2_pytss/internal/crypto.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal copying src/tpm2_pytss/internal/__init__.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal copying src/tpm2_pytss/internal/templates.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal copying src/tpm2_pytss/internal/utils.py -> build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal running build_ext generating cffi module 'build/temp.linux-x86_64-cpython-312/tpm2_pytss._libtpm2_pytss.c' creating build/temp.linux-x86_64-cpython-312 building 'tpm2_pytss._libtpm2_pytss' extension creating build/temp.linux-x86_64-cpython-312/build/temp.linux-x86_64-cpython-312 gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I/usr/include -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid -I/usr/include/tss -I/usr/include/python3.12 -c build/temp.linux-x86_64-cpython-312/tpm2_pytss._libtpm2_pytss.c -o build/temp.linux-x86_64-cpython-312/build/temp.linux-x86_64-cpython-312/tpm2_pytss._libtpm2_pytss.o gcc -shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full build/temp.linux-x86_64-cpython-312/build/temp.linux-x86_64-cpython-312/tpm2_pytss._libtpm2_pytss.o -L/usr/lib64 -ltss2-rc -ltss2-fapi -ltss2-esys -ltss2-mu -ltss2-tctildr -lssl -ltss2-policy -ltss2-tcti-spi-helper -lpython3.12 -o build/lib.linux-x86_64-cpython-312/tpm2_pytss/_libtpm2_pytss.abi3.so generated _type_map with 62 mappings in build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/type_mapping.py and /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.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-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/tpm2_pytss copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/cryptography.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/fapi_info.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/types.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/_libtpm2_pytss.abi3.so -> build/bdist.linux-x86_64/wheel/./tpm2_pytss copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/TCTILdr.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/policy.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/TCTISPIHelper.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/ESAPI.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/TSS2_Exception.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/encoding.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/constants.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss creating build/bdist.linux-x86_64/wheel/tpm2_pytss/internal copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/type_mapping.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss/internal copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/crypto.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss/internal copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/versions.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss/internal copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/__init__.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss/internal copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/templates.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss/internal copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/internal/utils.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss/internal copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/__init__.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/TCTI.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/FAPI.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/utils.py -> build/bdist.linux-x86_64/wheel/./tpm2_pytss copying build/lib.linux-x86_64-cpython-312/tpm2_pytss/tsskey.py -> build/bdist.linux-x86_64/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-x86_64/wheel/./tpm2_pytss-2.3.0-py3.12.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/tpm2_pytss-2.3.0.dist-info/WHEEL creating '/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/.pyproject-builddir/pip-wheel-f6bq1fyd/.tmp-9lahpum4/tpm2_pytss-2.3.0-cp312-cp312-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/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/cryptography.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.3.0.dist-info/LICENSE' adding 'tpm2_pytss-2.3.0.dist-info/METADATA' adding 'tpm2_pytss-2.3.0.dist-info/WHEEL' adding 'tpm2_pytss-2.3.0.dist-info/top_level.txt' adding 'tpm2_pytss-2.3.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for tpm2-pytss (pyproject.toml): finished with status 'done' Created wheel for tpm2-pytss: filename=tpm2_pytss-2.3.0-cp312-cp312-linux_x86_64.whl size=911964 sha256=9cd75cc44db0d16ed04f650859c8d4f032468609f6d826f4abd1e993ace35006 Stored in directory: /home/pterjan/.cache/pip/wheels/82/13/8f/f7f12d93aec99c6364501c9ae9351448672dd09ac51af4c857 Successfully built tpm2-pytss + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KWg119 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build + mkdir /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT + cd tpm2-pytss-2.3.0 + '[' 1 -eq 1 ']' ++ xargs basename --multiple ++ ls /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/pyproject-wheeldir/tpm2_pytss-2.3.0-cp312-cp312-linux_x86_64.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=tpm2_pytss==2.3.0 + '[' -z tpm2_pytss==2.3.0 ']' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/pyproject-wheeldir tpm2_pytss==2.3.0 Using pip 24.3.1 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/pyproject-wheeldir Processing ./pyproject-wheeldir/tpm2_pytss-2.3.0-cp312-cp312-linux_x86_64.whl Installing collected packages: tpm2_pytss Successfully installed tpm2_pytss-2.3.0 + '[' -d /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/bin ']' + rm -f /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/python-tpm2-pytss-2.3.0-1.mga10.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + '[' /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/lib64/python3.12/site-packages '!=' /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/lib64/python3.12/site-packages ']' + site_dirs+=("/usr/lib64/python3.12/site-packages") + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib64/python3.12/site-packages/tpm2_pytss-2.3.0.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/tpm2_pytss-2.3.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/tpm2_pytss-2.3.0.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/python-tpm2-pytss-2.3.0-1.mga10.x86_64-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/tpm2_pytss-2.3.0.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/tpm2_pytss-2.3.0.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/tpm2_pytss-2.3.0.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/tpm2_pytss-2.3.0.dist-info/REQUESTED' ++ wc -l /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/python-tpm2-pytss-2.3.0-1.mga10.x86_64-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/python-tpm2-pytss-2.3.0-1.mga10.x86_64-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/python-tpm2-pytss-2.3.0-1.mga10.x86_64-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/python-tpm2-pytss-2.3.0-1.mga10.x86_64-pyproject-record --prefix /usr tpm2_pytss + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 2.3.0-1.mga10 --unique-debug-suffix -2.3.0-1.mga10.x86_64 --unique-debug-src-base python-tpm2-pytss-2.3.0-1.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/python-tpm2-pytss-2.3.0-1.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/lib64/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set Bytecompiling .py files below /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/lib/debug/usr/lib64/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tWZ9dZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build + cd tpm2-pytss-2.3.0 + '[' 1 -eq 1 ']' + '[' '!' -f /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/python-tpm2-pytss-2.3.0-1.mga10.x86_64-pyproject-modules ']' + PATH=/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin + PYTHONPATH=/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/lib64/python3.12/site-packages:/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/lib/python3.12/site-packages + _PYTHONSITE=/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/lib64/python3.12/site-packages:/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/python3 -sP /usr/lib/rpm/redhat/import_all_modules.py -f /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/python-tpm2-pytss-2.3.0-1.mga10.x86_64-pyproject-modules Check import: tpm2_pytss Check import: tpm2_pytss.ESAPI Check import: tpm2_pytss.FAPI Check import: tpm2_pytss.TCTI Check import: tpm2_pytss.TCTILdr Check import: tpm2_pytss.TCTISPIHelper Check import: tpm2_pytss.TSS2_Exception Check import: tpm2_pytss.constants Check import: tpm2_pytss.cryptography Check import: tpm2_pytss.encoding Check import: tpm2_pytss.fapi_info Check import: tpm2_pytss.internal Check import: tpm2_pytss.internal.crypto Check import: tpm2_pytss.internal.templates Check import: tpm2_pytss.internal.type_mapping Check import: tpm2_pytss.internal.utils Check import: tpm2_pytss.internal.versions Check import: tpm2_pytss.policy Check import: tpm2_pytss.tsskey Check import: tpm2_pytss.types Check import: tpm2_pytss.utils + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + PATH=/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin + PYTHONPATH=/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/lib64/python3.12/site-packages:/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=16 + /usr/bin/pytest --import-mode=append -k 'not test_tools_decode_tpms_nv_public' -n 16 ============================= test session starts ============================== platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 rootdir: /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0 configfile: pyproject.toml plugins: forked-1.4.0, xdist-3.5.0 created: 16/16 workers 16 workers [610 items] .............................s.......................................... [ 11%] .....s.................F.................s.............................. [ 23%] ................s...F....................s.............................. [ 35%] ...............s......................................................s. [ 47%] ...................................................................s.... [ 59%] ......................s............................ss...s............... [ 70%] ........................................................................ [ 82%] ........s............................................................... [ 94%] .....s...s......................s. [100%] =================================== FAILURES =================================== _____________ ToolsTest.test_tools_decode_tpml_tagged_tpm_property _____________ [gw15] linux -- Python 3.12.8 /usr/bin/python3 self = def test_tools_decode_tpml_tagged_tpm_property(self): if not self.has_tools: self.skipTest("tools not in path") elif not self.tpm.tcti_name_conf.startswith("swtpm"): self.skipTest("swtpm required") fixedyml = self.run_tool("getcap", "properties-fixed") fl = from_yaml(fixedyml, TPML_TAGGED_TPM_PROPERTY()) self.assertEqual(fl[0].property, TPM2_PT.FAMILY_INDICATOR) self.assertEqual(fl[0].value, 0x322E3000) self.assertEqual(fl[1].property, TPM2_PT.LEVEL) self.assertEqual(fl[1].value, 0) self.assertEqual(fl[2].property, TPM2_PT.REVISION) > self.assertEqual(fl[2].value, 0xA4) E AssertionError: 183 != 164 test/test_encoding.py:1160: AssertionError __________________ TestCryptography.test_ecc_different_curves __________________ [gw4] linux -- Python 3.12.8 /usr/bin/python3 self = def test_ecc_different_curves(self): handle, _, _, _, _ = self.ectx.create_primary( in_sensitive=None, in_public=ecc_template ) privkey = tpm_ecc_private_key(self.ectx, handle) > peer_key = ec.generate_private_key(ec.SECP192R1()) E cryptography.exceptions.InternalError: Unknown OpenSSL error. This error is commonly encountered E when another library is not cleaning up the OpenSSL error E stack. If you are using cryptography with another library E that uses OpenSSL try disabling it before reporting a bug. E Otherwise please file an issue at E https://github.com/pyca/cryptography/issues with E information on how to reproduce this. (error:08000081:elliptic curve routines:EC_GROUP_new_by_curve_name_ex:unknown group:crypto/ec/ec_curve.c:2454:name=prime192v1) test/test_cryptography.py:300: InternalError =============================== warnings summary =============================== test/test_encoding.py: 42 warnings /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/lib64/python3.12/site-packages/tpm2_pytss/encoding.py:830: PendingDeprecationWarning: The tools_encdec class will be deprecated in the future, see https://github.com/tpm2-software/tpm2-pytss/issues/557 warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test/test_encoding.py::ToolsTest::test_tools_decode_tpml_tagged_tpm_property FAILED test/test_cryptography.py::TestCryptography::test_ecc_different_curves =========== 2 failed, 592 passed, 16 skipped, 42 warnings in 20.50s ============ + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-tpm2-pytss-2.3.0-1.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.EJWfg4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build + cd tpm2-pytss-2.3.0 + DOCDIR=/home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/share/doc/python3-tpm2-pytss + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/share/doc/python3-tpm2-pytss + cp -pr /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/tpm2-pytss-2.3.0/README.md /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT/usr/share/doc/python3-tpm2-pytss + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-tpm2-pytss = 2.3.0-1.mga10 python3-tpm2-pytss = 2.3.0-1.mga10 python3-tpm2-pytss(x86-64) = 2.3.0-1.mga10 python3.12-tpm2-pytss = 2.3.0-1.mga10 python3.12dist(tpm2-pytss) = 2.3 python3dist(tpm2-pytss) = 2.3 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: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libpython3.12.so.1.0()(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.12 python3.12dist(asn1crypto) python3.12dist(cffi) >= 1 python3.12dist(cryptography) >= 3 python3.12dist(packaging) python3.12dist(pyyaml) Processing files: python-tpm2-pytss-debugsource-2.3.0-1.mga10.x86_64 Provides: python-tpm2-pytss-debugsource = 2.3.0-1.mga10 python-tpm2-pytss-debugsource(x86-64) = 2.3.0-1.mga10 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.3.0-1.mga10.x86_64 Provides: debuginfo(build-id) = 10c11ad9e22fc814e79797081f0a240d2d686ebd python-tpm2-pytss-debuginfo = 2.3.0-1.mga10 python3-tpm2-pytss-debuginfo = 2.3.0-1.mga10 python3-tpm2-pytss-debuginfo(x86-64) = 2.3.0-1.mga10 python3.12-tpm2-pytss-debuginfo = 2.3.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-tpm2-pytss-debugsource(x86-64) = 2.3.0-1.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/python3-tpm2-pytss-2.3.0-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/python3-tpm2-pytss-debuginfo-2.3.0-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/python-tpm2-pytss-debugsource-2.3.0-1.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6AbPww + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build + test -d /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/python-tpm2-pytss-2.3.0-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!