<?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: Failed to build imx-multimedia image using Yocto in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Failed-to-build-imx-multimedia-image-using-Yocto/m-p/1470298#M191250</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199239"&gt;@vsreekanth&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;When you manually download source files, which should also make a copy of it with suffix as ‘.done’ at the directory ./downloads.&lt;/P&gt;
&lt;P&gt;Then, You'd better to clean the failed files for building before downloading it to the targeted directory.&amp;nbsp;&lt;/P&gt;
&lt;PRE class="literallayout"&gt;bitbake -c cleanall tinycompress&lt;/PRE&gt;
&lt;P&gt;Run the command below if you have the sources tinycompress set under the directory /downloads&lt;/P&gt;
&lt;PRE class="literallayout"&gt;bitbake -c compile -f tinycompress&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;If the step above goes well, then good to start the command&amp;nbsp;&lt;SPAN&gt;bitbake imx-image-multimedia&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Harvey&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jun 2022 02:32:13 GMT</pubDate>
    <dc:creator>Harvey021</dc:creator>
    <dc:date>2022-06-08T02:32:13Z</dc:date>
    <item>
      <title>Failed to build imx-multimedia image using Yocto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Failed-to-build-imx-multimedia-image-using-Yocto/m-p/1467400#M191064</link>
      <description>&lt;P&gt;Hi, I am trying to build imx-multimedia image for 'MACHINE=imx8qxpc0mek' using Yocto based commands. I have found tinycompress download error as mentioned in this below post&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/Failed-to-build-yocto-bsp-for-i-MX8-qxpmek/m-p/875280" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/Failed-to-build-yocto-bsp-for-i-MX8-qxpmek/m-p/875280&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have manually downloaded (1.1.6 version of module from &lt;A href="https://github.com/alsa-project/tinycompress/tree/v1.1.6" target="_blank"&gt;https://github.com/alsa-project/tinycompress/tree/v1.1.6&lt;/A&gt;) and placed the folder contents into "imx/downloads/tinycompress-1.1.6-r0" folder within the repo, and started the build using 'bitbake imx-image-multimedia' command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing patch apply error as attached:&lt;/P&gt;&lt;P&gt;ERROR: tinycompress-1.1.6-r0 do_patch: Command Error: 'quilt --quiltrc /home/c2b/Downloads/imx/imx8qxpc0mek_wayland/tmp/work/cortexa35-poky-linux/tinycompress/1.1.6-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:&lt;BR /&gt;stdout: Applying patch 0001-tinycompress-Add-id3-decoding.patch&lt;BR /&gt;patching file include/tinycompress/id3_tag_decode.h&lt;BR /&gt;can't find file to patch at input line 224&lt;BR /&gt;Perhaps you used the wrong -p or --strip option?&lt;BR /&gt;The text leading up to this was:&lt;BR /&gt;--------------------------&lt;BR /&gt;|diff --git a/src/utils/Makefile.am b/src/utils/Makefile.am&lt;BR /&gt;|index 1b996d4..e813689 100644&lt;BR /&gt;|--- a/src/utils/Makefile.am&lt;BR /&gt;|+++ b/src/utils/Makefile.am&lt;BR /&gt;--------------------------&lt;BR /&gt;No file to patch. Skipping patch.&lt;BR /&gt;1 out of 1 hunk ignored&lt;BR /&gt;can't find file to patch at input line 236&lt;BR /&gt;Perhaps you used the wrong -p or --strip option?&lt;BR /&gt;The text leading up to this was:&lt;BR /&gt;--------------------------&lt;BR /&gt;|diff --git a/src/utils/cplay.c b/src/utils/cplay.c&lt;BR /&gt;|index 87863a3..2a52b52 100644&lt;BR /&gt;|--- a/src/utils/cplay.c&lt;BR /&gt;|+++ b/src/utils/cplay.c&lt;BR /&gt;--------------------------&lt;BR /&gt;No file to patch. Skipping patch.&lt;BR /&gt;3 out of 3 hunks ignored&lt;BR /&gt;patching file src/utils/id3_tag_decode.c&lt;BR /&gt;Patch 0001-tinycompress-Add-id3-decoding.patch does not apply (enforce with -f)&lt;/P&gt;&lt;P&gt;stderr:&lt;BR /&gt;ERROR: Logfile of failure stored in: /home/c2b/Downloads/imx/imx8qxpc0mek_wayland/tmp/work/cortexa35-poky-linux/tinycompress/1.1.6-r0/temp/log.do_patch.4760&lt;BR /&gt;ERROR: Task (/home/c2b/Downloads/imx/sources/meta-imx/meta-sdk/recipes-multimedia/tinycompress/tinycompress_1.1.6.bb:do_patch) failed with exit code '1'&lt;BR /&gt;NOTE: Tasks Summary: Attempted 4551 tasks of which 4550 didn't need to be rerun and 1 failed.&lt;/P&gt;&lt;P&gt;Summary: 1 task failed:&lt;BR /&gt;/home/c2b/Downloads/imx/sources/meta-imx/meta-sdk/recipes-multimedia/tinycompress/tinycompress_1.1.6.bb:do_patch&lt;BR /&gt;Summary: There was 1 ERROR message shown, returning a non-zero exit code.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 10:08:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Failed-to-build-imx-multimedia-image-using-Yocto/m-p/1467400#M191064</guid>
      <dc:creator>vsreekanth</dc:creator>
      <dc:date>2022-06-01T10:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to build imx-multimedia image using Yocto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Failed-to-build-imx-multimedia-image-using-Yocto/m-p/1470298#M191250</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199239"&gt;@vsreekanth&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;When you manually download source files, which should also make a copy of it with suffix as ‘.done’ at the directory ./downloads.&lt;/P&gt;
&lt;P&gt;Then, You'd better to clean the failed files for building before downloading it to the targeted directory.&amp;nbsp;&lt;/P&gt;
&lt;PRE class="literallayout"&gt;bitbake -c cleanall tinycompress&lt;/PRE&gt;
&lt;P&gt;Run the command below if you have the sources tinycompress set under the directory /downloads&lt;/P&gt;
&lt;PRE class="literallayout"&gt;bitbake -c compile -f tinycompress&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;If the step above goes well, then good to start the command&amp;nbsp;&lt;SPAN&gt;bitbake imx-image-multimedia&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Harvey&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 02:32:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Failed-to-build-imx-multimedia-image-using-Yocto/m-p/1470298#M191250</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2022-06-08T02:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to build imx-multimedia image using Yocto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Failed-to-build-imx-multimedia-image-using-Yocto/m-p/1471433#M191320</link>
      <description>&lt;P&gt;Hello Harvey,&lt;/P&gt;&lt;P&gt;Thanks for the details on build steps. I have downloaded the tinycompress v1.1.6 package from below link&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/alsa-project/tinycompress/releases/tag/v1.1.6" target="_blank" rel="noopener"&gt;https://github.com/alsa-project/tinycompress/releases/tag/v1.1.6&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Downloaded 'tinycompress-1.1.6.tar.gz' and copied it to /downloads folder. Also I could find 'tinycompress.git.done' file too. Still I am facing patch apply error by doing clean/compile. Is this the right repo to use?&amp;nbsp; The patch is for v1.1.6 branch ?&lt;/P&gt;&lt;P&gt;Attaching the error log and .bb file&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Sreekanth&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 11:19:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Failed-to-build-imx-multimedia-image-using-Yocto/m-p/1471433#M191320</guid>
      <dc:creator>vsreekanth</dc:creator>
      <dc:date>2022-06-09T11:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to build imx-multimedia image using Yocto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Failed-to-build-imx-multimedia-image-using-Yocto/m-p/1472657#M191400</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199239"&gt;@vsreekanth&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With normal procedure as bitbake fetch task, the tinycompress file should be placed as below.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harvey021_0-1655099566365.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/183075i8541B43FFE21C1B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Harvey021_0-1655099566365.png" alt="Harvey021_0-1655099566365.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, if there is network problem for fetching the tinycompress, we can try to manually download it from its source. But the file should be also with a copy of it with .done&lt;/P&gt;
&lt;P&gt;For your case, it would be two files like 'tinycompress-1.1.6.tar.gz' and 'tinycompress-1.1.6.tar.gz.done'.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 06:33:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Failed-to-build-imx-multimedia-image-using-Yocto/m-p/1472657#M191400</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2022-06-13T06:33:41Z</dc:date>
    </item>
  </channel>
</rss>

