2394345_en-US

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

2394345_en-US

2394345_en-US

Yocto wrynose build failure for 'imx-car-navigation'

Hi,

trying to build 'imx-image-full' for an FRDM-IMX93 on the latest 6.18.20-2.0.0 BSP fails like this:

ERROR: imx-car-navigation-1.0-r0 do_compile: Execution of '/media/dzu/hd01-xfs/nxp/imx-yocto-6.18.20-2.0.0/build-imx93-frdm/tmp/work/armv8-2a-poky-linux/imx-car-navigation/1.0/temp/run.do_compile.1753043' failed with exit code 1
ERROR: Logfile of failure stored in: /media/dzu/hd01-xfs/nxp/imx-yocto-6.18.20-2.0.0/build-imx93-frdm/tmp/work/armv8-2a-poky-linux/imx-car-navigation/1.0/temp/log.do_compile.1753043
Log data follows:
| DEBUG: Executing shell function do_compile
| Cloning into '/media/dzu/hd01-xfs/nxp/imx-yocto-6.18.20-2.0.0/build-imx93-frdm/tmp/work/armv8-2a-poky-linux/imx-car-navigation/1.0/sources/imx-car-navigation-1.0/CANopenNode'...
| fatal: unable to access 'https://github.com/CANopenNode/CANopenNode.git/': Could not resolve host: github.com
| fatal: clone of 'https://github.com/CANopenNode/CANopenNode.git' into submodule path '/media/dzu/hd01-xfs/nxp/imx-yocto-6.18.20-2.0.0/build-imx93-frdm/tmp/work/armv8-2a-poky-linux/imx-car-navigation/1.0/sources/imx-car-navigation-1.0/CANopenNode' failed
| Failed to clone 'CANopenNode'. Retry scheduled
| Cloning into '/media/dzu/hd01-xfs/nxp/imx-yocto-6.18.20-2.0.0/build-imx93-frdm/tmp/work/armv8-2a-poky-linux/imx-car-navigation/1.0/sources/imx-car-navigation-1.0/CANopenNode'...
| fatal: unable to access 'https://github.com/CANopenNode/CANopenNode.git/': Could not resolve host: github.com
| fatal: clone of 'https://github.com/CANopenNode/CANopenNode.git' into submodule path '/media/dzu/hd01-xfs/nxp/imx-yocto-6.18.20-2.0.0/build-imx93-frdm/tmp/work/armv8-2a-poky-linux/imx-car-navigation/1.0/sources/imx-car-navigation-1.0/CANopenNode' failed
| Failed to clone 'CANopenNode' a second time, aborting
| WARNING: exit code 1 from a shell command.
ERROR: Task (/media/dzu/hd01-xfs/nxp/imx-yocto-6.18.20-2.0.0/sources/meta-nxp-demo-experience/recipes-examples/imx-car-navigation/imx-car-navigation.bb:do_compile) failed with exit code '1'

Note that this is 100% reproducible - it always fails here.  Please also note that a download of a repository fails, even though bitbake is executing a "compile" step.  Currently, I think it may be related that downloads should not be done in compilation steps and maybe bitbake now limits network functionality to the download step?  Did anyone test this recipe recently?

Re: Yocto wrynose build failure for 'imx-car-navigation'

It seems my gut feeling was right.  The following patch solves the problem for me:

--- sources/meta-nxp-demo-experience/recipes-examples/imx-car-navigation/imx-car-navigation.bb.ORIG	2026-07-13 16:02:28.733344421 +0200
+++ sources/meta-nxp-demo-experience/recipes-examples/imx-car-navigation/imx-car-navigation.bb	2026-07-13 16:02:11.178539144 +0200
@@ -14,6 +14,7 @@
 
 
 do_configure[noexec] = "1"
+do_compile[network] = "1"
 
 do_compile() {
         cd ${S}

But note that this is just a workaround.  There is a reason why this is not allowed by default - the compile step should not do any network access.


タグ(1)
評価なし
バージョン履歴
最終更新日:
‎07-14-2026 02:29 AM
更新者: