<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: S32G399ARDB3-Yocto/Bitbake error in S32G</title>
    <link>https://community.nxp.com/t5/S32G/S32G399ARDB3-Yocto-Bitbake-error/m-p/1980570#M11413</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/240662"&gt;@MohamedAbdelslam&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have faced similar issues when building on Ubuntu 24.04.&lt;/P&gt;&lt;P&gt;The issue is that in this Ubuntu release the AppArmor is enabled by default, as described &lt;A href="https://lists.openembedded.org/g/bitbake-devel/topic/patch_bitbake_worker/107099079" target="_self"&gt;here&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;What works for me is running the following command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sudo apparmor_parser -R /etc/apparmor.d/unprivileged_userns&lt;/LI-CODE&gt;&lt;P&gt;and then running bitbake.&lt;/P&gt;&lt;P&gt;As &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/238460"&gt;@alejandro_e&lt;/a&gt; pointed, using Ubuntu 22.04 is a more convenient solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Guilherme&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2024 00:12:04 GMT</pubDate>
    <dc:creator>GuilhermeS32G</dc:creator>
    <dc:date>2024-10-24T00:12:04Z</dc:date>
    <item>
      <title>S32G399ARDB3-Yocto/Bitbake error</title>
      <link>https://community.nxp.com/t5/S32G/S32G399ARDB3-Yocto-Bitbake-error/m-p/1980432#M11407</link>
      <description>&lt;P&gt;Hardware：S32G399ARDB3&lt;/P&gt;&lt;P&gt;Bsp version：bsp41.0&lt;/P&gt;&lt;P&gt;Reference documentation：S32G3_LinuxBSP_41.0_User_Manual.pdf&lt;BR /&gt;Ubuntu version:&amp;nbsp;Ubuntu 24.04.1 LTS&amp;nbsp;&lt;BR /&gt;I followed up the steps mentioned in the user manual but after i executed the command to build the image: bitbake fsl-image-auto&amp;nbsp;&lt;BR /&gt;i got this error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: Your host glibc version (2.39) is newer than that in uninative (2.38). Disabling uninative so that sstate is not corrupted.&lt;BR /&gt;Initialising tasks: 100% |#######################################| Time: 0:00:10&lt;BR /&gt;Sstate summary: Wanted 1938 Local 0 Mirrors 0 Missed 1938 Current 0 (0% match, 0% complete)&lt;BR /&gt;NOTE: Executing Tasks&lt;BR /&gt;ERROR: PermissionError: [Errno 1] Operation not permitted&lt;/P&gt;&lt;P&gt;During handling of the above exception, another exception occurred:&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "/home/mohamedabdelslam/Abdelslam/IPC_BSP3/fsl-auto-yocto-bsp/sources/poky/bitbake/bin/bitbake-worker", line 268, in child&lt;BR /&gt;bb.utils.disable_network(uid, gid)&lt;BR /&gt;File "/home/mohamedabdelslam/Abdelslam/IPC_BSP3/fsl-auto-yocto-bsp/sources/poky/bitbake/lib/bb/utils.py", line 1653, in disable_network&lt;BR /&gt;with open("/proc/self/uid_map", "w") as f:&lt;BR /&gt;PermissionError: [Errno 1] Operation not permitted&lt;BR /&gt;How could i troubleshoot the problem&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 18:27:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G399ARDB3-Yocto-Bitbake-error/m-p/1980432#M11407</guid>
      <dc:creator>MohamedAbdelslam</dc:creator>
      <dc:date>2024-10-23T18:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: S32G399ARDB3-Yocto/Bitbake error</title>
      <link>https://community.nxp.com/t5/S32G/S32G399ARDB3-Yocto-Bitbake-error/m-p/1980546#M11410</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/240662"&gt;@MohamedAbdelslam&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for the detailed description of your problem. Given that you are getting errors related to your glibc version, the first thing I recommend is to use an older version of ubuntu, preferably &lt;STRONG&gt;Ubuntu-20.04 LTS&lt;/STRONG&gt;, since that is the recommended version in the BSP41 manual [page 9, Linux BSP 41.0 User Manual for S32G3 platforms]:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alejandro_e_0-1729724620981.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306526iBBB8467948272264/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alejandro_e_0-1729724620981.png" alt="alejandro_e_0-1729724620981.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can also recommend using&amp;nbsp;&lt;STRONG&gt;Ubuntu 22.04 LTS&lt;/STRONG&gt;, it is what I'm using for yocto without problems.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;user@machine:~/RDB2/bsp-41/build_s32g274ardb2$ uname -srm ; lsb_release -a
Linux 5.15.0-84-generic x86_64
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if using one of these versions solves your problem.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 23:06:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G399ARDB3-Yocto-Bitbake-error/m-p/1980546#M11410</guid>
      <dc:creator>alejandro_e</dc:creator>
      <dc:date>2024-10-23T23:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: S32G399ARDB3-Yocto/Bitbake error</title>
      <link>https://community.nxp.com/t5/S32G/S32G399ARDB3-Yocto-Bitbake-error/m-p/1980570#M11413</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/240662"&gt;@MohamedAbdelslam&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have faced similar issues when building on Ubuntu 24.04.&lt;/P&gt;&lt;P&gt;The issue is that in this Ubuntu release the AppArmor is enabled by default, as described &lt;A href="https://lists.openembedded.org/g/bitbake-devel/topic/patch_bitbake_worker/107099079" target="_self"&gt;here&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;What works for me is running the following command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sudo apparmor_parser -R /etc/apparmor.d/unprivileged_userns&lt;/LI-CODE&gt;&lt;P&gt;and then running bitbake.&lt;/P&gt;&lt;P&gt;As &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/238460"&gt;@alejandro_e&lt;/a&gt; pointed, using Ubuntu 22.04 is a more convenient solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Guilherme&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 00:12:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G399ARDB3-Yocto-Bitbake-error/m-p/1980570#M11413</guid>
      <dc:creator>GuilhermeS32G</dc:creator>
      <dc:date>2024-10-24T00:12:04Z</dc:date>
    </item>
  </channel>
</rss>

