Yocto build - meta-webkit


  • Hi, 

    I'm trying to add meta-webkit (https://github.com/Igalia/meta-webkit) into adlink harknott 1v2 .

    I would like to use cog web browser which is a light brovser for embedded platform. 

    In build process i have an error ccache that i don't understand: 

    DEBUG: Executing shell function do_compile
    NOTE: VERBOSE=1 cmake --build /data/build/adlink-yocto-bsp_1v2/dls01-build/tmp/work/x86_64-linux/ccache-native/4.2-r0/build --target all --
    [1/1] cd /data/build/adlink-yocto-bsp_1v2/dls01-build/tmp/work/x86_64-linux/ccache-native/4.2-r0/build/doc && /usr/bin/a2x --doctype manpage --format manpage MANUAL.xml
    FAILED: doc/ccache.1
    cd /data/build/adlink-yocto-bsp_1v2/dls01-build/tmp/work/x86_64-linux/ccache-native/4.2-r0/build/doc && /usr/bin/a2x --doctype manpage --format manpage MANUAL.xml
    a2x: ERROR: unable to find asciidoc: asciidoc
    ninja: build stopped: subcommand failed.
    WARNING: exit code 1 from a shell command.
    ERROR: Execution of '/data/build/adlink-yocto-bsp_1v2/dls01-build/tmp/work/x86_64-linux/ccache-native/4.2-r0/temp/run.do_compile.22970' failed with exit code 1:
    [1/1] cd /data/build/adlink-yocto-bsp_1v2/dls01-build/tmp/work/x86_64-linux/ccache-native/4.2-r0/build/doc && /usr/bin/a2x --doctype manpage --format manpage MANUAL.xml
    FAILED: doc/ccache.1
    cd /data/build/adlink-yocto-bsp_1v2/dls01-build/tmp/work/x86_64-linux/ccache-native/4.2-r0/build/doc && /usr/bin/a2x --doctype manpage --format manpage MANUAL.xml
    a2x: ERROR: unable to find asciidoc: asciidoc
    ninja: build stopped: subcommand failed.
    WARNING: exit code 1 from a shell command.

    Have you ever tried to add meta-webkit in your build before ? 

    In order to have the same result but this time with an ubuntu roots it would be possible to install ubuntu-frame which contains wayland + cog as snap package. After having enabled snap in your kernel snap works fine but ubuntu-frame does not start asking for vivante .so library (don't know which package to install , perhaps imx-vivante-sdk ). 

    Have you ever tried to build an image with ubuntu-frame ready ? 

    B.Regards 



  • @O. JUD .

    It works now , i can build wpewebkit .with patch ini poky. 

    i know this not the right way 

    diff --git a/meta/recipes-devtools/ccache/ccache_4.2.bb b/meta/recipes-devtools/ccache/ccache_4.2.bb
    index 9957bc7e65..c772773e29 100644
    --- a/meta/recipes-devtools/ccache/ccache_4.2.bb
    +++ b/meta/recipes-devtools/ccache/ccache_4.2.bb
    @@ -9,7 +9,7 @@ SECTION = "devel"
     LICENSE = "GPLv3+"
     LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=28afb89f649f309e7ac1aab554564637"
     
    -DEPENDS = "zstd"
    +DEPENDS = "zstd asciidoc"
     
     SRC_URI = "https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz"
     SRC_URI[sha256sum] = "dbf139ff32031b54cb47f2d7983269f328df14b5a427882f89f7721e5c411b7e"

     


  • Dear @O. JUD, Thank you for your feedback. We have noted it. In future, we will add them to our yocto image.


  • For your information. 

    cog does not run on wayland as expected .  i have opened a case on this topic here : https://github.com/Igalia/meta-webkit/issues/431

    Rgds


  • Hi, 

    cog works now

    The problem is solved by replacing : 

    PACKAGECONFIG_pn-cog = "fdo"

    by 

    PACKAGECONFIG_pn-cog = "wl"


Please login to reply this topic!