@dear NXP teams:
ERROR: nativesdk-qemu-6.2.0-r0 do_patch: Applying patch '0001-qemu-Reinstated-syscall-emulation-through-libc-via-c.patch' on target directory '/home/lyf/work/nxp-desktop/build-desktop/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-qemu/6.2.0-r0/qemu-6.2.0'
CmdError('quilt --quiltrc /home/lyf/work/nxp-desktop/build-desktop/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-qemu/6.2.0-r0/recipe-sysroot-native/etc/quiltrc push', 0, 'stdout: Applying patch 0001-qemu-Reinstated-syscall-emulation-through-libc-via-c.patch
patching file linux-user/main.c
Hunk #1 succeeded at 380 with fuzz 1 (offset 2 lines).
Hunk #2 succeeded at 460 (offset 16 lines).
patching file linux-user/qemu.h
Hunk #1 FAILED at 370.
1 out of 1 hunk FAILED -- rejects in file linux-user/qemu.h
patching file linux-user/syscall.c
Hunk #1 succeeded at 62 with fuzz 1 (offset 6 lines).
Hunk #2 succeeded at 143 with fuzz 2 (offset 30 lines).
Hunk #3 succeeded at 261 (offset 32 lines).
Hunk #4 succeeded at 433 with fuzz 2 (offset 42 lines).
Hunk #5 succeeded at 585 (offset -119 lines).
Hunk #6 FAILED at 778.
Hunk #7 succeeded at 771 (offset -86 lines).
Hunk #8 succeeded at 7027 (offset 699 lines).
1 out of 8 hunks FAILED -- rejects in file linux-user/syscall.c
Patch 0001-qemu-Reinstated-syscall-emulation-through-libc-via-c.patch does not apply (enforce with -f)
stderr: ')
ERROR: Logfile of failure stored in: /home/lyf/work/nxp-desktop/build-desktop/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-qemu/6.2.0-r0/temp/log.do_patch.2922897
ERROR: Task (virtual:nativesdk:/home/lyf/work/nxp-desktop/sources/poky/meta/recipes-devtools/qemu/qemu_6.2.0.bb:do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5436 tasks of which 5403 didn't need to be rerun and 1 failed.
ummary: 1 task failed:
virtual:nativesdk:/home/lyf/work/nxp-desktop/sources/poky/meta/recipes-devtools/qemu/qemu_6.2.0.bb:do_patch
Summary: There was 1 ERROR message, returning a non-zero exit code.
Based on the error logs, seems the version required for the .patch doesn't match the BSP (or the recipe qemu) that you are building.
Regards
Harvey
Which Yocto BSP are you building?
Network problem may also result in not completely and correctly downloading related patches, worthy of having a try to clean the recipe and fetch it.
Regards
Harvey
Yocto BSP:
repo init -u git@192.168.1.55:tisdk-openembedded/imx-manifest.git -b imx-linux-kirkstone-desktop -m imx-5.15.71-2...
Tried to clean the recipe, but failed