DEBUG: Executing shell function do_compile
* Getting build dependencies for wheel...
TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools_scm/_integration/version_inference.py:51: UserWarning: version of python-dbusmock already set
  warnings.warn(self.message)
Traceback (most recent call last):
  File "TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/config/expand.py", line 71, in __getattr__
    return next(
        ast.literal_eval(value)
        for target, value in self._find_assignments()
        if isinstance(target, ast.Name) and target.id == attr
    )
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/config/expand.py", line 185, in read_attr
    value = getattr(StaticModule(module_name, spec), attr_name)
  File "TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/config/expand.py", line 77, in __getattr__
    raise AttributeError(f"{self.name} has no attribute {attr}") from e
AttributeError: dbusmock has no attribute __version__

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
    main()
    ~~~~^^
  File "TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/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 "TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
    return hook(config_settings)
  File "TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=[])
           ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
    self.run_setup()
    ~~~~~~~~~~~~~~^^
  File "TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup
    exec(code, locals())
    ~~~~^^^^^^^^^^^^^^^^
  File "<string>", line 7, in <module>
  File "TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/__init__.py", line 115, in setup
    return distutils.core.setup(**attrs)
           ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/_distutils/core.py", line 160, in setup
    dist.parse_config_files()
    ~~~~~~~~~~~~~~~~~~~~~~~^^
  File "TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/dist.py", line 752, in parse_config_files
    setupcfg.parse_configuration(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self, self.command_options, ignore_option_errors=ignore_option_errors
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/config/setupcfg.py", line 188, in parse_configuration
    meta.parse()
    ~~~~~~~~~~^^
  File "TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/config/setupcfg.py", line 502, in parse
    section_parser_method(section_options)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/config/setupcfg.py", line 477, in parse_section
    self[name] = value
    ~~~~^^^^^^
  File "TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/config/setupcfg.py", line 294, in __setitem__
    parsed = self.parsers.get(option_name, lambda x: x)(value)
  File "TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/config/setupcfg.py", line 600, in _parse_version
    return expand.version(self._parse_attr(value, self.package_dir, self.root_dir))
                          ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/config/setupcfg.py", line 419, in _parse_attr
    return expand.read_attr(attr_desc, package_dir, root_dir)
           ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "TOPDIR/tmp/work/cortexa57-poky-linux/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/config/expand.py", line 191, in read_attr
    return getattr(module, attr_name)
AttributeError: module 'dbusmock' has no attribute '__version__'

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
WARNING: exit code 1 from a shell command.

Error details

Submitted on:
21/09/25 02:20
Error type:
Recipe
Task:
do_compile
Recipe:
python3-dbusmock
Recipe version:
0.33.0-r0
Machine:
qemuarm64
Distro:
poky
Build system:
aarch64-linux
Target system:
aarch64-poky-linux
Host distro:
universal/ubuntu-25.04
Branch:
mathieu/master-next
Commit:
436372ab27ae28162c121a9f0d1c56a000ff82ca
Build:
#217280
Submitter:
yp-ab-ubuntu2504-vk-arm1
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/8/builds/2445
Similar errors:
16
Open a bug