Error Building yocto images with Chromium Browser

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error Building yocto images with Chromium Browser

7,447 Views
hrushinale
Contributor III

Hello Community,

I am trying to build the yocto images with the Chromium browser integrated into it.

For that I followed the info. given in i.MX yocto Project's user guide and I added below lines in my local.conf file

CORE_IMAGE_EXTRA_INSTALL += "chromium libexif"

LICENSE_FLAGS_WHITELIST="commercial"

and Started the build but I am getting below errors:

ERROR: Nothing RPROVIDES 'chromium' (but /home/hrushi/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-qt5.bb RDEPENDS on or otherwise requires it)
ERROR: chromium was skipped: Recipe is blacklisted: BROKEN: fails to build with gcc-6
NOTE: Runtime target 'chromium' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['chromium']
ERROR: Required build target 'fsl-image-qt5' has no buildable providers.
Missing or unbuildable dependency chain was: ['fsl-image-qt5', 'chromium']

Please help me solve these errors.

Best Regards,

Hrushi

Labels (1)
0 Kudos
4 Replies

3,447 Views
Danube
Contributor IV

Hi

You can go to  meta-browser

git checkout b251177608a8be789fe71f35e27558436ff46f50

I has test in

MACHINE ??= 'imx6qsabresd'
DISTRO ?= 'fsl-imx-x11'

0 Kudos

3,447 Views
bernhardfink
NXP Employee
NXP Employee

Please have a look into the file README-IMXBSP in the top directory of the Yocto repository. This worked for me.

Add Chromium to your Wayland or X11-based image by adding the following lines to local.conf:

# Add Chromium
IMAGE_INSTALL_append = \
    "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', ' chromium-ozone-wayland libexif', \
        bb.utils.contains('DISTRO_FEATURES',     'x11', ' chromium-x11 libexif', \
                                                        '', d), d)}"
LICENSE_FLAGS_WHITELIST = \
    "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'commercial', \
        bb.utils.contains('DISTRO_FEATURES',     'x11', 'commercial', \
                                                        '', d), d)}"

3,447 Views
toanjunifer
Senior Contributor I

Hi buddy,

In my case, it's not solve my problem.

After add this line to local.conf, it's show this error:

ERROR: Task (/home/toanrd/imx-yocto-bsp/sources/meta-browser/recipes-browser/chromium/gn-native_64.0.3282.186.bb:do_compile) failed with exit code '1'

What should I do now ?

Thank you so much !

0 Kudos

3,447 Views
igorpadykov
NXP Employee
NXP Employee

Hi Hrushi

according to sect.5.6.6 Chromium Browser on X11, XWayland and Wayland attached Yocto Guide:


The Yocto Project community has chromium-imx recipes to enable hardware acceleration for X11, XWayland and Wayland
version Chromium Browser for i.MX SoC with GPU hardware. Note that NXP does not support or test the patches from
community, either for VPU or GPU support.

so one can post on meta-fsl-arm mailing list, so that someonefamiliar with it could try to assist you :
https://lists.yoctoproject.org/listinfo/meta-freescale

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos