Encounter error when bitbake qtwebengine -cconfigure in imx8 bsp L5.15.32-2.0.0

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

Encounter error when bitbake qtwebengine -cconfigure in imx8 bsp L5.15.32-2.0.0

Jump to solution
2,309 Views
Neil-Hsu
Contributor II

Hi NXP experts,

I get the NXP BSP LF5.15.32_2.0.0 and encounter failed issue when I try to "bitbake qtwebengine -c configure".

The log message shows that

CMake Error at src/CMakeLists.txt:123 (message):
No gn found for cross-compilation


-- Configuring incomplete, errors occurred!

In the log I found something strange:

-- Could NOT find Gn: Found unsuitable version "1938 (0153d369)", but required is exact version "6.3.1" (found /media/1t/se_euro/nxp/imx-yocto-bsp/build-wayland/tmp/work/armv8a-poky-linux/qtwebengine/6.3.1-r0/recipe-sysroot-native/usr/bin/gn)

The required version number for Gn is "6.3.1"? It seems not a reasonable version format for gn...

Can anyone help me to build the qtwebengine module working?

 

Tags (2)
0 Kudos
1 Solution
2,241 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @Neil-Hsu 

I received the following explanation and solution from Yocto team:

There are two versions of gn-native available and the wrong version is getting picked up.
./meta-qt6/recipes-qt/qt6/gn-native_git.bb
./meta-browser/meta-chromium/recipes-browser/chromium/gn-native_96.0.4664.110.bb

We need to use the one from meta-qt6.
Please add the following line in local.conf to get pass this build error:
BBMASK += "/meta-browser/meta-chromium/recipes-browser/chromium/gn-native_.*\.bb"

View solution in original post

5 Replies
1,913 Views
Danube
Contributor IV

Hi All,

 

This issue still happen in 5_15_71_220 BSP version.

 

0 Kudos
2,281 Views
Neil-Hsu
Contributor II

I found a workaround to skip this problem. Comment out the meta-chromium layer in the bblayers.conf. But I can not confirm if this will cause other problems.

0 Kudos
2,242 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @Neil-Hsu 

I received the following explanation and solution from Yocto team:

There are two versions of gn-native available and the wrong version is getting picked up.
./meta-qt6/recipes-qt/qt6/gn-native_git.bb
./meta-browser/meta-chromium/recipes-browser/chromium/gn-native_96.0.4664.110.bb

We need to use the one from meta-qt6.
Please add the following line in local.conf to get pass this build error:
BBMASK += "/meta-browser/meta-chromium/recipes-browser/chromium/gn-native_.*\.bb"

2,247 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

If you comment out the meta-chromium layer in the bblayers.conf, the chromium may may not work properly.

The R&D team is handling this issue.I will update this case  if they give any reply/patch.

0 Kudos
2,285 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @Neil-Hsu 

I can see same issue and  i have post this in internal .

0 Kudos