Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-2134

qemu build of WAM fails

XMLWordPrintable

      On master, I activate feature agl-html5-framework for qemu and build it in the docker environment.

      It fails because it can not compile for host.

      The first time it said that it can not find the include "#include <string>". It cames because my version of g++ is 4.9 and the version of yocto is 7 and it has the option --sysroot set.

      So I dropped the line 93 of chromium68_git.bb to remove the definition of sysroot in host compiling environment.

      --- a/meta-html5-framework/recipes-wam/chromium/chromium68_git.bb
      +++ b/meta-html5-framework/recipes-wam/chromium/chromium68_git.bb
      @@ -90,7 +90,6 @@ GN_ARGS = "\
           ozone_auto_platforms=false\
           proprietary_codecs=true\
           target_os=\"linux\"\
      -    target_sysroot=\"${STAGING_DIR_HOST}\"\
           treat_warnings_as_errors=false\
           is_agl=true\
           use_cbe=true\
      

      It worked to achieve the correct "not setting sysroot" behaviour. But it then failed because it wasn't allowed to find include files from nss and nspr that are in recipe-sysroot-native.

      I stop here. The solution is probably to build host tools in a separate step using "native" features and then to use the produced artifacts when build chromium.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jaragunde Jacobo Aragunde PĂ©rez
            jobol-iot jose bollo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: