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
https://community.nxp.com/t5/i-MX-Processors/Failed-to-build-yocto-bsp-for-i-MX8-qxpmek/m-p/875280
I have manually downloaded (1.1.6 version of module from https://github.com/alsa-project/tinycompress/tree/v1.1.6) 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.
I am facing patch apply error as attached:
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:
stdout: Applying patch 0001-tinycompress-Add-id3-decoding.patch
patching file include/tinycompress/id3_tag_decode.h
can't find file to patch at input line 224
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/utils/Makefile.am b/src/utils/Makefile.am
|index 1b996d4..e813689 100644
|--- a/src/utils/Makefile.am
|+++ b/src/utils/Makefile.am
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 236
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/utils/cplay.c b/src/utils/cplay.c
|index 87863a3..2a52b52 100644
|--- a/src/utils/cplay.c
|+++ b/src/utils/cplay.c
--------------------------
No file to patch. Skipping patch.
3 out of 3 hunks ignored
patching file src/utils/id3_tag_decode.c
Patch 0001-tinycompress-Add-id3-decoding.patch does not apply (enforce with -f)
stderr:
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
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'
NOTE: Tasks Summary: Attempted 4551 tasks of which 4550 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/c2b/Downloads/imx/sources/meta-imx/meta-sdk/recipes-multimedia/tinycompress/tinycompress_1.1.6.bb:do_patch
Summary: There was 1 ERROR message shown, returning a non-zero exit code.