Igalia / meta-webkit

Yocto / OpenEmbedded layer for WebKit based engines and browsers
MIT License
125 stars 69 forks source link

Prepare main for the next stable Yocto release "kirkstone" #361

Closed psaavedra closed 2 years ago

psaavedra commented 2 years ago

List of task to do during a release:

  1. The Release Process starts once the new Yocto release is released
  2. Create a new Pull Request from the main branch to work in the required adaptations in layer to make it work with the new stable release
  3. Create new milestone using this schema: <Year&Month yocto release date>_<yocto release number>_<yocto release name>
  4. In the Pull Request, add the compatibility mark is added in the conf/layer.conf
    1. We will try to keep the compatibility and the support in master/main for the latest 4 releases OR 2 the latest LTS releases
    2. Other releases not matching with this criteria will be removed from the LAYERSERIES_COMPAT variable.
  5. In the Pull Request, update the Yocto release name references with the new release name (this includes the CI files)
  6. Once the Pull Request passes the CI tasks:
    1. Create a new branch from the main branch and named as the old-stable branch name
    2. Integrate the Pull Request in main (fast-forward-merge)
    3. Close the current milestone associated to the old-stable branch (the name should include the name of the already old-stable Yocto Release)
psaavedra commented 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",
psaavedra commented 2 years ago
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
psaavedra commented 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",

This fixes this issue: https://github.com/Igalia/meta-webkit/pull/380