DEBUG: Executing shell function do_compile
* Getting build dependencies for wheel...
WARNING 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.
********************************************************************************
!!
* Building wheel...
adding path: TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/sources/tpm2-pytss-2.3.0/scripts
Traceback (most recent call last):
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/cffi/cparser.py", line 337, in _parse
ast = _get_parser().parse(fullcsource)
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/pycparser/c_parser.py", line 117, in parse
ast = self._parse_translation_unit_or_empty()
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/pycparser/c_parser.py", line 781, in _parse_translation_unit_or_empty
return c_ast.FileAST(self._parse_translation_unit())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/pycparser/c_parser.py", line 787, in _parse_translation_unit
ext.extend(self._parse_external_declaration())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/pycparser/c_parser.py", line 826, in _parse_external_declaration
decl = self._parse_id_declarator()
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/pycparser/c_parser.py", line 1408, in _parse_id_declarator
return self._parse_declarator_kind(kind="id", allow_paren=True)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/pycparser/c_parser.py", line 1423, in _parse_declarator_kind
direct = self._parse_direct_declarator(kind, allow_paren=allow_paren)
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/pycparser/c_parser.py", line 1439, in _parse_direct_declarator
name_tok = self._expect("ID")
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/pycparser/c_parser.py", line 532, in _expect
self._parse_error(f"before: {tok.value}", self._tok_coord(tok))
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/pycparser/c_parser.py", line 127, in _parse_error
raise ParseError(f"{coord}: {msg}")
pycparser.c_parser.ParseError: <cdef source string>:45:5: before: {
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 406, in <module>
main()
~~~~^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 381, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 286, in build_wheel
return _build_backend().build_wheel(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
wheel_directory, config_settings, metadata_directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/setuptools/build_meta.py", line 438, in build_wheel
return _build(['bdist_wheel'])
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/setuptools/build_meta.py", line 429, in _build
return self._build_with_temp_dir(
~~~~~~~~~~~~~~~~~~~~~~~~~^
cmd,
^^^^
...<3 lines>...
self._arbitrary_args(config_settings),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/setuptools/build_meta.py", line 410, in _build_with_temp_dir
self.run_setup()
~~~~~~~~~~~~~~^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals()) # noqa: S102 # exec is intentional here
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 285, in <module>
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs) # type: ignore[return-value]
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/setuptools/_distutils/core.py", line 130, in setup
_setup_distribution = dist = klass(attrs)
~~~~~^^^^^^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/setuptools/dist.py", line 321, in __init__
_Distribution.__init__(self, dist_attrs)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/setuptools/_distutils/dist.py", line 338, in __init__
self.finalize_options()
~~~~~~~~~~~~~~~~~~~~~^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/setuptools/dist.py", line 790, in finalize_options
ep(self)
~~^^^^^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/setuptools/dist.py", line 810, in _finalize_setup_keywords
ep.load()(self, ep.name, value)
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/cffi/setuptools_ext.py", line 231, in cffi_modules
add_cffi_module(dist, cffi_module)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/cffi/setuptools_ext.py", line 50, in add_cffi_module
execfile(build_file_name, mod_vars)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/cffi/setuptools_ext.py", line 26, in execfile
exec(code, glob, glob)
~~~~^^^^^^^^^^^^^^^^^^
File "scripts/libtss2_build.py", line 69, in <module>
ffibuilder.cdef(open("libesys.h").read())
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/cffi/api.py", line 105, in cdef
self._cdef(csource, override=override, packed=packed, pack=pack)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/cffi/api.py", line 119, in _cdef
self._parser.parse(csource, override=override, **options)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/cffi/cparser.py", line 390, in parse
self._internal_parse(csource)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/cffi/cparser.py", line 395, in _internal_parse
ast, macros, csource = self._parse(csource)
~~~~~~~~~~~^^^^^^^^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/cffi/cparser.py", line 339, in _parse
self.convert_pycparser_error(e, csource)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "TOPDIR/tmp/work/x86-64-v3-poky-linux/python3-tpm2-pytss/2.3.0/recipe-sysroot-native/usr/lib/python3.14/site-packages/cffi/cparser.py", line 368, in convert_pycparser_error
raise CDefError(msg)
cffi.CDefError: cannot parse "{ 1, 2, 1, 108 }"
<cdef source string>:45:5: before: {
TIP pass --env-dir and --sdist-extract-dir to keep the build environment and sources, then see https://build.pypa.io/en/stable/how-to/troubleshooting.html#debug-a-failed-build for help debugging a failed build
ERROR Backend subprocess exited when trying to invoke build_wheel
WARNING: exit code 1 from a shell command.