AnsweredAssumed Answered

Error in populating the sdk

Question asked by Srinivasan Shanmugam on Jan 24, 2019
Latest reply on Jan 30, 2019 by Srinivasan Shanmugam

Dear IMX Community Experts,

 

I am seeing the below error, while building the sdk for my custom distro, with some the freescale layers (meta-freescale, meta-freescale-3rdparty.meta-freescale-distro, meta-fsl-bsp-release) integrated into my custom distro, could anyone please let me know why am i seeing the below issue

 

"bitbake -c populate_sdk custom-debug-distro"

 

 

BBLAYER.CONF CONTENTS

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

 

## This bblayers.conf file belongs to the meta-custom-imx8 layer

LCONF_VERSION = "6"

BBPATH = "${TOPDIR}"
BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"

BBFILES ?= " ${BSPDIR}/sources/meta-custom/images/*.bb"
BBLAYERS = " \
${BSPDIR}/sources/meta-custom-imx8 \
${BSPDIR}/sources/meta-custom \
${BSPDIR}/sources/meta-qt5 \
${BSPDIR}/sources/meta-nativeos \
\
${BSPDIR}/sources/meta-freescale \
${BSPDIR}/sources/meta-freescale-3rdparty \
${BSPDIR}/sources/meta-freescale-distro \
\
${BSPDIR}/sources/poky/meta \
${BSPDIR}/sources/poky/meta-poky \
\
${BSPDIR}/sources/meta-openembedded/meta-oe \
${BSPDIR}/sources/meta-openembedded/meta-python \
${BSPDIR}/sources/meta-openembedded/meta-networking \
"

# i.MX Yocto Project Release layers
BBLAYERS += " ${BSPDIR}/sources/meta-fsl-bsp-release/imx/meta-bsp "
BBLAYERS += " ${BSPDIR}/sources/meta-fsl-bsp-release/imx/meta-sdk "


Logs:
=====

ERROR: qtwayland-5.11.3+gitAUTOINC+dccec9b282-r0 do_patch: Command Error: 'quilt --quiltrc /home/user/custombuild_test12/customos/build/tmp/work/aarch64-mx8mm-poky-linux/qtwayland/5.11.3+gitAUTOINC+dccec9b282-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
Applying patch 0001-tst_client.cpp-Fix-no-opengl-build.patch
patching file tests/auto/client/client/tst_client.cpp
Hunk #1 succeeded at 107 (offset -7 lines).
Hunk #2 succeeded at 131 with fuzz 2 (offset -2 lines).
Hunk #3 FAILED at 172.
Hunk #4 succeeded at 560 (offset 125 lines).
Hunk #5 succeeded at 586 with fuzz 2 (offset 136 lines).
1 out of 5 hunks FAILED -- rejects in file tests/auto/client/client/tst_client.cpp
Patch 0001-tst_client.cpp-Fix-no-opengl-build.patch does not apply (enforce with -f)
ERROR: qtwayland-5.11.3+gitAUTOINC+dccec9b282-r0 do_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /home/user/custombuild_test12/customos/build/tmp/work/aarch64-mx8mm-poky-linux/qtwayland/5.11.3+gitAUTOINC+dccec9b282-r0/temp/log.do_patch.82399
ERROR: Task (/home/user/custombuild_test12/customos/sources/meta-qt5/recipes-qt/qt5/qtwayland_git.bb:do_patch) failed with exit code '1'
ERROR: qtwayland-native-5.11.3+gitAUTOINC+dccec9b282-r0 do_patch: Command Error: 'quilt --quiltrc /home/user/custombuild_test12/customos/build/tmp/work/x86_64-linux/qtwayland-native/5.11.3+gitAUTOINC+dccec9b282-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
Applying patch 0001-tst_client.cpp-Fix-no-opengl-build.patch
patching file tests/auto/client/client/tst_client.cpp
Hunk #1 succeeded at 107 (offset -7 lines).
Hunk #2 succeeded at 131 with fuzz 2 (offset -2 lines).
Hunk #3 FAILED at 172.
Hunk #4 succeeded at 560 (offset 125 lines).
Hunk #5 succeeded at 586 with fuzz 2 (offset 136 lines).
1 out of 5 hunks FAILED -- rejects in file tests/auto/client/client/tst_client.cpp
Patch 0001-tst_client.cpp-Fix-no-opengl-build.patch does not apply (enforce with -f)
ERROR: qtwayland-native-5.11.3+gitAUTOINC+dccec9b282-r0 do_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /home/user/custombuild_test12/customos/build/tmp/work/x86_64-linux/qtwayland-native/5.11.3+gitAUTOINC+dccec9b282-r0/temp/log.do_patch.82410
ERROR: Task (virtual:native:/home/user/custombuild_test12/customos/sources/meta-qt5/recipes-qt/qt5/qtwayland_git.bb:do_patch) failed with exit code '1'

Thanks in advance

Outcomes