Skip to content

Missing bitbake dependency on python3-yaml #100

Description

@robwoolley

I tried using "crops/poky:debian-11" and received the error:

$ bitbake ros-image-core
Traceback (most recent call last):
File "/builds/oe-ros-ci/build-ci/bitbake/bin/bitbake", line 36, in
sys.exit(bitbake_main(BitBakeConfigParameters(sys.argv),
File "/builds/oe-ros-ci/build-ci/bitbake/lib/bb/main.py", line 378, in bitbake_main
return ui_module.main(server_connection.connection, server_connection.events,
File "/builds/oe-ros-ci/build-ci/bitbake/lib/bb/ui/knotty.py", line 568, in main
conf = bb.msg.setLoggingConfig(logconfig, logconfigfile)
File "/builds/oe-ros-ci/build-ci/bitbake/lib/bb/msg.py", line 303, in setLoggingConfig
import yaml
ModuleNotFoundError: No module named 'yaml'
ERROR: Job failed: exit code 1

This is on an optional code path (setLoggingConfig), which is why it wasn't caught before.

Filing the issue while it is fresh. Perhaps we can tackle this one and python3-virtualenv at the same time.

Regards,
Rob

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions