WebPlatformForEmbedded / WPEBackend-rdk

BSD 2-Clause "Simplified" License
8 stars 38 forks source link

wpebackend-rdk_1.20200213.bb:do_compile) failed with exit code '1' #78

Open ghost opened 2 years ago

ghost commented 2 years ago

My local.conf is

PREFERRED_PROVIDER_virtual/wpebackend = "wpebackend-rdk" PACKAGECONFIG_pn-wpebackend-rdk = "imx6"

Here is the log ERROR: wpebackend-rdk-1.20200213-r0 do_compile: Execution of '/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/temp/run.do_compile.27198' failed with exit code 1 ERROR: Logfile of failure stored in: /home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/temp/log.do_compile.27198 Log data follows: DEBUG: Executing shell function do_compile NOTE: VERBOSE=1 cmake --build /home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/build --target all -- [1/2] /home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot-native/usr/bin/arm-tdx-linux-gnueabi/arm-tdx-linux-gnueabi-g++ -DBACKEND_VIV_IMX6_EGL=1 -DEGL_API_FB -DKEY_INPUT_UDEV=1 -DLINUX -DWL_EGL_PLATFORM -DWPEBackend_rdk_EXPORTS -I/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/git/src/input -I/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/git/src/util -I/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot/usr/include/gio-unix-2.0 -I/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot/usr/include/libmount -I/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot/usr/include/blkid -I/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot/usr/include/glib-2.0 -I/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot/usr/lib/glib-2.0/include -I/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot/usr/include/wpe-1.0 -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0=/usr/src/debug/wpebackend-rdk/1.20200213-r0 -fdebug-prefix-map=/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0=/usr/src/debug/wpebackend-rdk/1.20200213-r0 -fdebug-prefix-map=/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot= -fdebug-prefix-map=/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot -std=c++1y -fno-exceptions -fno-strict-aliasing -fno-rtti -fPIC -MD -MT CMakeFiles/WPEBackend-rdk.dir/src/viv-imx6/renderer-backend.cpp.o -MF CMakeFiles/WPEBackend-rdk.dir/src/viv-imx6/renderer-backend.cpp.o.d -o CMakeFiles/WPEBackend-rdk.dir/src/viv-imx6/renderer-backend.cpp.o -c /home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/git/src/viv-imx6/renderer-backend.cpp FAILED: CMakeFiles/WPEBackend-rdk.dir/src/viv-imx6/renderer-backend.cpp.o /home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot-native/usr/bin/arm-tdx-linux-gnueabi/arm-tdx-linux-gnueabi-g++ -DBACKEND_VIV_IMX6_EGL=1 -DEGL_API_FB -DKEY_INPUT_UDEV=1 -DLINUX -DWL_EGL_PLATFORM -DWPEBackend_rdk_EXPORTS -I/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/git/src/input -I/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/git/src/util -I/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot/usr/include/gio-unix-2.0 -I/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot/usr/include/libmount -I/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot/usr/include/blkid -I/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot/usr/include/glib-2.0 -I/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot/usr/lib/glib-2.0/include -I/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot/usr/include/wpe-1.0 -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0=/usr/src/debug/wpebackend-rdk/1.20200213-r0 -fdebug-prefix-map=/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0=/usr/src/debug/wpebackend-rdk/1.20200213-r0 -fdebug-prefix-map=/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot= -fdebug-prefix-map=/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/recipe-sysroot -std=c++1y -fno-exceptions -fno-strict-aliasing -fno-rtti -fPIC -MD -MT CMakeFiles/WPEBackend-rdk.dir/src/viv-imx6/renderer-backend.cpp.o -MF CMakeFiles/WPEBackend-rdk.dir/src/viv-imx6/renderer-backend.cpp.o.d -o CMakeFiles/WPEBackend-rdk.dir/src/viv-imx6/renderer-backend.cpp.o -c /home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/git/src/viv-imx6/renderer-backend.cpp /home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/git/src/viv-imx6/renderer-backend.cpp: In lambda function: /home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/git/src/viv-imx6/renderer-backend.cpp:129:55: error: invalid conversion from 'void' to 'EGLNativeDisplayType' {aka 'wl_display'} [-fpermissive] 129 target.eglNativeDisplay = fbGetDisplayByIndex(0); ~~~~~^
void*
/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/git/src/viv-imx6/renderer-backend.cpp:130:48: error: invalid conversion from 'void' to 'EGLNativeWindowType' {aka 'wl_egl_window'} [-fpermissive]
130 target.eglNativeWindow = fbCreateWindow(target.eglNativeDisplay, 0, 0, target.width, target.height);
~~~~^~~~~~~~~~~~~~
void*
ninja: build stopped: subcommand failed.
WARNING: exit code 1 from a shell command.
ERROR: Execution of '/home/medha/oe-core/build/tmp/work/armv7at2hf-neon-tdx-linux-gnueabi/wpebackend-rdk/1.20200213-r0/temp/run.do_compile.27198' failed with exit code 1

ERROR: Task (/home/medha/oe-core/build/../layers/meta-webkit/recipes-browser/wpebackend-rdk/wpebackend-rdk_1.20200213.bb:do_compile) failed with exit code '1'