<?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 Build  error in bitbake imx-image-multimedia in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Build-error-in-bitbake-imx-image-multimedia/m-p/1281991#M174515</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to build imx-image-multimedia for imx8mpevk.&lt;/P&gt;&lt;P&gt;I set DISTRO = 'fsl-imx-wayland' MACHINE = 'imx8mpevk'&lt;/P&gt;&lt;P&gt;After a while the build is failing with below error:&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;ERROR: gtk+3-3.24.22-r0 do_package: Error executing a python function in exec_python_func() autogenerated:&lt;/P&gt;&lt;P&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;0001:&lt;BR /&gt;*** 0002:sstate_task_postfunc(d)&lt;BR /&gt;0003:&lt;/P&gt;&lt;P&gt;File: '/home/shiv/bin/imx-yocto-bsp/sources/poky/meta/classes/sstate.bbclass', lineno: 766, function: sstate_task_postfunc&lt;BR /&gt;0762:&lt;BR /&gt;0763: omask = os.umask(0o002)&lt;BR /&gt;0764: if omask != 0o002:&lt;BR /&gt;0765: bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask)&lt;BR /&gt;*** 0766: sstate_package(shared_state, d)&lt;BR /&gt;0767: os.umask(omask)&lt;BR /&gt;0768:&lt;BR /&gt;0769: sstateinst = d.getVar("SSTATE_INSTDIR")&lt;BR /&gt;0770: 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;0638: tmpdir = d.getVar('TMPDIR')&lt;BR /&gt;0639:&lt;BR /&gt;0640: sstatebuild = d.expand("${WORKDIR}/sstate-build-%s/" % ss['task'])&lt;BR /&gt;0641: d.setVar("SSTATE_CURRTASK", ss['task'])&lt;BR /&gt;*** 0642: bb.utils.remove(sstatebuild, recurse=True)&lt;BR /&gt;0643: bb.utils.mkdirhier(sstatebuild)&lt;BR /&gt;0644: for state in ss['dirs']:&lt;BR /&gt;0645: if not os.path.exists(state[1]):&lt;BR /&gt;0646: 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;0681: # shutil.rmtree(name) would be ideal but its too slow&lt;BR /&gt;0682: cmd = []&lt;BR /&gt;0683: if ionice:&lt;BR /&gt;0684: cmd = ['ionice', '-c', '3']&lt;BR /&gt;*** 0685: subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path))&lt;BR /&gt;0686: return&lt;BR /&gt;0687: for name in glob.glob(path):&lt;BR /&gt;0688: try:&lt;BR /&gt;0689: os.unlink(name)&lt;BR /&gt;File: '/usr/lib/python3.6/subprocess.py', lineno: 311, function: check_call&lt;BR /&gt;0307: if retcode:&lt;BR /&gt;0308: cmd = kwargs.get("args")&lt;BR /&gt;0309: if cmd is None:&lt;BR /&gt;0310: cmd = popenargs[0]&lt;BR /&gt;*** 0311: raise CalledProcessError(retcode, cmd)&lt;BR /&gt;0312: return 0&lt;BR /&gt;0313:&lt;BR /&gt;0314:&lt;BR /&gt;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;/P&gt;&lt;P&gt;ERROR: Logfile of failure stored in: /home/shiv/bin/imx-yocto-bsp/buildmedia/tmp/work/cortexa53-crypto-mx8mp-poky-linux/gtk+3/3.24.22-r0/temp/log.do_package.31634&lt;BR /&gt;ERROR: Task (/home/shiv/bin/imx-yocto-bsp/sources/poky/meta/recipes-gnome/gtk+/gtk+3_3.24.22.bb:do_package) failed with exit code '1'&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you pls help here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 May 2021 17:19:38 GMT</pubDate>
    <dc:creator>ShivM</dc:creator>
    <dc:date>2021-05-25T17:19:38Z</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/1281991#M174515</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to build imx-image-multimedia for imx8mpevk.&lt;/P&gt;&lt;P&gt;I set DISTRO = 'fsl-imx-wayland' MACHINE = 'imx8mpevk'&lt;/P&gt;&lt;P&gt;After a while the build is failing with below error:&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;ERROR: gtk+3-3.24.22-r0 do_package: Error executing a python function in exec_python_func() autogenerated:&lt;/P&gt;&lt;P&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;0001:&lt;BR /&gt;*** 0002:sstate_task_postfunc(d)&lt;BR /&gt;0003:&lt;/P&gt;&lt;P&gt;File: '/home/shiv/bin/imx-yocto-bsp/sources/poky/meta/classes/sstate.bbclass', lineno: 766, function: sstate_task_postfunc&lt;BR /&gt;0762:&lt;BR /&gt;0763: omask = os.umask(0o002)&lt;BR /&gt;0764: if omask != 0o002:&lt;BR /&gt;0765: bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask)&lt;BR /&gt;*** 0766: sstate_package(shared_state, d)&lt;BR /&gt;0767: os.umask(omask)&lt;BR /&gt;0768:&lt;BR /&gt;0769: sstateinst = d.getVar("SSTATE_INSTDIR")&lt;BR /&gt;0770: 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;0638: tmpdir = d.getVar('TMPDIR')&lt;BR /&gt;0639:&lt;BR /&gt;0640: sstatebuild = d.expand("${WORKDIR}/sstate-build-%s/" % ss['task'])&lt;BR /&gt;0641: d.setVar("SSTATE_CURRTASK", ss['task'])&lt;BR /&gt;*** 0642: bb.utils.remove(sstatebuild, recurse=True)&lt;BR /&gt;0643: bb.utils.mkdirhier(sstatebuild)&lt;BR /&gt;0644: for state in ss['dirs']:&lt;BR /&gt;0645: if not os.path.exists(state[1]):&lt;BR /&gt;0646: 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;0681: # shutil.rmtree(name) would be ideal but its too slow&lt;BR /&gt;0682: cmd = []&lt;BR /&gt;0683: if ionice:&lt;BR /&gt;0684: cmd = ['ionice', '-c', '3']&lt;BR /&gt;*** 0685: subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path))&lt;BR /&gt;0686: return&lt;BR /&gt;0687: for name in glob.glob(path):&lt;BR /&gt;0688: try:&lt;BR /&gt;0689: os.unlink(name)&lt;BR /&gt;File: '/usr/lib/python3.6/subprocess.py', lineno: 311, function: check_call&lt;BR /&gt;0307: if retcode:&lt;BR /&gt;0308: cmd = kwargs.get("args")&lt;BR /&gt;0309: if cmd is None:&lt;BR /&gt;0310: cmd = popenargs[0]&lt;BR /&gt;*** 0311: raise CalledProcessError(retcode, cmd)&lt;BR /&gt;0312: return 0&lt;BR /&gt;0313:&lt;BR /&gt;0314:&lt;BR /&gt;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;/P&gt;&lt;P&gt;ERROR: Logfile of failure stored in: /home/shiv/bin/imx-yocto-bsp/buildmedia/tmp/work/cortexa53-crypto-mx8mp-poky-linux/gtk+3/3.24.22-r0/temp/log.do_package.31634&lt;BR /&gt;ERROR: Task (/home/shiv/bin/imx-yocto-bsp/sources/poky/meta/recipes-gnome/gtk+/gtk+3_3.24.22.bb:do_package) failed with exit code '1'&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you pls help here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 17:19:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-error-in-bitbake-imx-image-multimedia/m-p/1281991#M174515</guid>
      <dc:creator>ShivM</dc:creator>
      <dc:date>2021-05-25T17:19:38Z</dc:date>
    </item>
  </channel>
</rss>

