Fixed
Details
Details
Assignee
Jacobo Aragunde Pérez
Jacobo Aragunde PérezReporter
jose bollo
jose bolloFix versions
Labels
Components
Affects versions
Priority
Created January 18, 2019 at 4:28 PM
Updated October 4, 2019 at 8:08 PM
Resolved October 2, 2019 at 8:41 AM
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.