crops / yocto-dockerfiles

This repository is for -base and -builder containers for building derivative containers (such as poky-container) for containerized Yocto Project builds.
GNU General Public License v2.0
145 stars 57 forks source link

Missing bitbake dependency on python3-yaml #100

Open robwoolley opened 5 months ago

robwoolley commented 5 months ago

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