<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>15520</bug_id>
          
          <creation_ts>2024-06-18 12:08:43 +0000</creation_ts>
          <short_desc>Bitbake failing to start server on ubuntu 22.04</short_desc>
          <delta_ts>2024-06-24 06:43:04 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>15519</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.0.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ashwin Naik">ashwin.naik</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>ashwin.naik</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>99222</commentid>
    <comment_count>0</comment_count>
    <who name="Ashwin Naik">ashwin.naik</who>
    <bug_when>2024-06-18 12:08:43 +0000</bug_when>
    <thetext>I was working with yoctoproject which is cloned on 2017 from fsl-comunity-bsp
on host machine  Ubuntu 18.04.6 LTS and we have a board of NXP(we can&apos;t disclose the board name) which is very old. 
which supports 
kernel version 4.1.46
U-boot version 2.17.11
gcc version 7.3.0
glibc version 2.27
busybox version 1.29.2
python3 version 3.5.3

Which is already present in cloned  fsl-comunity-bsp(yocto)
we can build in host machine Ubuntu 18.04.6 LTS.

the yocto has BitBake Build Tool Core version 1.36.0

installed deps of Ubuntu 18.04.6 LTS are.
Python  - 2.7.17
Python3 - 3.6.9
gcc     - 7.5.0

Now the problem is
------------------

I need to build the same packages which is built in ubuntu 18 machine,
using ubuntu 22.04 OS.
we have cloned the same repository which is present in ubuntu 18 machine
and source the envirinment-file

when we run 
bitbake core-image-base

we got the bellow error

Traceback (most recent call last):
  File &quot;/u/old-yocto/fsl-community-bsp/sources/poky/bitbake/bin/bitbake&quot;, line 31, in &lt;module&gt;
    import bb
  File &quot;/u/old-yocto/fsl-community-bsp/sources/poky/bitbake/lib/bb/__init__.py&quot;, line 77, in &lt;module&gt;
    import bb.msg
  File &quot;/u/old-yocto/fsl-community-bsp/sources/poky/bitbake/lib/bb/msg.py&quot;, line 32, in &lt;module&gt;
    import bb.event
  File &quot;/u/old-yocto/fsl-community-bsp/sources/poky/bitbake/lib/bb/event.py&quot;, line 35, in &lt;module&gt;
    import bb.compat
  File &quot;/u/old-yocto/fsl-community-bsp/sources/poky/bitbake/lib/bb/compat.py&quot;, line 3, in &lt;module&gt;
    from collections import MutableMapping, KeysView, ValuesView, ItemsView, OrderedDict
ImportError: cannot import name &apos;MutableMapping&apos; from &apos;collections&apos; (/usr/lib/python3.10/collections/__init__.py)

installed deps of Ubuntu 22.04 LTS are.

Python  - 2.7.17
Python3 - 3.10.12
gcc     - 11.4.0


Please give me some solution

Thank you in advance
regards
Ashwin Naik</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99234</commentid>
    <comment_count>1</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2024-06-20 14:46:46 +0000</bug_when>
    <thetext>Duplicate of 155219</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99243</commentid>
    <comment_count>2</comment_count>
    <who name="Ashwin Naik">ashwin.naik</who>
    <bug_when>2024-06-24 06:43:04 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 15519 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>