3mdeb / meta-rte

Yocto meta layer for the RTE https://3mdeb.com/products/open-source-hardware/rte/ board
MIT License
7 stars 3 forks source link

`meta-rte` doesn't build with `kas` master branch #68

Open tym2k1 opened 4 months ago

tym2k1 commented 4 months ago

meta-rte version

v0.7.5

Affected component(s) or functionality

Following build instructions doesn't yield a valid image

Brief summary

The repository doesn't build with https://raw.githubusercontent.com/siemens/kas/master/kas-container but works with kas 3.0.2

How reproducible

How to reproduce

Steps to reproduce the behavior:

  1. wget -O ./kas-container https://raw.githubusercontent.com/siemens/kas/master/kas-container
  2. chmod +x ./kas-container
  3. mkdir rte-sdk
  4. cd rte-sdk
  5. git clone https://github.com/3mdeb/meta-rte.git
  6. ./kas-container build meta-rte/kas.yml

Expected behavior

Image builds correctly

Actual behavior

(...)
Traceback (most recent call last):
  File "/work/poky/bitbake/bin/bitbake", line 19, in <module>
    import bb
  File "/work/poky/bitbake/lib/bb/__init__.py", line 75, in <module>
    import bb.msg
  File "/work/poky/bitbake/lib/bb/msg.py", line 19, in <module>
    import bb.event
  File "/work/poky/bitbake/lib/bb/event.py", line 22, in <module>
    import bb.compat
  File "/work/poky/bitbake/lib/bb/compat.py", line 7, in <module>
    from collections import MutableMapping, KeysView, ValuesView, ItemsView, OrderedDict
ImportError: cannot import name 'MutableMapping' from 'collections' (/usr/lib/python3.11/collections/__init__.py)
2024-07-04 11:54:07 - ERROR    - Command "/work/poky/bitbake/bin/bitbake -c build core-image-minimal core-image-minimal-swu" failed with error 1

Possible solutions