facebook / openbmc

OpenBMC is an open software framework to build a complete Linux image for a Board Management Controller (BMC).
633 stars 277 forks source link

Can't build fbtp image #234

Open TheoMornicoQarnot opened 6 months ago

TheoMornicoQarnot commented 6 months ago

Hello :)

I tried to build the fbtp image (which I suppose to be tiogapass).

I used :

$ git clone -b helium https://github.com/facebook/openbmc.git
$ cd openbmc
$ ./sync_yocto.sh
$ source openbmc-init-build-env fbtp

No problem, and I am in the directory build.

But when I try bitbake fbtp-image, I have instantly this error :

Traceback (most recent call last):
  File "/home/qarnot/openbmc-fb/yocto/rocko/poky/bitbake/bin/bitbake", line 31, in <module>
    import bb
  File "/home/qarnot/openbmc-fb/yocto/rocko/poky/bitbake/lib/bb/__init__.py", line 77, in <module>
    import bb.msg
  File "/home/qarnot/openbmc-fb/yocto/rocko/poky/bitbake/lib/bb/msg.py", line 32, in <module>
    import bb.event
  File "/home/qarnot/openbmc-fb/yocto/rocko/poky/bitbake/lib/bb/event.py", line 35, in <module>
    import bb.compat
  File "/home/qarnot/openbmc-fb/yocto/rocko/poky/bitbake/lib/bb/compat.py", line 3, in <module>
    from collections import MutableMapping, KeysView, ValuesView, ItemsView, OrderedDict
ImportError: cannot import name 'MutableMapping' from 'collections' (/usr/lib/python3.11/collections/__init__.py)

I don't know if I am missing some library on my computer ? :/