<?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>S32GのトピックS32G3 bsp41 compilation issue</title>
    <link>https://community.nxp.com/t5/S32G/S32G3-bsp41-compilation-issue/m-p/2021452#M12197</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I encountered an unusual issue when trying to compile BSP41. Bitbake is throwing 'permission denied' errors during every do_fetch process. It was working fine before the holiday, but now the issue occurs in both existing and newly created folders. It seems that a system change may have caused this issue. I've attached a screenshot below. Has anyone encountered a similar problem before?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;NOTE: Fetching uninative binary shim http://downloads.yoctoproject.org/releases/uninative/4.3/x86_64-nativesdk-libc-4.3.tar.xz;sha256sum=1c35f09a75c4096749bbe1e009df4e3968cde151424062cf4aa3ed89db22b030 (will check PREMIRRORS first)
Initialising tasks: 100% |#########################################################################################################################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 1090 Local 0 Mirrors 0 Missed 1090 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
ERROR: gettext-minimal-native-0.21-r0 do_fetch: Execution of event handler 'defaultrun_buildstats' failed
Traceback (most recent call last):
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/meta/classes/buildstats.bbclass", line 240, in defaultrun_buildstats(e=&amp;lt;bb.build.TaskSucceeded object at 0x7f8fa6a67e50&amp;gt;):
         elif isinstance(e, bb.build.TaskSucceeded):
    &amp;gt;        write_task_data("passed", os.path.join(taskdir, e.task), e, d)
             if e.task == "do_rootfs":
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/meta/classes/buildstats.bbclass", line 88, in write_task_data(status='passed', logfile='/home/xd/workspace/fsl-auto-yocto-bsp/build_s32g399ardb3/tmp/buildstats/20250102212637/gettext-minimal-native-0.21-r0/do_fetch', e=&amp;lt;bb.build.TaskSucceeded object at 0x7f8fa6a67e50&amp;gt;, d=&amp;lt;bb.data_smart.DataSmart object at 0x7f8fa6a4bf10&amp;gt;):
                 f.write(d.expand("Elapsed time: %0.2f seconds\n" % elapsedtime))
    &amp;gt;            cpu, iostats, resources, childres = get_process_cputime(os.getpid())
                 if cpu:
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/meta/classes/buildstats.bbclass", line 29, in get_process_cputime(pid=19814):
         if os.path.isfile("/proc/%d/io" % pid):
    &amp;gt;        with open("/proc/%d/io" % pid, "r") as f:
                 while True:
PermissionError: [Errno 13] Permission denied: '/proc/19814/io'

ERROR: gettext-minimal-native-0.21-r0 do_fetch: Build of do_fetch failed
ERROR: gettext-minimal-native-0.21-r0 do_fetch: Traceback (most recent call last):
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/bitbake/lib/bb/build.py", line 763, in exec_task
    return _exec_task(fn, task, d, quieterr)
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/bitbake/lib/bb/build.py", line 737, in _exec_task
    event.fire(TaskSucceeded(task, fn, logfn, localdata), localdata)
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/bitbake/lib/bb/event.py", line 222, in fire
    fire_class_handlers(event, d)
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/bitbake/lib/bb/event.py", line 123, in fire_class_handlers
    execute_handler(name, handler, event, d)
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/bitbake/lib/bb/event.py", line 93, in execute_handler
    ret = handler(event)
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/meta/classes/buildstats.bbclass", line 240, in defaultrun_buildstats
    write_task_data("passed", os.path.join(taskdir, e.task), e, d)
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/meta/classes/buildstats.bbclass", line 88, in write_task_data
    cpu, iostats, resources, childres = get_process_cputime(os.getpid())
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/meta/classes/buildstats.bbclass", line 29, in get_process_cputime
    with open("/proc/%d/io" % pid, "r") as f:
PermissionError: [Errno 13] Permission denied: '/proc/19814/io'

ERROR: Task (/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/meta/recipes-core/gettext/gettext-minimal-native_0.21.bb:do_fetch) failed with exit code '1'
ERROR: texinfo-dummy-native-1.0-r0 do_fetch: Execution of event handler 'defaultrun_buildstats' failed&lt;/LI-CODE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;XD&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2025 21:45:31 GMT</pubDate>
    <dc:creator>XD</dc:creator>
    <dc:date>2025-01-02T21:45:31Z</dc:date>
    <item>
      <title>S32G3 bsp41 compilation issue</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-bsp41-compilation-issue/m-p/2021452#M12197</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I encountered an unusual issue when trying to compile BSP41. Bitbake is throwing 'permission denied' errors during every do_fetch process. It was working fine before the holiday, but now the issue occurs in both existing and newly created folders. It seems that a system change may have caused this issue. I've attached a screenshot below. Has anyone encountered a similar problem before?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;NOTE: Fetching uninative binary shim http://downloads.yoctoproject.org/releases/uninative/4.3/x86_64-nativesdk-libc-4.3.tar.xz;sha256sum=1c35f09a75c4096749bbe1e009df4e3968cde151424062cf4aa3ed89db22b030 (will check PREMIRRORS first)
Initialising tasks: 100% |#########################################################################################################################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 1090 Local 0 Mirrors 0 Missed 1090 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
ERROR: gettext-minimal-native-0.21-r0 do_fetch: Execution of event handler 'defaultrun_buildstats' failed
Traceback (most recent call last):
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/meta/classes/buildstats.bbclass", line 240, in defaultrun_buildstats(e=&amp;lt;bb.build.TaskSucceeded object at 0x7f8fa6a67e50&amp;gt;):
         elif isinstance(e, bb.build.TaskSucceeded):
    &amp;gt;        write_task_data("passed", os.path.join(taskdir, e.task), e, d)
             if e.task == "do_rootfs":
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/meta/classes/buildstats.bbclass", line 88, in write_task_data(status='passed', logfile='/home/xd/workspace/fsl-auto-yocto-bsp/build_s32g399ardb3/tmp/buildstats/20250102212637/gettext-minimal-native-0.21-r0/do_fetch', e=&amp;lt;bb.build.TaskSucceeded object at 0x7f8fa6a67e50&amp;gt;, d=&amp;lt;bb.data_smart.DataSmart object at 0x7f8fa6a4bf10&amp;gt;):
                 f.write(d.expand("Elapsed time: %0.2f seconds\n" % elapsedtime))
    &amp;gt;            cpu, iostats, resources, childres = get_process_cputime(os.getpid())
                 if cpu:
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/meta/classes/buildstats.bbclass", line 29, in get_process_cputime(pid=19814):
         if os.path.isfile("/proc/%d/io" % pid):
    &amp;gt;        with open("/proc/%d/io" % pid, "r") as f:
                 while True:
PermissionError: [Errno 13] Permission denied: '/proc/19814/io'

ERROR: gettext-minimal-native-0.21-r0 do_fetch: Build of do_fetch failed
ERROR: gettext-minimal-native-0.21-r0 do_fetch: Traceback (most recent call last):
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/bitbake/lib/bb/build.py", line 763, in exec_task
    return _exec_task(fn, task, d, quieterr)
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/bitbake/lib/bb/build.py", line 737, in _exec_task
    event.fire(TaskSucceeded(task, fn, logfn, localdata), localdata)
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/bitbake/lib/bb/event.py", line 222, in fire
    fire_class_handlers(event, d)
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/bitbake/lib/bb/event.py", line 123, in fire_class_handlers
    execute_handler(name, handler, event, d)
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/bitbake/lib/bb/event.py", line 93, in execute_handler
    ret = handler(event)
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/meta/classes/buildstats.bbclass", line 240, in defaultrun_buildstats
    write_task_data("passed", os.path.join(taskdir, e.task), e, d)
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/meta/classes/buildstats.bbclass", line 88, in write_task_data
    cpu, iostats, resources, childres = get_process_cputime(os.getpid())
  File "/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/meta/classes/buildstats.bbclass", line 29, in get_process_cputime
    with open("/proc/%d/io" % pid, "r") as f:
PermissionError: [Errno 13] Permission denied: '/proc/19814/io'

ERROR: Task (/home/xd/workspace/fsl-auto-yocto-bsp/sources/poky/meta/recipes-core/gettext/gettext-minimal-native_0.21.bb:do_fetch) failed with exit code '1'
ERROR: texinfo-dummy-native-1.0-r0 do_fetch: Execution of event handler 'defaultrun_buildstats' failed&lt;/LI-CODE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;XD&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 21:45:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-bsp41-compilation-issue/m-p/2021452#M12197</guid>
      <dc:creator>XD</dc:creator>
      <dc:date>2025-01-02T21:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 bsp41 compilation issue</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-bsp41-compilation-issue/m-p/2021453#M12198</link>
      <description>&lt;P&gt;And this is the error on the existing folder&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sstate summary: Wanted 3 Local 0 Mirrors 0 Missed 3 Current 1161 (0% match, 99% complete)
NOTE: Executing Tasks
ERROR: Traceback (most recent call last):
  File "/home/xd/workspace/fsl-auto-yocto-bsp41/sources/poky/bitbake/bin/bitbake-worker", line 268, in child
    bb.utils.disable_network(uid, gid)
  File "/home/xd/workspace/fsl-auto-yocto-bsp41/sources/poky/bitbake/lib/bb/utils.py", line 1653, in disable_network
    with open("/proc/self/uid_map", "w") as f:
PermissionError: [Errno 13] Permission denied: '/proc/self/uid_map'

ERROR: Task (/home/xd/workspace/fsl-auto-yocto-bsp41/sources/meta-alb/recipes-fsl/images/fsl-image-base.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2937 tasks of which 2936 didn't need to be rerun and 1 failed.&lt;/LI-CODE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;XD&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 21:48:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-bsp41-compilation-issue/m-p/2021453#M12198</guid>
      <dc:creator>XD</dc:creator>
      <dc:date>2025-01-02T21:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 bsp41 compilation issue</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-bsp41-compilation-issue/m-p/2021779#M12205</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/235130"&gt;@XD&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your post.&lt;/P&gt;
&lt;P&gt;Sorry that I did not meet such issue before, from the log,&amp;nbsp;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;PermissionError: [Errno 13] Permission denied: '/proc/19814/io'&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;What is the process 19814 for? May I know if you have tried clean the yocto build and try again?(bitbake fsl-image-base -c cleanall &amp;amp;&amp;amp; bitbake fsl-image-base)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 09:04:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-bsp41-compilation-issue/m-p/2021779#M12205</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2025-01-03T09:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 bsp41 compilation issue</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-bsp41-compilation-issue/m-p/2021825#M12208</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/235130"&gt;@XD&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has your Linux operational system been updated recently?&lt;/P&gt;&lt;P&gt;Please take a look at this post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32G/S32G399ARDB3-Yocto-Bitbake-error/m-p/1980432" target="_blank"&gt;https://community.nxp.com/t5/S32G/S32G399ARDB3-Yocto-Bitbake-error/m-p/1980432&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Maybe it is the same issue.&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>Fri, 03 Jan 2025 09:57:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-bsp41-compilation-issue/m-p/2021825#M12208</guid>
      <dc:creator>GuilhermeS32G3</dc:creator>
      <dc:date>2025-01-03T09:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 bsp41 compilation issue</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-bsp41-compilation-issue/m-p/2021985#M12212</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/24163"&gt;@chenyin_h&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for looking into this issue.&lt;/P&gt;&lt;P&gt;I believe this is the process initiated by Yocto to download and compile. The process should terminate once this task is completed.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;XD&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 18:14:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-bsp41-compilation-issue/m-p/2021985#M12212</guid>
      <dc:creator>XD</dc:creator>
      <dc:date>2025-01-03T18:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 bsp41 compilation issue</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-bsp41-compilation-issue/m-p/2021987#M12213</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239861"&gt;@GuilhermeS32G3&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for helping me again!&lt;/P&gt;&lt;P&gt;Yes, this workaround worked well. I haven’t updated my OS and am still using Ubuntu 20.04. However, I might have updated GCC or made another change—I’m not entirely sure. Based on the discussion you shared and the dmesg output, it seems the issue was caused by AppArmor.&lt;/P&gt;&lt;P&gt;Everything is back to normal now. Thank you once again for your assistance!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;XD&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 18:20:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-bsp41-compilation-issue/m-p/2021987#M12213</guid>
      <dc:creator>XD</dc:creator>
      <dc:date>2025-01-03T18:20:17Z</dc:date>
    </item>
  </channel>
</rss>

