varigit / variscite-bsp-platform

Variscite BSP platform
38 stars 60 forks source link

Build fails for DART-MX6 #20

Closed Klavishnik closed 1 year ago

Klavishnik commented 1 year ago

MACHINE=var-som-mx6 DISTRO=fslc-xwayland source ./setup-environment build bitbake core-image-base

Traceback (most recent call last): File "/home/user/var-fslc-yocto/sources/poky/bitbake/bin/bitbake", line 19, in import bb File "/home/user/var-fslc-yocto/sources/poky/bitbake/lib/bb/init.py", line 75, in import bb.msg File "/home/user/var-fslc-yocto/sources/poky/bitbake/lib/bb/msg.py", line 19, in import bb.event File "/home/user/var-fslc-yocto/sources/poky/bitbake/lib/bb/event.py", line 22, in import bb.compat File "/home/user/var-fslc-yocto/sources/poky/bitbake/lib/bb/compat.py", line 7, in from collections import MutableMapping, KeysView, ValuesView, ItemsView, OrderedDict ImportError: cannot import name 'MutableMapping' from 'collections' (/usr/lib/python3.10/collections/init.py)

The error is related to the Python version. If you use python3.7 (+python3.7-distutils), everything works, but is it possible to update the repository?"

varigigi commented 1 year ago

Hi @Klavishnik, you are supposed to use the Ubuntu version reported in the wiki for the Yocto BSP you selected. Latest BSP for VAR-SOM-MX6 is based on Yocto Dunfell and has been validated by the community only up to Ubuntu 20.04 (featuring python 3.8). My best suggestion is to keep the alignment with community setup for the target BSP version. For further support, please reach us to Variscite Customer Portal. Thanks Best Regards Pier