Closed psaavedra closed 2 years ago
QT build is failing because this:
Output
------
cc1plus: error: include location "/usr/include/gstreamer-1.0" is unsafe for cross-compilation [-Werror=poison-system-directories]
AutoMoc subprocess error
------------------------
The content generation command for "BIN:/Source/WebKit/qtwpe_autogen/moc_predefs.h" failed.
There is a -I/usr/include/gstreamer-1.0
in compiler command. Apparently this comes from build/Source/WebKit/CMakeFiles/qtwpe_autogen.dir/AutogenInfo.json
:
"MOC_INCLUDES" :
[
...
"/home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/recipe-sysroot/usr/lib/glib-2.0/include",
"/home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/recipe-sysroot/usr/include/libsoup-2.4",
>>>>>>>> "/usr/include/gstreamer-1.0",
"/home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/recipe-sysroot/usr/include/gstreamer-1.0",
"/home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/recipe-sysroot/usr/include/orc-0.4",
build.ninja: COMMAND = cd /home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/build/Source/WebKit && /home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/recipe-sysroot-native/usr/bin/cmake -E cmake_autogen /home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/build/Source/WebKit/CMakeFiles/qtwpe_autogen.dir/AutogenInfo.json Release && /home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/recipe-sysroot-native/usr/bin/cmake -E touch /home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/build/Source/WebKit/qtwpe_autogen/timestamp && /home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/recipe-sysroot-native/usr/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/wpewebkit-2.36.3 /home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/wpewebkit-2.36.3/Source/WebKit /home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/build /home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/build/Source/WebKit /home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/build/Source/WebKit/qtwpe_autogen/deps /home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/build/CMakeFiles/d/1dd487d989968a5e1d6e0bfa3ace0f749d9049352ef36cf086842fe2da2603a7.d
QT build is failing because this:
Output ------ cc1plus: error: include location "/usr/include/gstreamer-1.0" is unsafe for cross-compilation [-Werror=poison-system-directories]
AutoMoc subprocess error ------------------------ The content generation command for "BIN:/Source/WebKit/qtwpe_autogen/moc_predefs.h" failed.
There is a
-I/usr/include/gstreamer-1.0
in compiler command. Apparently this comes frombuild/Source/WebKit/CMakeFiles/qtwpe_autogen.dir/AutogenInfo.json
:"MOC_INCLUDES" : [ ... "/home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/recipe-sysroot/usr/lib/glib-2.0/include", "/home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/recipe-sysroot/usr/include/libsoup-2.4", >>>>>>>> "/usr/include/gstreamer-1.0", "/home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/recipe-sysroot/usr/include/gstreamer-1.0", "/home/bot/yocto-webkit/builds/raspberrypi3-mesa-wpe-qt/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/2.36.3-r0/recipe-sysroot/usr/include/orc-0.4",
This fixes this issue: https://github.com/Igalia/meta-webkit/pull/380
List of task to do during a release:
main
branch to work in the required adaptations in layer to make it work with the new stable release<Year&Month yocto release date>_<yocto release number>_<yocto release name>
conf/layer.conf
LAYERSERIES_COMPAT
variable.main
branch and named as the old-stable branch namemain
(fast-forward-merge)