Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tym2k1 opened this issue Jul 4, 2024 · 1 comment · Fixed by #73
Open

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

tym2k1 opened this issue Jul 4, 2024 · 1 comment · Fixed by #73
Assignees

Comments

@tym2k1
Copy link
Contributor

tym2k1 commented Jul 4, 2024

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

  • Setting a fixed kas version in the README.md instructions
@tym2k1 tym2k1 changed the title meta-rte doesn't with kas master branch meta-rte doesn't build with kas master branch Jul 4, 2024
@tym2k1 tym2k1 linked a pull request Jul 19, 2024 that will close this issue
@artur-rs
Copy link
Member

artur-rs commented Dec 3, 2024

@tym2k1 bump, linked issue did not close the issue - please manually confirm/close if resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants