Skip to content

Can't build fbtp image #234

@TheoMornicoQarnot

Description

@TheoMornicoQarnot

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 ? :/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions