<?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: Build error while building AOSP for phycore imx8m plus. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Build-error-while-building-AOSP-for-phycore-imx8m-plus/m-p/1637736#M204564</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your response,&lt;/P&gt;&lt;P&gt;I have tried the same thing what you have suggested, I removed this definition but it was giving some other error related to this.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note: I tried to build the source code in different machine there it is working fine&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Actually I copied whole source code from the machine where it was working fine, to the other new machine and here it is not building properly.&lt;/P&gt;&lt;P&gt;Can you please give some input on this.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Apr 2023 06:12:50 GMT</pubDate>
    <dc:creator>ducho7783</dc:creator>
    <dc:date>2023-04-21T06:12:50Z</dc:date>
    <item>
      <title>Build error while building AOSP for phycore imx8m plus.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-error-while-building-AOSP-for-phycore-imx8m-plus/m-p/1635862#M204410</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm building Androd 11 for my Phytec Board but i'm geting this error while building AOSP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;FAILED: out/soong/.minibootstrap/minibp&lt;BR /&gt;out/soong/.bootstrap/build.ninja&lt;BR /&gt;Outputs: out/soong/.bootstrap/build.ninja&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Error: exited with code: 1&lt;BR /&gt;&lt;BR /&gt;Command: out/soong/.minibootstrap/minibp -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/.bootstrap/build.ninja.d -globFile out/soong/.minibootstrap/build-globs.ninja -o out/soong/.bootstrap/build.ninja Android.bp&lt;BR /&gt;&lt;BR /&gt;Output:&lt;BR /&gt;&lt;BR /&gt;^[[31merror:^[[0m build/tools/fs_config/Android.bp:15:1: module "soong-fs_config" already defined&lt;BR /&gt;build/make/tools/fs_config/Android.bp:15:1 &amp;lt;-- previous definition here&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if someone knows this issue give your inputs here please.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 05:00:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-error-while-building-AOSP-for-phycore-imx8m-plus/m-p/1635862#M204410</guid>
      <dc:creator>ducho7783</dc:creator>
      <dc:date>2023-04-19T05:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Build error while building AOSP for phycore imx8m plus.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-error-while-building-AOSP-for-phycore-imx8m-plus/m-p/1636874#M204489</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/214795"&gt;@ducho7783&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope you are doing well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Please check whether the ninja process is running or not when this error occurred.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;If this process is not running and killed then maybe it tries to use so much RAM at a time to fetch the data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Please try to make using -j2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the whole command is given below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;./imx-make.sh -j2&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;or one can follow the below command sequence to achieve the same result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Build U-Boot/kernel with imx-make.sh first, but not to build Android images.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;./imx-make.sh bootloader kernel -j2&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN&gt;# Start the process of building Android images with&amp;nbsp;the "make" function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;make -j2&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It may help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 04:05:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-error-while-building-AOSP-for-phycore-imx8m-plus/m-p/1636874#M204489</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-04-20T04:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Build error while building AOSP for phycore imx8m plus.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-error-while-building-AOSP-for-phycore-imx8m-plus/m-p/1636919#M204497</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Even after following the steps that you have sent, the issue is not getting resolved.&lt;/P&gt;&lt;P&gt;Error logs are given below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;engineer@mctl-embr243:~/Android_NXP/android_build$ make -j2&lt;BR /&gt;============================================&lt;BR /&gt;PLATFORM_VERSION_CODENAME=REL&lt;BR /&gt;PLATFORM_VERSION=11&lt;BR /&gt;TARGET_PRODUCT=phyboard_pollux&lt;BR /&gt;TARGET_BUILD_VARIANT=userdebug&lt;BR /&gt;TARGET_BUILD_TYPE=release&lt;BR /&gt;TARGET_ARCH=arm64&lt;BR /&gt;TARGET_ARCH_VARIANT=armv8-a&lt;BR /&gt;TARGET_CPU_VARIANT=cortex-a53&lt;BR /&gt;TARGET_2ND_ARCH=arm&lt;BR /&gt;TARGET_2ND_ARCH_VARIANT=armv7-a-neon&lt;BR /&gt;TARGET_2ND_CPU_VARIANT=cortex-a9&lt;BR /&gt;HOST_ARCH=x86_64&lt;BR /&gt;HOST_2ND_ARCH=x86&lt;BR /&gt;HOST_OS=linux&lt;BR /&gt;HOST_OS_EXTRA=Linux-5.13.0-30-generic-x86_64-Ubuntu-20.04.6-LTS&lt;BR /&gt;HOST_CROSS_OS=windows&lt;BR /&gt;HOST_CROSS_ARCH=x86&lt;BR /&gt;HOST_CROSS_2ND_ARCH=x86_64&lt;BR /&gt;HOST_BUILD_TYPE=release&lt;BR /&gt;BUILD_ID=RQ1A.201205.003&lt;BR /&gt;OUT_DIR=out&lt;BR /&gt;PRODUCT_SOONG_NAMESPACES=device/generic/goldfish device/generic/goldfish-opengl external/mesa3d vendor/nxp-opensource/imx/power hardware/google/pixel vendor/partner_gms hardware/google/camera vendor/nxp-opensour&lt;BR /&gt;ce/imx/camera&lt;BR /&gt;============================================&lt;BR /&gt;[100% 1/1] out/soong/.minibootstrap/minibp out/soong/.bootstrap/build.ninja&lt;BR /&gt;FAILED: out/soong/.bootstrap/build.ninja&lt;BR /&gt;out/soong/.minibootstrap/minibp -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/.bootstrap/build.ninja.d -globFile out/soong/.minibootstrap/build-globs.ninja -o out/soong/.bootstrap/buil&lt;BR /&gt;d.ninja Android.bp&lt;BR /&gt;error: build/make/tools/fs_config/Android.bp:15:1: module "soong-fs_config" already defined&lt;BR /&gt;build/tools/fs_config/Android.bp:15:1 &amp;lt;-- previous definition here&lt;BR /&gt;11:30:53 soong minibootstrap failed with: exit status 1&lt;/P&gt;&lt;P&gt;#### failed to build some targets (20 seconds) ####&lt;/P&gt;&lt;P&gt;Please provide some inputs to resolve this issue.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 06:05:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-error-while-building-AOSP-for-phycore-imx8m-plus/m-p/1636919#M204497</guid>
      <dc:creator>ducho7783</dc:creator>
      <dc:date>2023-04-20T06:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Build error while building AOSP for phycore imx8m plus.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-error-while-building-AOSP-for-phycore-imx8m-plus/m-p/1637658#M204557</link>
      <description>&lt;P&gt;&lt;SPAN class="im"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/214795"&gt;@ducho7783&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I hope you are doing well.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;From the logs it is seen that the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;soong-fs_config&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;module is defined at build/tools/fs_config/Android.&lt;/SPAN&gt;&lt;WBR /&gt;&lt;SPAN&gt;bp but before it is defined build/make/tools/fs_config/&lt;/SPAN&gt;&lt;WBR /&gt;&lt;SPAN&gt;Android.bp here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So there is a conflict of definition here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please try removing the definition from any of the locations and then recompile it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It may happen due to multiple definitions in Android build dir.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please share the observation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 03:33:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-error-while-building-AOSP-for-phycore-imx8m-plus/m-p/1637658#M204557</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-04-21T03:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Build error while building AOSP for phycore imx8m plus.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-error-while-building-AOSP-for-phycore-imx8m-plus/m-p/1637736#M204564</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your response,&lt;/P&gt;&lt;P&gt;I have tried the same thing what you have suggested, I removed this definition but it was giving some other error related to this.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note: I tried to build the source code in different machine there it is working fine&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Actually I copied whole source code from the machine where it was working fine, to the other new machine and here it is not building properly.&lt;/P&gt;&lt;P&gt;Can you please give some input on this.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 06:12:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-error-while-building-AOSP-for-phycore-imx8m-plus/m-p/1637736#M204564</guid>
      <dc:creator>ducho7783</dc:creator>
      <dc:date>2023-04-21T06:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Build error while building AOSP for phycore imx8m plus.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-error-while-building-AOSP-for-phycore-imx8m-plus/m-p/1637878#M204575</link>
      <description>&lt;P&gt;&lt;SPAN class="im"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/214795"&gt;@ducho7783&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I hope you are doing well.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;Please Make sure where you copied the whole source code has the required packages to build the source code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have mentioned them below, please check them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo apt-get install uuid uuid-dev &amp;nbsp;zlib1g-dev liblz-dev &amp;nbsp;liblzo2-2 liblzo2-dev &amp;nbsp;lzop &amp;nbsp;git curl &amp;nbsp;u-boot-tools &amp;nbsp;mtd-utils &amp;nbsp;android-sdk-libsparse-utils &amp;nbsp;android-sdk-ext4-utils &amp;nbsp;device-tree-compiler &amp;nbsp;gdisk &amp;nbsp;m4 &amp;nbsp;zlib1g-dev &amp;nbsp;bison &amp;nbsp;flex make &amp;nbsp;libssl-dev &amp;nbsp;gcc-multilib libghc-gnutls-dev &amp;nbsp;swig &amp;nbsp;liblz4-tool &amp;nbsp;liblz4-tool &amp;nbsp;libdw-dev &amp;nbsp;dwarves &amp;nbsp;bc cpio tar lz4 rsync &amp;nbsp;ninja-build clang&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Please also make sure to set the environment that is recommended.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have mentioned them below, please check them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;export PATH=${PATH}:~/bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;export MY_ANDROID=`pwd`&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;export AARCH64_GCC_CROSS_COMPILE=/&lt;/SPAN&gt;&lt;WBR /&gt;&lt;SPAN&gt;opt/gcc-arm-9.2-2019.12-x86_&lt;/SPAN&gt;&lt;WBR /&gt;&lt;SPAN&gt;64-aarch64-none-elf/bin/&lt;/SPAN&gt;&lt;WBR /&gt;&lt;SPAN&gt;aarch64-none-elf-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;export CLANG_PATH=/opt/prebuilt-&lt;/SPAN&gt;&lt;WBR /&gt;&lt;SPAN&gt;android-clang&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now try to build after setting these env variables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please follow the Android user guide for sequential steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/ANDROID_USERS_GUIDE.pdf" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://www.nxp.com/docs/en/user-guide/ANDROID_USERS_GUIDE.pdf&amp;amp;source=gmail&amp;amp;ust=1682146092404000&amp;amp;usg=AOvVaw2KXB9eE1L2kJeXyB_y8R8A"&gt;https://www.nxp.com/docs/en/&lt;WBR /&gt;user-guide/ANDROID_USERS_&lt;WBR /&gt;GUIDE.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 08:29:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-error-while-building-AOSP-for-phycore-imx8m-plus/m-p/1637878#M204575</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-04-21T08:29:33Z</dc:date>
    </item>
  </channel>
</rss>

