==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_b7c09efd-c722-4b1f-ac61-54f1b23b33d9]...done ==> Making package: python-tpm2-pytss 2.3.0-3.1 (Mon May 12 08:19:27 2025) ==> Retrieving sources... -> Cloning tpm2-pytss git repo... Cloning into bare repository '/home/alhp/workspace/build/x86-64-v3/python-tpm2-pytss-2.3.0-3/tpm2-pytss'... -> Found adjust-tpm-pt-revision-to-fix-test.patch ==> Validating source files with sha512sums... tpm2-pytss ... Passed adjust-tpm-pt-revision-to-fix-test.patch ... Passed ==> Making package: python-tpm2-pytss 2.3.0-3.1 (Mon May 12 06:19:35 2025) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (9) New Version Net Change extra/libyaml 0.2.5-3 0.18 MiB core/mpdecimal 4.0.0-2 0.32 MiB extra/python-pycparser 2.22-3 1.69 MiB core/python 3.13.3-1 67.42 MiB extra/python-asn1crypto 1.5.1-5 1.49 MiB extra/python-cffi 1.17.1-2 1.34 MiB extra/python-cryptography 44.0.2-1 4.99 MiB extra/python-packaging 25.0-1 0.67 MiB extra/python-yaml 6.0.2-2 0.97 MiB Total Installed Size: 79.07 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing mpdecimal... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] xz: for lzma [installed] tk: for tkinter installing python-asn1crypto... installing python-pycparser... installing python-cffi... Optional dependencies for python-cffi python-setuptools: "limited api" version checking in cffi.setuptools_ext installing python-cryptography... installing python-packaging... installing libyaml... installing python-yaml... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (28) New Version Net Change Download Size core/efivar 39-1 0.53 MiB extra/fuse-common 3.17.1-1 0.00 MiB extra/fuse2 2.9.9-5 0.44 MiB extra/json-glib 1.10.6-1 1.01 MiB extra/libtpms 0.10.0-1 1.03 MiB extra/perl-error 0.17030-1 0.04 MiB extra/perl-mailtools 2.22-1 0.10 MiB extra/perl-timedate 2.33-7 0.08 MiB extra/python-autocommand 2.2.2-7 0.08 MiB extra/python-iniconfig 2.1.0-1 0.04 MiB extra/python-jaraco.collections 5.1.0-1 0.10 MiB extra/python-jaraco.context 6.0.1-1 0.04 MiB extra/python-jaraco.functools 4.1.0-1 0.07 MiB extra/python-jaraco.text 4.0.0-2 0.08 MiB extra/python-more-itertools 10.6.0-1 0.66 MiB extra/python-platformdirs 4.3.6-2 0.24 MiB extra/python-pluggy 1.5.0-3 0.20 MiB extra/python-pyproject-hooks 1.2.0-3 0.10 MiB extra/git 2.49.0-1 28.71 MiB extra/python-build 1.2.2-3 0.20 MiB extra/python-installer 0.7.0-10 0.17 MiB extra/python-pkgconfig 1.5.5-7 0.04 MiB extra/python-pytest 1:8.3.5-1 3.93 MiB extra/python-setuptools 1:80.3.1-1 7.65 MiB extra/python-setuptools-scm 8.3.1-1 0.37 MiB extra/python-wheel 0.45.1-1 0.28 MiB extra/swtpm 0.10.1-1 1.24 MiB 0.31 MiB extra/tpm2-tools 5.7-1 1.44 MiB Total Download Size: 0.31 MiB Total Installed Size: 48.88 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... swtpm-0.10.1-1-x86_64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git git-zsh-completion: upstream zsh completion tk: gitk and git gui openssh: ssh transport and crypto man: show help with `git command --help` perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-pip: to use as the Python package installer (default) python-uv: to use as the Python package installer python-virtualenv: to use virtualenv for build isolation installing python-installer... installing python-pkgconfig... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-jaraco.text... Optional dependencies for python-jaraco.text python-inflect: for show-newlines script installing python-jaraco.collections... installing python-platformdirs... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures python-setuptools: for legacy bdist_wheel subcommand [pending] installing python-setuptools... installing python-setuptools-scm... installing python-iniconfig... installing python-pluggy... installing python-pytest... installing fuse-common... installing fuse2... installing json-glib... installing libtpms... installing swtpm... installing efivar... installing tpm2-tools... Optional dependencies for tpm2-tools tpm2-abrmd: user space resource manager :: Running post-transaction hooks... (1/6) Creating system user accounts... Creating group 'git' with GID 971. Creating user 'git' (git daemon user) with UID 971 and GID 971. (2/6) Reloading system manager configuration... Skipped: Current root is not booted. (3/6) Creating temporary files... (4/6) Reloading device manager configuration... Skipped: Device manager is not running. (5/6) Arming ConditionNeedsUpdate... (6/6) Checking for old perl modules... ==> Retrieving sources... -> Found adjust-tpm-pt-revision-to-fix-test.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of tpm2-pytss git repo... Cloning into 'tpm2-pytss'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... patching file test/test_encoding.py ==> Starting build()... * Getting build dependencies for wheel... /usr/lib/python3.13/site-packages/setuptools/dist.py:761: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() * Building wheel... /startdir/src/tpm2-pytss/scripts/prepare_headers.py:27: SyntaxWarning: invalid escape sequence '\(' s = re.sub("#define TSS2_RC_LAYER\(level\).*", "", s) /startdir/src/tpm2-pytss/scripts/prepare_headers.py:28: SyntaxWarning: invalid escape sequence '\(' s = re.sub("(#define.*)TSS2_RC_LAYER\(0xff\)", "\g<1>0xff0000", s) /startdir/src/tpm2-pytss/scripts/prepare_headers.py:28: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define.*)TSS2_RC_LAYER\(0xff\)", "\g<1>0xff0000", s) /startdir/src/tpm2-pytss/scripts/prepare_headers.py:31: SyntaxWarning: invalid escape sequence '\*' s = re.sub("/\*.*?\*/", "", s, flags=re.MULTILINE) /startdir/src/tpm2-pytss/scripts/prepare_headers.py:34: SyntaxWarning: invalid escape sequence '\(' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\) \(.*?\)\)", "\g<1>...", s) /startdir/src/tpm2-pytss/scripts/prepare_headers.py:34: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\) \(.*?\)\)", "\g<1>...", s) /startdir/src/tpm2-pytss/scripts/prepare_headers.py:35: SyntaxWarning: invalid escape sequence '\(' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(\(.*?\) .*\)", "\g<1>...", s) /startdir/src/tpm2-pytss/scripts/prepare_headers.py:35: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(\(.*?\) .*\)", "\g<1>...", s) /startdir/src/tpm2-pytss/scripts/prepare_headers.py:36: SyntaxWarning: invalid escape sequence '\(' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\).*?\) ", "\g<1>...", s) /startdir/src/tpm2-pytss/scripts/prepare_headers.py:36: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define [A-Za-z0-9_]+) +\(\(.*?\).*?\) ", "\g<1>...", s) /startdir/src/tpm2-pytss/scripts/prepare_headers.py:38: SyntaxWarning: invalid escape sequence '\)' "(#define [A-Za-z0-9_]+) .*\n.*?.*\)\)", "\g<1>...", s, flags=re.MULTILINE /startdir/src/tpm2-pytss/scripts/prepare_headers.py:38: SyntaxWarning: invalid escape sequence '\g' "(#define [A-Za-z0-9_]+) .*\n.*?.*\)\)", "\g<1>...", s, flags=re.MULTILINE /startdir/src/tpm2-pytss/scripts/prepare_headers.py:40: SyntaxWarning: invalid escape sequence '\g' s = re.sub("(#define [A-Za-z0-9_]+) .*", "\g<1>...", s) /startdir/src/tpm2-pytss/scripts/prepare_headers.py:43: SyntaxWarning: invalid escape sequence '\[' s = re.sub("\[.+?\]", "[...]", s) /startdir/src/tpm2-pytss/scripts/prepare_headers.py:78: SyntaxWarning: invalid escape sequence '\)' "#define TPM2_MAX_TAGGED_POLICIES.*\n.*TPMS_TAGGED_POLICY\)\)", /startdir/src/tpm2-pytss/scripts/prepare_headers.py:271: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Marshal\(.+?\);", s, re.DOTALL | re.MULTILINE /startdir/src/tpm2-pytss/scripts/prepare_headers.py:275: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Marshal\(.+?\);", "", s, 1, re.DOTALL | re.MULTILINE /startdir/src/tpm2-pytss/scripts/prepare_headers.py:279: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Unmarshal\(.+?\);", s, re.DOTALL | re.MULTILINE /startdir/src/tpm2-pytss/scripts/prepare_headers.py:283: SyntaxWarning: invalid escape sequence '\s' "TSS2_RC\s+Tss2_MU_BYTE_Unmarshal\(.+?\);", /usr/lib/python3.13/site-packages/setuptools/dist.py:761: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() adding path: /startdir/src/tpm2-pytss/scripts running bdist_wheel running build running build_py creating build/lib.linux-x86_64-cpython-313/tpm2_pytss copying src/tpm2_pytss/TCTI.py -> build/lib.linux-x86_64-cpython-313/tpm2_pytss copying src/tpm2_pytss/TCTILdr.py -> build/lib.linux-x86_64-cpython-313/tpm2_pytss copying src/tpm2_pytss/TCTISPIHelper.py -> build/lib.linux-x86_64-cpython-313/tpm2_pytss copying src/tpm2_pytss/cryptography.py -> build/lib.linux-x86_64-cpython-313/tpm2_pytss copying src/tpm2_pytss/fapi_info.py -> build/lib.linux-x86_64-cpython-313/tpm2_pytss copying src/tpm2_pytss/policy.py -> build/lib.linux-x86_64-cpython-313/tpm2_pytss copying src/tpm2_pytss/utils.py -> build/lib.linux-x86_64-cpython-313/tpm2_pytss copying src/tpm2_pytss/ESAPI.py -> build/lib.linux-x86_64-cpython-313/tpm2_pytss copying src/tpm2_pytss/FAPI.py -> build/lib.linux-x86_64-cpython-313/tpm2_pytss copying src/tpm2_pytss/TSS2_Exception.py -> build/lib.linux-x86_64-cpython-313/tpm2_pytss copying src/tpm2_pytss/__init__.py -> build/lib.linux-x86_64-cpython-313/tpm2_pytss copying src/tpm2_pytss/constants.py -> build/lib.linux-x86_64-cpython-313/tpm2_pytss copying src/tpm2_pytss/encoding.py -> build/lib.linux-x86_64-cpython-313/tpm2_pytss copying src/tpm2_pytss/tsskey.py -> build/lib.linux-x86_64-cpython-313/tpm2_pytss copying src/tpm2_pytss/types.py -> build/lib.linux-x86_64-cpython-313/tpm2_pytss creating build/lib.linux-x86_64-cpython-313/tpm2_pytss/internal copying src/tpm2_pytss/internal/__init__.py -> build/lib.linux-x86_64-cpython-313/tpm2_pytss/internal copying src/tpm2_pytss/internal/templates.py -> build/lib.linux-x86_64-cpython-313/tpm2_pytss/internal copying src/tpm2_pytss/internal/crypto.py -> build/lib.linux-x86_64-cpython-313/tpm2_pytss/internal copying src/tpm2_pytss/internal/utils.py -> build/lib.linux-x86_64-cpython-313/tpm2_pytss/internal running build_ext generating cffi module 'build/temp.linux-x86_64-cpython-313/tpm2_pytss._libtpm2_pytss.c' creating build/temp.linux-x86_64-cpython-313 building 'tpm2_pytss._libtpm2_pytss' extension creating build/temp.linux-x86_64-cpython-313/build/temp.linux-x86_64-cpython-313 gcc -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/python-tpm2-pytss -flto=auto -falign-functions=32 -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.13 -c build/temp.linux-x86_64-cpython-313/tpm2_pytss._libtpm2_pytss.c -o build/temp.linux-x86_64-cpython-313/build/temp.linux-x86_64-cpython-313/tpm2_pytss._libtpm2_pytss.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/python-tpm2-pytss -flto=auto -falign-functions=32 build/temp.linux-x86_64-cpython-313/build/temp.linux-x86_64-cpython-313/tpm2_pytss._libtpm2_pytss.o -L/usr/lib -ltss2-rc -ltss2-fapi -ltss2-esys -ltss2-mu -ltss2-tctildr -ltss2-policy -ltss2-tcti-spi-helper -o build/lib.linux-x86_64-cpython-313/tpm2_pytss/_libtpm2_pytss.abi3.so Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in main() ~~~~^^ File "/usr/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel return _build_backend().build_wheel( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ wheel_directory, config_settings, metadata_directory ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3.13/site-packages/setuptools/build_meta.py", line 432, in build_wheel return _build(['bdist_wheel']) File "/usr/lib/python3.13/site-packages/setuptools/build_meta.py", line 423, in _build return self._build_with_temp_dir( ~~~~~~~~~~~~~~~~~~~~~~~~~^ cmd, ^^^^ ...<3 lines>... self._arbitrary_args(config_settings), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3.13/site-packages/setuptools/build_meta.py", line 404, in _build_with_temp_dir self.run_setup() ~~~~~~~~~~~~~~^^ File "/usr/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup exec(code, locals()) ~~~~^^^^^^^^^^^^^^^^ File "", line 285, in File "/usr/lib/python3.13/site-packages/setuptools/__init__.py", line 117, in setup return distutils.core.setup(**attrs) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/core.py", line 186, in setup return run_commands(dist) File "/usr/lib/python3.13/site-packages/setuptools/_distutils/core.py", line 202, in run_commands dist.run_commands() ~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands self.run_command(cmd) ~~~~~~~~~~~~~~~~^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/dist.py", line 1106, in run_command super().run_command(command) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command cmd_obj.run() ~~~~~~~~~~~^^ File "/usr/lib/python3.13/site-packages/setuptools/command/bdist_wheel.py", line 370, in run self.run_command("build") ~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py", line 357, in run_command self.distribution.run_command(command) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/dist.py", line 1106, in run_command super().run_command(command) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command cmd_obj.run() ~~~~~~~~~~~^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/command/build.py", line 135, in run self.run_command(cmd_name) ~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py", line 357, in run_command self.distribution.run_command(command) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/dist.py", line 1106, in run_command super().run_command(command) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command cmd_obj.run() ~~~~~~~~~~~^^ File "/usr/lib/python3.13/site-packages/cffi/setuptools_ext.py", line 142, in run base_class.run(self) ~~~~~~~~~~~~~~^^^^^^ File "", line 235, in run File "", line 215, in get_mappings File "/usr/lib/python3.13/site-packages/pycparser/c_parser.py", line 147, in parse return self.cparser.parse( ~~~~~~~~~~~~~~~~~~^ input=text, ^^^^^^^^^^^ lexer=self.clex, ^^^^^^^^^^^^^^^^ debug=debug) ^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/pycparser/ply/yacc.py", line 331, in parse return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/pycparser/ply/yacc.py", line 1199, in parseopt_notrack tok = call_errorfunc(self.errorfunc, errtoken, self) File "/usr/lib/python3.13/site-packages/pycparser/ply/yacc.py", line 193, in call_errorfunc r = errorfunc(token) File "/usr/lib/python3.13/site-packages/pycparser/c_parser.py", line 1945, in p_error self._parse_error( ~~~~~~~~~~~~~~~~~^ 'before: %s' % p.value, ^^^^^^^^^^^^^^^^^^^^^^^ self._coord(lineno=p.lineno, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ column=self.clex.find_tok_column(p))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/pycparser/plyparser.py", line 67, in _parse_error raise ParseError("%s: %s" % (coord, msg)) pycparser.plyparser.ParseError: /usr/lib/gcc/x86_64-pc-linux-gnu/15.1.1/include/stddef.h:465:31: before: nullptr_t ERROR Backend subprocess exited when trying to invoke build_wheel ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_b7c09efd-c722-4b1f-ac61-54f1b23b33d9/build