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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
3,668件の閲覧回数
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?

 

タグ(2)
0 件の賞賛
返信
1 解決策
3,600件の閲覧回数
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"

元の投稿で解決策を見る

5 返答(返信)
3,272件の閲覧回数
Danube
Contributor IV

Hi All,

 

This issue still happen in 5_15_71_220 BSP version.

 

0 件の賞賛
返信
3,640件の閲覧回数
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 件の賞賛
返信
3,601件の閲覧回数
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"

3,606件の閲覧回数
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 件の賞賛
返信
3,644件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @Neil-Hsu 

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

0 件の賞賛
返信