Firefox compilation fails in yocto 4.14-sumo for imx8MMini

cancel
Showing results for 
Search instead for 
Did you mean: 

Firefox compilation fails in yocto 4.14-sumo for imx8MMini

773 Views
pavel_
Contributor II

Build Configuration:
BB_VERSION           = "1.38.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.04"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "imx8mmevk"
DISTRO               = "fsl-imx-xwayland"
DISTRO_VERSION       = "4.14-sumo"
TUNE_FEATURES        = "aarch64"

Recipe:

firefox-52.9.0esr-r0

from /home/nxp/imx-yocto-bsp-4.14/build/tmp/work/aarch64-mx8mm-poky-linux/firefox/52.9.0esr-r0/firefox-52.9.0esr/widget/PluginWidgetProxy.cpp:8:
| /home/nxp/imx-yocto-bsp-4.14/build/tmp/work/aarch64-mx8mm-poky-linux/firefox/52.9.0esr-r0/firefox-52.9.0esr/firefox-build-dir/dist/system_wrappers/gdk/gdkx.h:3:15: fatal error: gdk/gdkx.h: No such file or directory
|  #include_next <gdk/gdkx.h>
|                ^~~~~~~~~~~~
compilation terminated.

Same error when trying to bitbake core-image-minimal-xfce

0 Kudos
6 Replies

403 Views
ankitr_patel
Senior Contributor II

Hi Pauli Virtanen,

Can you let us know which exact yocto version are you using?

We used imx-4.14.78-1.0.0_ga.xml and we were able to compile bitbake fsl-image-machine-test successfully. However bitbake was not able to find core-image-minimal-xfce.

ERROR: Nothing PROVIDES 'core-image-minimal-xfce'. Close matches:
  core-image-minimal-dev
  core-image-minimal
  core-image-minimal-initramfs

Can you us know the yocto version and steps you execute so we can reproduce the issue here?

Regards,

Ankit Patel

0 Kudos

403 Views
pavel_
Contributor II

1. I have installed a yocto buildchain as mentioned in: i.MX Yocto Project User's Guide Rev. L4.14.98-2.0.0_ga, 04/2019, chaprer 4.

0 Kudos

403 Views
ankitr_patel
Senior Contributor II

Hi Pauli Virtanen,

There is no target like core-image-minimal-xfce in default yocto repo 4.14.98-2.0.0_ga.

1. Can you let us know the steps that you are using to compile firefox?

2. Is bitbake fsl-image-machine-test success in your machine?

Regards,

Ankit Patel

0 Kudos

403 Views
pavel_
Contributor II

Hi,

The "core-image-minimal-xfce" recipe is located at "/sources/meta-openembedded/meta-xfce/recipes-core/images"

So, pls. check your "bblayers.conf" that it contain lines like:

BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/************"

and just add at the bottom:

BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-xfce "

2. Yes, I can bitbake "fsl-image-machine-test" with no problems

0 Kudos

403 Views
ankitr_patel
Senior Contributor II

Hi Pauli Virtanen,

As you can see in

file: sources/meta-openembedded/meta-xfce/recipes-core/images/core-image-minimal-xfce.bb

line: REQUIRED_DISTRO_FEATURES = "x11"

And for imx8mmini, if we pass DISTRO=fsl-imx-x11, it reports

ERROR - Only Wayland distros are supported for i.MX 8 or i.MX 8M

So currently core-image-minimal-xfce do not compile for imx8mmini. However, we check and core-image-minimal-xfce does get compile for imx7d.

Regards,

Ankit Patel

403 Views
pavel_
Contributor II

Hi,

But Firefox doesn't have that

REQUIRED_DISTRO_FEATURES = "x11" set,

and still fails to build.

0 Kudos