Hello community, i am working on VAR-SOM IMX8 and i am building a Qt5 image, the yocto version is dunfell-fslc-5.4-2.1.x-mx8-v1.5. When i tried to meta-webkit layer to it i a getting error
ERROR: Task (/home/medha/var-fslc-yocto/sources/meta-webkit/recipes-browser/wpewebkit/wpewebkit_2.32.1.bb:do_compile) failed with exit code '1'
The process that i followed is
medha@C2680:~/var-fslc-yocto/build_xwayland$ bitbake fsl-image-qt5
WARNING: You have included the meta-virtualization layer, but 'virtualization' has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-virtualization README for details on enabling virtualization support.
Loading cache: 100% |##########################################################################################################################| Time: 0:00:00
Loaded 3903 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-fslc-linux"
MACHINE = "imx8qm-var-som"
DISTRO = "fslc-xwayland"
DISTRO_VERSION = "3.1"
TUNE_FEATURES = "aarch64 armv8a crc crypto cortexa72-cortexa53"
TARGET_FPU = ""
meta
meta-poky = "HEAD:2a848e95074318f3a243df7b3f40513a13173a82"
meta-oe
meta-multimedia
meta-python
meta-filesystems
meta-gnome
meta-networking = "HEAD:7bd47ef6c98323c95a9e527129dca98c9a65ee08"
meta-freescale = "HEAD:12c3eed6a90b436565126d8ba6934f794b816e25"
meta-freescale-3rdparty = "HEAD:537cb85e4db17d1f6b356a92112b32ae2e39b235"
meta-freescale-distro = "HEAD:5d882cdf079b3bde0bd9869ce3ca3db411acbf3b"
meta-qt5 = "HEAD:b4d24d70aca75791902df5cd59a4f4a54aa4a125"
meta-swupdate = "HEAD:72b493c7ed9f5e1fb4ae1ce180f913acc29748c5"
meta-virtualization = "HEAD:758868633be479f38d19c3602be0094289fc1a75"
meta-variscite-fslc = "HEAD:4720596b99029cd2cb5db7bef16b41cc473a759b"
meta-variscite-hab = "HEAD:ef52ce53d860f0552dd892874cfce62537f6564a"
meta-webkit = "dunfell:270599a765743c2db5a96195b7f83877cde5d499"
WARNING: /home/medha/var-fslc-yocto/sources/meta-variscite-fslc/recipes-kernel/linux/linux-variscite_5.4.bb:do_compile is tainted from a forced runA: 0:00:01
Initialising tasks: 100% |#####################################################################################################################| Time: 0:00:03
Sstate summary: Wanted 15 Found 3 Missed 12 Current 3808 (20% match, 99% complete)
NOTE: Executing Tasks
Currently 1 running tasks (4810 of 9214) 52% |######################################################## |
0: wpewebkit-2.32.1-r0 do_compile (pid 16511) 0% |
after some time i am getting error like
......-mx8-fslc-linux/wpewebkit/2.32.1-r0/recipe-sysroot/usr/include/orc-0.4 -isystem /home/medha/var-fslc-yocto/build_xwayland/tmp/work/aarch64-mx8-fslc-linux/wpewebkit/2.32.1-r0/recipe-sysroot/usr/lib/gstreamer-1.0/include -isystem /home/medha/var-fslc-yocto/build_xwayland/tmp/work/aarch64-mx8-fslc-linux/wpewebkit/2.32.1-r0/recipe-sysroot/usr/include/libsoup-2.4 -isystem /home/medha/var-fslc-yocto/build_xwayland/tmp/work/aarch64-mx8-fslc-linux/wpewebkit/2.32.1-r0/recipe-sysroot/usr/include/gio-unix-2.0 -isystem /home/medha/var-fslc-yocto/build_xwayland/tmp/work/aarch64-mx8-fslc-linux/wpewebkit/2.32.1-r0/recipe-sysroot/usr/include/libmount -isystem /home/medha/var-fslc-yocto/build_xwayland/tmp/work/aarch64-mx8-fslc-linux/wpewebkit/2.32.1-r0/recipe-sysroot/usr/include/blkid -fdiagnostics-color=always -Wextra -Wall -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -march=armv8-a+crc+crypto -mtune=cortex-a72.cortex-a53 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/medha/var-fslc-yocto/build_xwayland/tmp/work/aarch64-mx8-fslc-linux/wpewebkit/2.32.1-r0/recipe-sysroot -O2 -pipe -feliminate-unused-debug-types -fmacro-prefix-map=/home/medha/var-fslc-yocto/build_xwayland/tmp/work/aarch64-mx8-fslc-linux/wpewebkit/2.32.1-r0=/usr/src/debug/wpewebkit/2.32.1-r0 -fdebug-prefix-map=/home/medha/var-fslc-yocto/build_xwayland/tmp/work/aarch64-mx8-fslc-linux/wpewebkit/2.32.1-r0=/usr/src/debug/wpewebkit/2.32.1-r0 -fdebug-prefix-map=/home/medha/var-fslc-yocto/build_xwayland/tmp/work/aarch64-mx8-fslc-linux/wpewebkit/2.32.1-r0/recipe-sysroot= -fdebug-prefix-map=/home/medha/var-fslc-yocto/build_xwayland/tmp/work/aarch64-mx8-fslc-linux/wpewebkit/2.32.1-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -march=armv8-a+crc+crypto -mtune=cortex-a72.cortex-a53 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/medha/var-fslc-yocto/build_xwayland/tmp/work/aarch64-mx8-fslc-linux/wpewebkit/2.32.1-r0/recipe-sysroot -fno-strict-aliasing -fno-exceptions -fno-rtti -DNDEBUG -fPIC -DLINUX -DWL_EGL_PLATFORM -std=c++17 -MD -MT Source/WebCore/CMakeFiles/WebCore.dir/__/__/DerivedSources/WebCore/unified-sources/UnifiedSource-3a52ce78-57.cpp.o -MF Source/WebCore/CMakeFiles/WebCore.dir/__/__/DerivedSources/WebCore/unified-sources/UnifiedSource-3a52ce78-57.cpp.o.d -o Source/WebCore/CMakeFiles/WebCore.dir/__/__/DerivedSources/WebCore/unified-sources/UnifiedSource-3a52ce78-57.cpp.o -c DerivedSources/WebCore/unified-sources/UnifiedSource-3a52ce78-57.cpp
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (/home/medha/var-fslc-yocto/sources/meta-webkit/recipes-browser/wpewebkit/wpewebkit_2.32.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3647 tasks of which 3638 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds
Summary: 1 task failed:
/home/medha/var-fslc-yocto/sources/meta-webkit/recipes-browser/wpewebkit/wpewebkit_2.32.1.bb:do_compile
Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code
已解决! 转到解答。
Hi @Muthyam,
I hope you are doing well.
I couldn't see any error related to the compilation of source code from logs.
This issue may arise due to not having enough memory.
Please make sure that you have installed all dependencies required for yocto dunfell.
Please refer to installing the required packages.
For fsl-image-qt5 image one can also look at qtwebkit-based browsers.
Please refer to section 4 - Accelerated browsers support in Adding packages to the Yocto build
Thanks & Regards,
Dhruvit Vasavada
Hi @Muthyam,
I hope you are doing well.
Please make sure that you have correctly set up the yocto project and added meta-qt5(dunfell version) layer.
Please add the below lines in local.conf
IMAGE_INSTALL_append = " wpewebkit cog imx-gst1.0-plugin"
SKIP_META_VIRT_SANITY_CHECK = 1
#add the above line if virtualization support is not required.
Please make sure that you have enough memory on the host PC.
Thanks & Regards,
Dhruvit Vasavada
I included this
IMAGE_INSTALL_append = " wpewebkit cog imx-gst1.0-plugin"
line my local.conf file and rebuilt the image using bitbake fsl-image-qt5, but the same error reappears. And another thing that I forget to mention is that when I enter bitbake fsl-image-qt5, the system freezes and by the time the system returns to normal, an error occurs.
Hi @Muthyam,
I hope you are doing well.
I couldn't see any error related to the compilation of source code from logs.
This issue may arise due to not having enough memory.
Please make sure that you have installed all dependencies required for yocto dunfell.
Please refer to installing the required packages.
For fsl-image-qt5 image one can also look at qtwebkit-based browsers.
Please refer to section 4 - Accelerated browsers support in Adding packages to the Yocto build
Thanks & Regards,
Dhruvit Vasavada