<?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>i.MX ProcessorsのトピックRe: Build error in bitbake imx-image-multimedia</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Build-error-in-bitbake-imx-image-multimedia/m-p/1282524#M174569</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Before compling linux bsp, you need to some dependency packages. you can refer to the document to configure your ubuntu 18.04/20.4 LTS, enven debian-10.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Wireless-Connectivity-Knowledge/WiFi-BT-Integretion-Linux-BSP-compilation-for-iMX-platform/ta-p/1277199" target="_blank"&gt;https://community.nxp.com/t5/Wireless-Connectivity-Knowledge/WiFi-BT-Integretion-Linux-BSP-compilation-for-iMX-platform/ta-p/1277199&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;
&lt;P&gt;B.R,&lt;/P&gt;
&lt;P&gt;weidong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 May 2021 11:00:37 GMT</pubDate>
    <dc:creator>weidong_sun</dc:creator>
    <dc:date>2021-05-26T11:00:37Z</dc:date>
    <item>
      <title>Build error in bitbake imx-image-multimedia</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-error-in-bitbake-imx-image-multimedia/m-p/1282460#M174557</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am trying to build&amp;nbsp; imx-image-multimedia for IMX8MPLus EVK.&lt;/DIV&gt;&lt;DIV&gt;I set MACHINE = 'imx8mpevk' and&amp;nbsp; DISTRO = 'fsl-imx-wayland'&lt;/DIV&gt;&lt;DIV&gt;Build configuration is as follows:&lt;/DIV&gt;&lt;DIV&gt;Build Configuration:&lt;BR /&gt;BB_VERSION &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = "1.48.0"&lt;BR /&gt;BUILD_SYS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= "x86_64-linux"&lt;BR /&gt;NATIVELSBSTRING &amp;nbsp; &amp;nbsp; &amp;nbsp;= "ubuntu-18.04"&lt;BR /&gt;TARGET_SYS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = "aarch64-poky-linux"&lt;BR /&gt;MACHINE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= "imx8mpevk"&lt;BR /&gt;DISTRO &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = "fsl-imx-wayland"&lt;BR /&gt;DISTRO_VERSION &amp;nbsp; &amp;nbsp; &amp;nbsp; = "5.10-gatesgarth"&lt;BR /&gt;TUNE_FEATURES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= "aarch64 armv8a crc cortexa53 crypto"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Below is the error message I got:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;ERROR: Error executing a python function in exec_python_func() autogenerated:&lt;BR /&gt;&lt;BR /&gt;The stack trace of python calls that resulted in this exception/failure was:&lt;BR /&gt;File: 'exec_python_func() autogenerated', lineno: 2, function: &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0001:&lt;BR /&gt;&amp;nbsp;*** 0002:sstate_task_postfunc(d)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0003:&lt;BR /&gt;File: '/home/shiv/bin/imx-yocto-bsp/sources/poky/meta/classes/sstate.bbclass', lineno: 766, function: sstate_task_postfunc&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0762:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0763: &amp;nbsp; &amp;nbsp;omask = os.umask(0o002)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0764: &amp;nbsp; &amp;nbsp;if omask != 0o002:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0765: &amp;nbsp; &amp;nbsp; &amp;nbsp; bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask)&lt;BR /&gt;&amp;nbsp;*** 0766: &amp;nbsp; &amp;nbsp;sstate_package(shared_state, d)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0767: &amp;nbsp; &amp;nbsp;os.umask(omask)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0768:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0769: &amp;nbsp; &amp;nbsp;sstateinst = d.getVar("SSTATE_INSTDIR")&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0770: &amp;nbsp; &amp;nbsp;d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir'])&lt;BR /&gt;File: '/home/shiv/bin/imx-yocto-bsp/sources/poky/meta/classes/sstate.bbclass', lineno: 642, function: sstate_package&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0638: &amp;nbsp; &amp;nbsp;tmpdir = d.getVar('TMPDIR')&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0639:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0640: &amp;nbsp; &amp;nbsp;sstatebuild = d.expand("${WORKDIR}/sstate-build-%s/" % ss['task'])&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0641: &amp;nbsp; &amp;nbsp;d.setVar("SSTATE_CURRTASK", ss['task'])&lt;BR /&gt;&amp;nbsp;*** 0642: &amp;nbsp; &amp;nbsp;bb.utils.remove(sstatebuild, recurse=True)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0643: &amp;nbsp; &amp;nbsp;bb.utils.mkdirhier(sstatebuild)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0644: &amp;nbsp; &amp;nbsp;for state in ss['dirs']:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0645: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if not os.path.exists(state[1]):&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0646: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;continue&lt;BR /&gt;File: '/home/shiv/bin/imx-yocto-bsp/sources/poky/bitbake/lib/bb/utils.py', lineno: 685, function: remove&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0681: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# shutil.rmtree(name) would be ideal but its too slow&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0682: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cmd = []&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0683: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ionice:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0684: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cmd = ['ionice', '-c', '3']&lt;BR /&gt;&amp;nbsp;*** 0685: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path))&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0686: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0687: &amp;nbsp; &amp;nbsp;for name in glob.glob(path):&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0688: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0689: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;os.unlink(name)&lt;BR /&gt;File: '/usr/lib/python3.6/subprocess.py', lineno: 311, function: check_call&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0307: &amp;nbsp; &amp;nbsp;if retcode:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0308: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cmd = kwargs.get("args")&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0309: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if cmd is None:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0310: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cmd = popenargs[0]&lt;BR /&gt;&amp;nbsp;*** 0311: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;raise CalledProcessError(retcode, cmd)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0312: &amp;nbsp; &amp;nbsp;return 0&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0313:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0314:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0315:def check_output(*popenargs, timeout=None, **kwargs):&lt;BR /&gt;Exception: subprocess.CalledProcessError: Command '['rm', '-rf', '/home/shiv/bin/imx-yocto-bsp/buildmedia/tmp/work/cortexa53-crypto-mx8mp-poky-linux/gtk+3/3.24.22-r0/sstate-build-package/']' died with &amp;lt;Signals.SIGABRT: 6&amp;gt;.&lt;BR /&gt;&lt;BR /&gt;DEBUG: Python function sstate_task_postfunc finished&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Can you help me solve this issue?&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 May 2021 09:21:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-error-in-bitbake-imx-image-multimedia/m-p/1282460#M174557</guid>
      <dc:creator>ShivM</dc:creator>
      <dc:date>2021-05-26T09:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Build error in bitbake imx-image-multimedia</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-error-in-bitbake-imx-image-multimedia/m-p/1282524#M174569</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Before compling linux bsp, you need to some dependency packages. you can refer to the document to configure your ubuntu 18.04/20.4 LTS, enven debian-10.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Wireless-Connectivity-Knowledge/WiFi-BT-Integretion-Linux-BSP-compilation-for-iMX-platform/ta-p/1277199" target="_blank"&gt;https://community.nxp.com/t5/Wireless-Connectivity-Knowledge/WiFi-BT-Integretion-Linux-BSP-compilation-for-iMX-platform/ta-p/1277199&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;
&lt;P&gt;B.R,&lt;/P&gt;
&lt;P&gt;weidong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 11:00:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-error-in-bitbake-imx-image-multimedia/m-p/1282524#M174569</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2021-05-26T11:00:37Z</dc:date>
    </item>
  </channel>
</rss>

