<?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 Failed to export extensible sdk in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Failed-to-export-extensible-sdk/m-p/1240671#M170375</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;The populate_sdk works well but populate_sdk_ext doesn't, I'm still stuck here after many tries with clean state, reset devtool and clean build. Could you please help me?&lt;/P&gt;&lt;P&gt;bitbake imx-image-multimedia -c populate_sdk_ext&lt;BR /&gt;WARNING: Host distribution "ubuntu-20.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.&lt;BR /&gt;Parsing recipes: 100% |###########################################################################################################################################| Time: 0:00:33&lt;BR /&gt;Parsing of 3218 .bb files complete (0 cached, 3218 parsed). 4641 targets, 464 skipped, 1 masked, 0 errors.&lt;BR /&gt;NOTE: Resolving any missing task queue dependencies&lt;/P&gt;&lt;P&gt;Build Configuration:&lt;BR /&gt;BB_VERSION = "1.44.0"&lt;BR /&gt;BUILD_SYS = "x86_64-linux"&lt;BR /&gt;NATIVELSBSTRING = "ubuntu-20.04"&lt;BR /&gt;TARGET_SYS = "aarch64-poky-linux"&lt;BR /&gt;MACHINE = "imx8mqevk"&lt;BR /&gt;DISTRO = "fsl-imx-wayland"&lt;BR /&gt;DISTRO_VERSION = "5.4-zeus"&lt;BR /&gt;TUNE_FEATURES = "aarch64 cortexa53 crc crypto"&lt;BR /&gt;TARGET_FPU = ""&lt;BR /&gt;meta&lt;BR /&gt;meta-poky&lt;BR /&gt;meta-oe&lt;BR /&gt;meta-multimedia&lt;BR /&gt;meta-python&lt;BR /&gt;meta-freescale&lt;BR /&gt;meta-freescale-3rdparty&lt;BR /&gt;meta-freescale-distro&lt;BR /&gt;meta-bsp&lt;BR /&gt;meta-sdk&lt;BR /&gt;meta-ml&lt;BR /&gt;meta-nxp-demo-experience&lt;BR /&gt;meta-browser&lt;BR /&gt;meta-rust&lt;BR /&gt;meta-clang&lt;BR /&gt;meta-gnome&lt;BR /&gt;meta-networking&lt;BR /&gt;meta-filesystems&lt;BR /&gt;meta-qt5&lt;BR /&gt;meta-python2&lt;BR /&gt;workspace = "master:70654c0dd9691a6474d19e3fe37ccb893e564102"&lt;/P&gt;&lt;P&gt;Initialising tasks: 100% |########################################################################################################################################| Time: 0:00:05&lt;BR /&gt;NOTE: Executing Tasks&lt;BR /&gt;NOTE: Setscene tasks completed&lt;BR /&gt;NOTE: Excluding local workspace layer /home/techvico/Work/imx-yocto-bsp/build-wayland/workspace from extensible SDK&lt;BR /&gt;ERROR: imx-image-multimedia-1.0-r0 do_populate_sdk_ext: 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:do_populate_sdk_ext(d)&lt;BR /&gt;0003:&lt;BR /&gt;File: '/home/techvico/Work/imx-yocto-bsp/sources/poky/meta/classes/populate_sdk_ext.bbclass', lineno: 691, function: do_populate_sdk_ext&lt;BR /&gt;0687: # ESDKs have a libc from the buildtools so ensure we don't ship linguas twice&lt;BR /&gt;0688: d.delVar('SDKIMAGE_LINGUAS')&lt;BR /&gt;0689: if d.getVar("SDK_INCLUDE_NATIVESDK") == '1':&lt;BR /&gt;0690: generate_nativesdk_lockedsigs(d)&lt;BR /&gt;*** 0691: populate_sdk_common(d)&lt;BR /&gt;0692:}&lt;BR /&gt;0693:&lt;BR /&gt;0694:def generate_nativesdk_lockedsigs(d):&lt;BR /&gt;0695: import oe.copy_buildsystem&lt;BR /&gt;File: '/home/techvico/Work/imx-yocto-bsp/sources/poky/meta/classes/populate_sdk_base.bbclass', lineno: 166, function: populate_sdk_common&lt;BR /&gt;0162: manifest_type=Manifest.MANIFEST_TYPE_SDK_HOST)&lt;BR /&gt;0163: create_manifest(d, manifest_dir=d.getVar('SDK_DIR'),&lt;BR /&gt;0164: manifest_type=Manifest.MANIFEST_TYPE_SDK_TARGET)&lt;BR /&gt;0165:&lt;BR /&gt;*** 0166: populate_sdk(d)&lt;BR /&gt;0167:&lt;BR /&gt;0168:fakeroot python do_populate_sdk() {&lt;BR /&gt;0169: populate_sdk_common(d)&lt;BR /&gt;0170:}&lt;BR /&gt;File: '/home/techvico/Work/imx-yocto-bsp/sources/poky/meta/lib/oe/sdk.py', lineno: 417, function: populate_sdk&lt;BR /&gt;0413: RpmSdk(d, manifest_dir).populate()&lt;BR /&gt;0414: elif img_type == "ipk":&lt;BR /&gt;0415: OpkgSdk(d, manifest_dir).populate()&lt;BR /&gt;0416: elif img_type == "deb":&lt;BR /&gt;*** 0417: DpkgSdk(d, manifest_dir).populate()&lt;BR /&gt;0418:&lt;BR /&gt;0419: os.environ.clear()&lt;BR /&gt;0420: os.environ.update(env_bkp)&lt;BR /&gt;0421:&lt;BR /&gt;File: '/home/techvico/Work/imx-yocto-bsp/sources/poky/meta/lib/oe/sdk.py', lineno: 60, function: populate&lt;BR /&gt;0056: self.sysconfdir, "ld.so.cache")&lt;BR /&gt;0057: self.mkdirhier(os.path.dirname(link_name))&lt;BR /&gt;0058: os.symlink("/etc/ld.so.cache", link_name)&lt;BR /&gt;0059:&lt;BR /&gt;*** 0060: execute_pre_post_process(self.d, self.d.getVar('SDK_POSTPROCESS_COMMAND'))&lt;BR /&gt;0061:&lt;BR /&gt;0062: def movefile(self, sourcefile, destdir):&lt;BR /&gt;0063: try:&lt;BR /&gt;0064: # FIXME: this check of movefile's return code to None should be&lt;BR /&gt;File: '/home/techvico/Work/imx-yocto-bsp/sources/poky/meta/lib/oe/utils.py', lineno: 260, function: execute_pre_post_process&lt;BR /&gt;0256: for cmd in cmds.strip().split(';'):&lt;BR /&gt;0257: cmd = cmd.strip()&lt;BR /&gt;0258: if cmd != '':&lt;BR /&gt;0259: bb.note("Executing %s ..." % cmd)&lt;BR /&gt;*** 0260: bb.build.exec_func(cmd, d)&lt;BR /&gt;0261:&lt;BR /&gt;0262:# For each item in items, call the function 'target' with item as the first&lt;BR /&gt;0263:# argument, extraargs as the other arguments and handle any exceptions in the&lt;BR /&gt;0264:# parent thread&lt;BR /&gt;File: '/home/techvico/Work/imx-yocto-bsp/sources/poky/bitbake/lib/bb/build.py', lineno: 250, function: exec_func&lt;BR /&gt;0246: with bb.utils.fileslocked(lockfiles):&lt;BR /&gt;0247: if ispython:&lt;BR /&gt;0248: exec_func_python(func, d, runfile, cwd=adir)&lt;BR /&gt;0249: else:&lt;BR /&gt;*** 0250: exec_func_shell(func, d, runfile, cwd=adir)&lt;BR /&gt;0251:&lt;BR /&gt;0252: try:&lt;BR /&gt;0253: curcwd = os.getcwd()&lt;BR /&gt;0254: except:&lt;BR /&gt;File: '/home/techvico/Work/imx-yocto-bsp/sources/poky/bitbake/lib/bb/build.py', lineno: 451, function: exec_func_shell&lt;BR /&gt;0447: with open(fifopath, 'r+b', buffering=0) as fifo:&lt;BR /&gt;0448: try:&lt;BR /&gt;0449: bb.debug(2, "Executing shell function %s" % func)&lt;BR /&gt;0450: with open(os.devnull, 'r+') as stdin, logfile:&lt;BR /&gt;*** 0451: bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])&lt;BR /&gt;0452: finally:&lt;BR /&gt;0453: os.unlink(fifopath)&lt;BR /&gt;0454:&lt;BR /&gt;0455: bb.debug(2, "Shell function %s finished" % func)&lt;BR /&gt;File: '/home/techvico/Work/imx-yocto-bsp/sources/poky/bitbake/lib/bb/process.py', lineno: 182, function: run&lt;BR /&gt;0178: if not stderr is None:&lt;BR /&gt;0179: stderr = stderr.decode("utf-8")&lt;BR /&gt;0180:&lt;BR /&gt;0181: if pipe.returncode != 0:&lt;BR /&gt;*** 0182: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)&lt;BR /&gt;0183: return stdout, stderr&lt;BR /&gt;Exception: bb.process.ExecutionError: Execution of '/home/techvico/Work/imx-yocto-bsp/build-wayland/tmp/work/imx8mqevk-poky-linux/imx-image-multimedia/1.0-r0/temp/run.archive_sdk.317087' failed with exit code 137:&lt;BR /&gt;tar: ./bitbake.sock: socket ignored&lt;BR /&gt;Killed&lt;BR /&gt;WARNING: exit code 137 from a shell command.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ERROR: Logfile of failure stored in: /home/techvico/Work/imx-yocto-bsp/build-wayland/tmp/work/imx8mqevk-poky-linux/imx-image-multimedia/1.0-r0/temp/log.do_populate_sdk_ext.317087&lt;BR /&gt;ERROR: Task (/home/techvico/Work/imx-yocto-bsp/sources/meta-imx/meta-sdk/recipes-fsl/images/imx-image-multimedia.bb:do_populate_sdk_ext) failed with exit code '1'&lt;/P&gt;</description>
    <pubDate>Fri, 05 Mar 2021 03:46:37 GMT</pubDate>
    <dc:creator>thinhpham</dc:creator>
    <dc:date>2021-03-05T03:46:37Z</dc:date>
    <item>
      <title>Failed to export extensible sdk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Failed-to-export-extensible-sdk/m-p/1240671#M170375</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;The populate_sdk works well but populate_sdk_ext doesn't, I'm still stuck here after many tries with clean state, reset devtool and clean build. Could you please help me?&lt;/P&gt;&lt;P&gt;bitbake imx-image-multimedia -c populate_sdk_ext&lt;BR /&gt;WARNING: Host distribution "ubuntu-20.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.&lt;BR /&gt;Parsing recipes: 100% |###########################################################################################################################################| Time: 0:00:33&lt;BR /&gt;Parsing of 3218 .bb files complete (0 cached, 3218 parsed). 4641 targets, 464 skipped, 1 masked, 0 errors.&lt;BR /&gt;NOTE: Resolving any missing task queue dependencies&lt;/P&gt;&lt;P&gt;Build Configuration:&lt;BR /&gt;BB_VERSION = "1.44.0"&lt;BR /&gt;BUILD_SYS = "x86_64-linux"&lt;BR /&gt;NATIVELSBSTRING = "ubuntu-20.04"&lt;BR /&gt;TARGET_SYS = "aarch64-poky-linux"&lt;BR /&gt;MACHINE = "imx8mqevk"&lt;BR /&gt;DISTRO = "fsl-imx-wayland"&lt;BR /&gt;DISTRO_VERSION = "5.4-zeus"&lt;BR /&gt;TUNE_FEATURES = "aarch64 cortexa53 crc crypto"&lt;BR /&gt;TARGET_FPU = ""&lt;BR /&gt;meta&lt;BR /&gt;meta-poky&lt;BR /&gt;meta-oe&lt;BR /&gt;meta-multimedia&lt;BR /&gt;meta-python&lt;BR /&gt;meta-freescale&lt;BR /&gt;meta-freescale-3rdparty&lt;BR /&gt;meta-freescale-distro&lt;BR /&gt;meta-bsp&lt;BR /&gt;meta-sdk&lt;BR /&gt;meta-ml&lt;BR /&gt;meta-nxp-demo-experience&lt;BR /&gt;meta-browser&lt;BR /&gt;meta-rust&lt;BR /&gt;meta-clang&lt;BR /&gt;meta-gnome&lt;BR /&gt;meta-networking&lt;BR /&gt;meta-filesystems&lt;BR /&gt;meta-qt5&lt;BR /&gt;meta-python2&lt;BR /&gt;workspace = "master:70654c0dd9691a6474d19e3fe37ccb893e564102"&lt;/P&gt;&lt;P&gt;Initialising tasks: 100% |########################################################################################################################################| Time: 0:00:05&lt;BR /&gt;NOTE: Executing Tasks&lt;BR /&gt;NOTE: Setscene tasks completed&lt;BR /&gt;NOTE: Excluding local workspace layer /home/techvico/Work/imx-yocto-bsp/build-wayland/workspace from extensible SDK&lt;BR /&gt;ERROR: imx-image-multimedia-1.0-r0 do_populate_sdk_ext: 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:do_populate_sdk_ext(d)&lt;BR /&gt;0003:&lt;BR /&gt;File: '/home/techvico/Work/imx-yocto-bsp/sources/poky/meta/classes/populate_sdk_ext.bbclass', lineno: 691, function: do_populate_sdk_ext&lt;BR /&gt;0687: # ESDKs have a libc from the buildtools so ensure we don't ship linguas twice&lt;BR /&gt;0688: d.delVar('SDKIMAGE_LINGUAS')&lt;BR /&gt;0689: if d.getVar("SDK_INCLUDE_NATIVESDK") == '1':&lt;BR /&gt;0690: generate_nativesdk_lockedsigs(d)&lt;BR /&gt;*** 0691: populate_sdk_common(d)&lt;BR /&gt;0692:}&lt;BR /&gt;0693:&lt;BR /&gt;0694:def generate_nativesdk_lockedsigs(d):&lt;BR /&gt;0695: import oe.copy_buildsystem&lt;BR /&gt;File: '/home/techvico/Work/imx-yocto-bsp/sources/poky/meta/classes/populate_sdk_base.bbclass', lineno: 166, function: populate_sdk_common&lt;BR /&gt;0162: manifest_type=Manifest.MANIFEST_TYPE_SDK_HOST)&lt;BR /&gt;0163: create_manifest(d, manifest_dir=d.getVar('SDK_DIR'),&lt;BR /&gt;0164: manifest_type=Manifest.MANIFEST_TYPE_SDK_TARGET)&lt;BR /&gt;0165:&lt;BR /&gt;*** 0166: populate_sdk(d)&lt;BR /&gt;0167:&lt;BR /&gt;0168:fakeroot python do_populate_sdk() {&lt;BR /&gt;0169: populate_sdk_common(d)&lt;BR /&gt;0170:}&lt;BR /&gt;File: '/home/techvico/Work/imx-yocto-bsp/sources/poky/meta/lib/oe/sdk.py', lineno: 417, function: populate_sdk&lt;BR /&gt;0413: RpmSdk(d, manifest_dir).populate()&lt;BR /&gt;0414: elif img_type == "ipk":&lt;BR /&gt;0415: OpkgSdk(d, manifest_dir).populate()&lt;BR /&gt;0416: elif img_type == "deb":&lt;BR /&gt;*** 0417: DpkgSdk(d, manifest_dir).populate()&lt;BR /&gt;0418:&lt;BR /&gt;0419: os.environ.clear()&lt;BR /&gt;0420: os.environ.update(env_bkp)&lt;BR /&gt;0421:&lt;BR /&gt;File: '/home/techvico/Work/imx-yocto-bsp/sources/poky/meta/lib/oe/sdk.py', lineno: 60, function: populate&lt;BR /&gt;0056: self.sysconfdir, "ld.so.cache")&lt;BR /&gt;0057: self.mkdirhier(os.path.dirname(link_name))&lt;BR /&gt;0058: os.symlink("/etc/ld.so.cache", link_name)&lt;BR /&gt;0059:&lt;BR /&gt;*** 0060: execute_pre_post_process(self.d, self.d.getVar('SDK_POSTPROCESS_COMMAND'))&lt;BR /&gt;0061:&lt;BR /&gt;0062: def movefile(self, sourcefile, destdir):&lt;BR /&gt;0063: try:&lt;BR /&gt;0064: # FIXME: this check of movefile's return code to None should be&lt;BR /&gt;File: '/home/techvico/Work/imx-yocto-bsp/sources/poky/meta/lib/oe/utils.py', lineno: 260, function: execute_pre_post_process&lt;BR /&gt;0256: for cmd in cmds.strip().split(';'):&lt;BR /&gt;0257: cmd = cmd.strip()&lt;BR /&gt;0258: if cmd != '':&lt;BR /&gt;0259: bb.note("Executing %s ..." % cmd)&lt;BR /&gt;*** 0260: bb.build.exec_func(cmd, d)&lt;BR /&gt;0261:&lt;BR /&gt;0262:# For each item in items, call the function 'target' with item as the first&lt;BR /&gt;0263:# argument, extraargs as the other arguments and handle any exceptions in the&lt;BR /&gt;0264:# parent thread&lt;BR /&gt;File: '/home/techvico/Work/imx-yocto-bsp/sources/poky/bitbake/lib/bb/build.py', lineno: 250, function: exec_func&lt;BR /&gt;0246: with bb.utils.fileslocked(lockfiles):&lt;BR /&gt;0247: if ispython:&lt;BR /&gt;0248: exec_func_python(func, d, runfile, cwd=adir)&lt;BR /&gt;0249: else:&lt;BR /&gt;*** 0250: exec_func_shell(func, d, runfile, cwd=adir)&lt;BR /&gt;0251:&lt;BR /&gt;0252: try:&lt;BR /&gt;0253: curcwd = os.getcwd()&lt;BR /&gt;0254: except:&lt;BR /&gt;File: '/home/techvico/Work/imx-yocto-bsp/sources/poky/bitbake/lib/bb/build.py', lineno: 451, function: exec_func_shell&lt;BR /&gt;0447: with open(fifopath, 'r+b', buffering=0) as fifo:&lt;BR /&gt;0448: try:&lt;BR /&gt;0449: bb.debug(2, "Executing shell function %s" % func)&lt;BR /&gt;0450: with open(os.devnull, 'r+') as stdin, logfile:&lt;BR /&gt;*** 0451: bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])&lt;BR /&gt;0452: finally:&lt;BR /&gt;0453: os.unlink(fifopath)&lt;BR /&gt;0454:&lt;BR /&gt;0455: bb.debug(2, "Shell function %s finished" % func)&lt;BR /&gt;File: '/home/techvico/Work/imx-yocto-bsp/sources/poky/bitbake/lib/bb/process.py', lineno: 182, function: run&lt;BR /&gt;0178: if not stderr is None:&lt;BR /&gt;0179: stderr = stderr.decode("utf-8")&lt;BR /&gt;0180:&lt;BR /&gt;0181: if pipe.returncode != 0:&lt;BR /&gt;*** 0182: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)&lt;BR /&gt;0183: return stdout, stderr&lt;BR /&gt;Exception: bb.process.ExecutionError: Execution of '/home/techvico/Work/imx-yocto-bsp/build-wayland/tmp/work/imx8mqevk-poky-linux/imx-image-multimedia/1.0-r0/temp/run.archive_sdk.317087' failed with exit code 137:&lt;BR /&gt;tar: ./bitbake.sock: socket ignored&lt;BR /&gt;Killed&lt;BR /&gt;WARNING: exit code 137 from a shell command.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ERROR: Logfile of failure stored in: /home/techvico/Work/imx-yocto-bsp/build-wayland/tmp/work/imx8mqevk-poky-linux/imx-image-multimedia/1.0-r0/temp/log.do_populate_sdk_ext.317087&lt;BR /&gt;ERROR: Task (/home/techvico/Work/imx-yocto-bsp/sources/meta-imx/meta-sdk/recipes-fsl/images/imx-image-multimedia.bb:do_populate_sdk_ext) failed with exit code '1'&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 03:46:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Failed-to-export-extensible-sdk/m-p/1240671#M170375</guid>
      <dc:creator>thinhpham</dc:creator>
      <dc:date>2021-03-05T03:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to export extensible sdk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Failed-to-export-extensible-sdk/m-p/1241917#M170515</link>
      <description>&lt;P&gt;Have you try to use Ubuntu 18.04?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 18:08:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Failed-to-export-extensible-sdk/m-p/1241917#M170515</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2021-03-08T18:08:40Z</dc:date>
    </item>
  </channel>
</rss>

