AnsweredAssumed Answered

Error build image

Question asked by Ruslan Bichihin on Jul 18, 2018
Latest reply on Jul 20, 2018 by gusarambula

Hello every one

 

I try build image by Yocto, this my logs:

 

NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "debian-8"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "cl-som-imx8"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "4.9.88-2.2.0_8qxp_beta2"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky = "HEAD:fdeecc901196bbccd7c5b1ea4268a2cf56764a62"
meta-oe
meta-multimedia = "HEAD:dacfa2b1920e285531bec55cd2f08743390aaf57"
meta-freescale = "HEAD:d6141ea291a1ac9ab8fb1dd1110d408f840fda57"
meta-freescale-3rdparty = "HEAD:62de01743c9233ea718de22991c47b73a78b4857"
meta-freescale-distro = "HEAD:0ec6d7e206705702b5b534611754de0787f92b72"
meta-bsp
meta-sdk = "HEAD:3d345c4dfc748e44efd30e6310c314b2498ea6f4"
meta-browser = "HEAD:d6f9aed41c73b75a97d71bff060b03a66ee087b1"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:dacfa2b1920e285531bec55cd2f08743390aaf57"
meta-qt5 = "HEAD:cfe02f26de53e5c20e6f9555059cbaaf5ab9b22f"
meta-compulab = "devel:d226d9c232eac7153267d54a00b90f6bb828b4fe"
meta-xfce = "HEAD:dacfa2b1920e285531bec55cd2f08743390aaf57"
meta-compulab-imx8 = "devel_ga:9c702be423ae39aea8f29208cbd838528d4ce1e9"

NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 1 of 10149 (/usr/imx8/fsl-release-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_fetch)
NOTE: Running task 2 of 10149 (/usr/imx8/fsl-release-bsp/sources/poky/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy-native.bb:do_fetch)

...

NOTE: Running task 676 of 10149 (/usr/imx8/fsl-release-bsp/sources/poky/meta/recipes-core/kbd/kbd_2.0.4.bb:do_fetch)
NOTE: recipe gawk-4.1.4-r0: task do_patch: Started
ERROR: linux-imx-4.9.88-r0 do_patch: Command Error: 'quilt --quiltrc /usr/imx8/fsl-release-bsp/build-cl-som-imx8-fsl-imx-xwayland/tmp/work/cl_som_imx8-poky-linux/linux-imx/4.9.88-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
Applying patch 0030-nxp-pcie-External-OSC-handling.patch
patching file drivers/pci/host/pci-imx6.c
Hunk #1 FAILED at 79.
Hunk #2 FAILED at 1064.
Hunk #3 FAILED at 2219.
3 out of 3 hunks FAILED -- rejects in file drivers/pci/host/pci-imx6.c
Patch 0030-nxp-pcie-External-OSC-handling.patch does not apply (enforce with -f)
ERROR: linux-imx-4.9.88-r0 do_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /usr/imx8/fsl-release-bsp/build-cl-som-imx8-fsl-imx-xwayland/tmp/work/cl_som_imx8-poky-linux/linux-imx/4.9.88-r0/temp/log.do_patch.15387
NOTE: recipe linux-imx-4.9.88-r0: task do_patch: Failed
ERROR: Task (/usr/imx8/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.9.88.bb:do_patch) failed with exit code '1'
NOTE: Running task 677 of 10149 (/usr/imx8/fsl-release-bsp/sources/poky/meta/recipes-graphics/xorg-lib/libxv_1.0.11.bb:do_fetch)
NOTE: recipe kbd-2.0.4-r0: task do_fetch: Started
NOTE: recipe gconf-3.2.6-r0: task do_fetch: Succeeded
NOTE: recipe gawk-4.1.4-r0: task do_patch: Succeeded
NOTE: recipe libxv-1.0.11-r0: task do_fetch: Started
NOTE: recipe kbd-2.0.4-r0: task do_fetch: Succeeded
NOTE: recipe e2fsprogs-1.43.5-r0: task do_patch: Succeeded
NOTE: recipe automake-native-1.15.1-r0: task do_configure: Succeeded
NOTE: recipe libxv-1.0.11-r0: task do_fetch: Succeeded
NOTE: recipe protobuf-native-3.5.1+gitAUTOINC+106ffc04be-r0: task do_fetch: Succeeded
NOTE: recipe protobuf-3.5.1+gitAUTOINC+106ffc04be-r0: task do_fetch: Succeeded
NOTE: Tasks Summary: Attempted 677 tasks of which 0 didn't need to be rerun and 1 failed.

===================

 

Maybe enybody know, why path 0030-nxp-pcie-External-OSC-handling.patch does not apply ?

 

How i can reslove this problem?

 

Tkanks!

Outcomes