<?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: Android 11 buid: media_codecs_c2_temp.xml missing</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Android-11-buid-media-codecs-c2-temp-xml-missing/m-p/1324867#M178609</link>
    <description>&lt;P&gt;I tried to build it without this error.&lt;/P&gt;
&lt;P&gt;Could you tell me the steps you used to the build? so I can try to reproduce the issue on my side.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Aug 2021 16:05:54 GMT</pubDate>
    <dc:creator>jimmychan</dc:creator>
    <dc:date>2021-08-17T16:05:54Z</dc:date>
    <item>
      <title>Android 11 buid: media_codecs_c2_temp.xml missing</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-11-buid-media-codecs-c2-temp-xml-missing/m-p/1313727#M177509</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I'm trying to build Android 11 for i.MX8M Mini.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My build environment looks as follows:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Ubuntu 18.04 (running in a docker container)&lt;/P&gt;&lt;P&gt;Installed depencies given by Google&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;git-core gnupg flex bison build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfig&lt;/LI-CODE&gt;&lt;P&gt;Installed depencies given by NXP guide&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;uuid uuid-dev zlib1g-dev liblz-dev liblzo2-2 liblzo2-dev lzop git-core curl u-boot-tools mtd-utils android-tools-fsutils device-tree-compiler gdisk m4 libz-dev bison flex libssl-dev gcc-multilib&lt;/LI-CODE&gt;&lt;P&gt;Installed depencies given by my own to avoid other build errors&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;xz-utils bc cpio rsync&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Currently I'm running into following build error: &lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
-Werror -fexceptions -D'OVXLIB_API=__attribute__((visibility("default")))' -Wno-unused-parameter -Wno-implicit-fallthrough -frtti -DANDROID_SDK_VERSION=30 -DGIT_STRING='d2bc4dd'
[ 97% 441/452] including vendor/nxp/fsl-codec/Android.mk ...
[ 97% 442/452] including vendor/nxp/fsl-proprietary/apks/Android.mk ...
[ 98% 443/452] including vendor/nxp/fsl-proprietary/bcm/Android.mk ...
[ 98% 444/452] including vendor/nxp/fsl-proprietary/fsl-dpu/Android.mk ...
[ 98% 445/452] including vendor/nxp/fsl-proprietary/gpu-viv/Android.mk ...
[ 98% 446/452] including vendor/nxp/fsl-proprietary/test/Android.mk ...
[ 98% 447/452] including vendor/nxp/imx_android_mm/CactusPlayer/Android.mk ...
[ 99% 448/452] including vendor/nxp/imx_android_mm/codec2/store/registry/Android.mk ...
[ 99% 449/452] including vendor/nxp/linux-firmware-imx/firmware/Android.mk ...
[ 99% 450/452] including out/soong/late-trizeps8mini.mk ...
[ 99% 451/452] finishing build rules ...
[100% 452/452] writing build rules ...
[W][2021-07-27T07:14:30+0000][399818] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2021-07-27T07:14:30+0000][399818] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
out/build-trizeps8mini-package.ninja is missing, regenerating...
[ 99% 453/455] initializing packaging system ...
[ 99% 454/455] including distdir.mk ...
[100% 455/455] writing packaging rules ...
Starting ninja...
[W][2021-07-27T07:14:30+0000][399852] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2021-07-27T07:14:30+0000][399852] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
FAILED: ninja: 'vendor/nxp/imx_android_mm/mediacodec-profile/imx8mm/media_codecs_c2_temp.xml', needed by 'out/target/product/trizeps8mini/obj/ETC/media_codecs_c2.xml_intermediates/media_codecs_c2.xml', missing and no known rule to make it
07:14:31 ninja failed with: exit status 1&lt;/LI-CODE&gt;&lt;P&gt;It seems to me that media_codecs_c2_temp.xml should normaly gets temporarily autogenerated during build and get deleted afterwards again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there someone who can help me out?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 08:04:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-11-buid-media-codecs-c2-temp-xml-missing/m-p/1313727#M177509</guid>
      <dc:creator>danielenderle</dc:creator>
      <dc:date>2021-07-27T08:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Android 11 buid: media_codecs_c2_temp.xml missing</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-11-buid-media-codecs-c2-temp-xml-missing/m-p/1324867#M178609</link>
      <description>&lt;P&gt;I tried to build it without this error.&lt;/P&gt;
&lt;P&gt;Could you tell me the steps you used to the build? so I can try to reproduce the issue on my side.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 16:05:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-11-buid-media-codecs-c2-temp-xml-missing/m-p/1324867#M178609</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2021-08-17T16:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Android 11 buid: media_codecs_c2_temp.xml missing</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-11-buid-media-codecs-c2-temp-xml-missing/m-p/1326063#M178725</link>
      <description>&lt;P&gt;Attended to the build setup described above, i started the build setup as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;source build/envsetup.sh
lunch evk_8mm-userdebug
./imx-make.sh -j4 2&amp;gt;&amp;amp;1 | tee build-log.txt&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One more hint, as i found out in my docker container, it looks like some sub build process in the build runs as user "nobody".&lt;/P&gt;&lt;P&gt;It looks like this user is unable to create the temporary file "media_codecs_c2_temp.xml", which is needed later during build process.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 07:38:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-11-buid-media-codecs-c2-temp-xml-missing/m-p/1326063#M178725</guid>
      <dc:creator>danielenderle</dc:creator>
      <dc:date>2021-08-19T07:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Android 11 buid: media_codecs_c2_temp.xml missing</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-11-buid-media-codecs-c2-temp-xml-missing/m-p/1327183#M178861</link>
      <description>&lt;P&gt;I tried to build again. There is still no error.&lt;/P&gt;
&lt;P&gt;Here are the steps of mine.&lt;/P&gt;
&lt;P&gt;1. I download the &lt;A href="https://www.nxp.com/webapp/Download?colCode=11.0.0_2.2.0_ANDROID_SOURCE&amp;amp;appType=license" target="_blank" rel="noopener"&gt;Install Source Package​&lt;/A&gt;​. Then "source ~/imx-android-11.0.0_2.2.0/imx_android_setup.sh"&lt;/P&gt;
&lt;P&gt;2. I use the gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz.&lt;/P&gt;
&lt;P&gt;3. export the "AARCH64_GCC_CROSS_COMPILE" and "CLANG_PATH"&lt;/P&gt;
&lt;P&gt;4. cd android_build&lt;/P&gt;
&lt;P&gt;5. source build/envsetup.s&lt;/P&gt;
&lt;P&gt;6. lunch evk_8mm-userdebug&lt;/P&gt;
&lt;P&gt;7. ./imx-make.sh -j4 2&amp;gt;&amp;amp;1 | tee build-log.txt&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My host is Ubuntu 18.04.3 LTS.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Aug 2021 10:06:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-11-buid-media-codecs-c2-temp-xml-missing/m-p/1327183#M178861</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2021-08-21T10:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Android 11 buid: media_codecs_c2_temp.xml missing</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-11-buid-media-codecs-c2-temp-xml-missing/m-p/1491769#M192706</link>
      <description>&lt;P&gt;i meet the same error，and i found the docker state Block IO going bigger。&lt;/P&gt;&lt;P&gt;my env is also docker，i have no idea about this，i suspect that is the problem about ulimit 。Do you solved it？，or give me some suggestions&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 12:01:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-11-buid-media-codecs-c2-temp-xml-missing/m-p/1491769#M192706</guid>
      <dc:creator>SixFlag</dc:creator>
      <dc:date>2022-07-19T12:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Android 11 buid: media_codecs_c2_temp.xml missing</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-11-buid-media-codecs-c2-temp-xml-missing/m-p/1492155#M192739</link>
      <description>&lt;P&gt;On our first setup we wanted to keep the sources outside the docker, that means on the host machine, and only do the build necessary jobs inside the docker, getting the AOSP from a mounted folder.&lt;/P&gt;&lt;P&gt;We found out, that our problems came because of some access right problems from the user inside the docker during the build, which tries to create temporary files in the AOSP code directory.&lt;/P&gt;&lt;P&gt;Having the AOSP code inside the docker works for us.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 05:08:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-11-buid-media-codecs-c2-temp-xml-missing/m-p/1492155#M192739</guid>
      <dc:creator>danielenderle</dc:creator>
      <dc:date>2022-07-20T05:08:01Z</dc:date>
    </item>
  </channel>
</rss>

