<?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: LSDK1909 weston compilation failure on custom docker container in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LSDK1909-weston-compilation-failure-on-custom-docker-container/m-p/1026753#M5597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured out the issue: I had been installing “sudo apt install -y binfmt-support qemu-system-common qemu-user-static" within the container, rather than the host.After installing it on the host, the issue was resolved.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Feb 2020 18:50:35 GMT</pubDate>
    <dc:creator>rita_fang</dc:creator>
    <dc:date>2020-02-17T18:50:35Z</dc:date>
    <item>
      <title>LSDK1909 weston compilation failure on custom docker container</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK1909-weston-compilation-failure-on-custom-docker-container/m-p/1026748#M5592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having trouble building a ls1088ardb_pb image (with CONFIG_APP_SECURE_OBJ and CONFIG_APP_OPTEE enabled) via LSDK 19.09 on a docker amd64 Ubuntu 18.04.3 container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen previous questions about this (&lt;A href="https://community.nxp.com/thread/520560"&gt;LSDK weston build error&lt;/A&gt;&amp;nbsp;,&amp;nbsp;&lt;A href="https://community.nxp.com/thread/519946"&gt;compilation failure  flexbuild_lsdk1909_update_221019 "app" component 'weston'&lt;/A&gt;&amp;nbsp;) and tried running "&lt;SPAN style="color: #201f1e; background-color: #ffffff;"&gt;sudo apt install -y binfmt-support qemu-system-common qemu-user-static" in the container, but the issue still exists.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #201f1e; background-color: #ffffff;"&gt;Additionally, because I do not have sudo permissions on the&amp;nbsp;host machine, I&amp;nbsp;am not able to run "flex-builder docker" on the host, and so I've been mounting to the LSDK directory and&amp;nbsp;installing the apt-get dependencies within the container&amp;nbsp;manually.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2020 19:23:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK1909-weston-compilation-failure-on-custom-docker-container/m-p/1026748#M5592</guid>
      <dc:creator>rita_fang</dc:creator>
      <dc:date>2020-02-13T19:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK1909 weston compilation failure on custom docker container</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK1909-weston-compilation-failure-on-custom-docker-container/m-p/1026749#M5593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: windowtext;"&gt;Use the latest update &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;LSDK 19.09 update 311219:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;A href="https://www.nxp.com/design/software/embedded-software/linux-software-and-development-tools/layerscape-software-development-kit:LAYERSCAPE-SDK?tab=Documentation_Tab"&gt;https://www.nxp.com/design/software/embedded-software/linux-software-and-development-tools/layerscape-software-development-kit:LAYERSCAPE-SDK?tab=Documentation_Tab&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: windowtext;"&gt;This problem is solved in this LSDK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2020 09:06:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK1909-weston-compilation-failure-on-custom-docker-container/m-p/1026749#M5593</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2020-02-14T09:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK1909 weston compilation failure on custom docker container</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK1909-weston-compilation-failure-on-custom-docker-container/m-p/1026750#M5594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I downloaded&amp;nbsp;flexbuild_lsdk1909_update_311219 from NXP and tried rebuilding for ls1088ardb_pb, but ran into the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Building weston ...&lt;BR /&gt;Cloning into 'weston'...&lt;BR /&gt;warning: redirecting to &lt;A href="https://source.codeaurora.org/external/imx/weston-imx.git/" target="test_blank"&gt;https://source.codeaurora.org/external/imx/weston-imx.git/&lt;/A&gt;&lt;BR /&gt;warning: remote HEAD refers to nonexistent ref, unable to checkout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Switched to a new branch 'rel_virt_4.14.98_4.11_0.10_ga'&lt;BR /&gt;/src/packages/apps&lt;BR /&gt;chroot: failed to run command 'ldconfig': Exec format error&lt;BR /&gt;Makefile:720: recipe for target 'weston' failed&lt;BR /&gt;make[1]: *** [weston] Error 126&lt;BR /&gt;make[1]: Leaving directory '/src/packages/apps'&lt;BR /&gt;Makefile:28: recipe for target 'apps' failed&lt;BR /&gt;make: *** [apps] Error 2&lt;BR /&gt;make: Leaving directory '/src'&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2020 17:43:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK1909-weston-compilation-failure-on-custom-docker-container/m-p/1026750#M5594</guid>
      <dc:creator>rita_fang</dc:creator>
      <dc:date>2020-02-14T17:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK1909 weston compilation failure on custom docker container</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK1909-weston-compilation-failure-on-custom-docker-container/m-p/1026751#M5595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: windowtext;"&gt;Try to install &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #201f1e; background: white;"&gt;“sudo apt install -y binfmt-support qemu-system-common qemu-user-static“.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #201f1e; background: white;"&gt;It should resolve your issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #201f1e; background: white;"&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2020 01:29:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK1909-weston-compilation-failure-on-custom-docker-container/m-p/1026751#M5595</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2020-02-17T01:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK1909 weston compilation failure on custom docker container</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK1909-weston-compilation-failure-on-custom-docker-container/m-p/1026752#M5596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ran&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;sudo apt install -y binfmt-support qemu-system-common qemu-user-static&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;then re-tried&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;flex-builder -m ls1088ardb_pb&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Unfortunately, I still got the same error:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;nbsp;Building weston ...&lt;BR /&gt;chroot: failed to run command 'ldconfig': Exec format error&lt;BR /&gt;Makefile:720: recipe for target 'weston' failed&lt;BR /&gt;make[1]: *** [weston] Error 126&lt;BR /&gt;make[1]: Leaving directory '/src/packages/apps'&lt;BR /&gt;Makefile:28: recipe for target 'apps' failed&lt;BR /&gt;make: *** [apps] Error 2&lt;BR /&gt;make: Leaving directory '/src'&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I'm not sure if the fact that I started a clean docker container without using "flex-builder docker", then mounted to the LSDK directory and installed the packages in the dockerfile manually&amp;nbsp;may be the cause. Trying to run flex-builder docker involved permissions I do not have, so I have been trying to use a workaround.&lt;SPAN style="background: white; color: #201f1e; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;docker run --net=host -v $(pwd):/src -it ubuntu:18.04&lt;/P&gt;&lt;P&gt;apt-get update&lt;/P&gt;&lt;P&gt;apt-get dist-upgrade&lt;/P&gt;&lt;P&gt;apt-get update&lt;BR /&gt;apt-get install -y \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; u-boot-tools device-tree-compiler autoconf automake dh-autoreconf libssl-dev zip \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; openssl python-pip flex bison bc git gcc vim ethtool wget ftp make makedev tclsh \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; binfmt-support qemu-system-common qemu-user-static debootstrap sudo ncurses-dev&amp;nbsp; \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gcc-arm-linux-gnueabihf crossbuild-essential-arm64 gcc-aarch64-linux-gnu file&amp;nbsp;&amp;nbsp;&amp;nbsp; \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; build-essential gdb u-boot-tools device-tree-compiler python python-dev curl&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libxml2-dev libsensors4-dev libssl-dev libedit-dev liblzma-dev tree binutils-dev \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libnuma-dev libpcap-dev libtool mtd-utils libncurses5-dev libelf-dev net-tools&amp;nbsp;&amp;nbsp; \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libcunit1-dev pkg-config autotools-dev crossbuild-essential-armhf openssh-server \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; openssh-client crossbuild-essential-armhf qemu-utils kmod g++-aarch64-linux-gnu&amp;nbsp; \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cpp-arm-linux-gnueabihf dosfstools ruby iputils-ping cpio rsync libtclap-dev&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;parted android-tools-fsutils rpm2cpio lsb-release xutils-dev libwayland-bin cmake \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;locales texinfo chrpath diffstat gawk&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2020 12:59:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK1909-weston-compilation-failure-on-custom-docker-container/m-p/1026752#M5596</guid>
      <dc:creator>rita_fang</dc:creator>
      <dc:date>2020-02-17T12:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK1909 weston compilation failure on custom docker container</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK1909-weston-compilation-failure-on-custom-docker-container/m-p/1026753#M5597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured out the issue: I had been installing “sudo apt install -y binfmt-support qemu-system-common qemu-user-static" within the container, rather than the host.After installing it on the host, the issue was resolved.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2020 18:50:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK1909-weston-compilation-failure-on-custom-docker-container/m-p/1026753#M5597</guid>
      <dc:creator>rita_fang</dc:creator>
      <dc:date>2020-02-17T18:50:35Z</dc:date>
    </item>
  </channel>
</rss>

