IMX8 bitbake image fails with fetching GIT repositories

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

IMX8 bitbake image fails with fetching GIT repositories

520 Views
kulveer
Contributor II

Hi

I got the error message from 'bitbake imx-image-core'

ERROR: linux-imx-6.6.23+git-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/smfd/yocto_core_image/imx-yocto-bsp/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/smfd/yocto_core_image/imx-yocto-bsp/sources/poky/scripts:/home/smfd/yocto_core_image/imx-yocto-bsp/build/tmp/work/imx8mpevk-poky-linux/linux-imx/6.6.23+git/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/smfd/yocto_core_image/imx-yocto-bsp/build/tmp/work/imx8mpevk-poky-linux/linux-imx/6.6.23+git/recipe-sysroot/usr/bin/crossscripts:/home/smfd/yocto_core_image/imx-yocto-bsp/build/tmp/work/imx8mpevk-poky-linux/linux-imx/6.6.23+git/recipe-sysroot-native/usr/sbin:/home/smfd/yocto_core_image/imx-yocto-bsp/build/tmp/work/imx8mpevk-poky-linux/linux-imx/6.6.23+git/recipe-sysroot-native/usr/bin:/home/smfd/yocto_core_image/imx-yocto-bsp/build/tmp/work/imx8mpevk-poky-linux/linux-imx/6.6.23+git/recipe-sysroot-native/sbin:/home/smfd/yocto_core_image/imx-yocto-bsp/build/tmp/work/imx8mpevk-poky-linux/linux-imx/6.6.23+git/recipe-sysroot-native/bin:/home/smfd/yocto_core_image/imx-yocto-bsp/sources/poky/bitbake/bin:/home/smfd/yocto_core_image/imx-yocto-bsp/build/tmp/hosttools"; export HOME="/home/smfd"; LANG=C git -c gc.autoDetach=false -c core.pager=cat -c safe.bareRepository=all clone --bare --mirror nxp-imx/linux-imx.git /home/smfd/yocto_core_image/imx-yocto-bsp/downloads//git2/github.com.nxp-imx.linux-imx.git --progress failed with exit code 128, see logfile for output
ERROR: linux-imx-6.6.23+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=lf-6.6.y')
ERROR: Logfile of failure stored in: /home/smfd/yocto_core_image/imx-yocto-bsp/build/tmp/work/imx8mpevk-poky-linux/linux-imx/6.6.23+git/temp/log.do_fetch.7825
ERROR: Task (/home/smfd/yocto_core_image/imx-yocto-bsp/sources/meta-imx/meta-imx-bsp/recipes-kernel/linux/linux-imx_6.6.bb:do_fetch) failed with exit code '1'
WARNING: linux-imx-headers-6.6-r0 do_fetch: Failed to fetch URL git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=lf-6.6.y, attempting MIRRORS if available
ERROR: linux-imx-headers-6.6-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/smfd/yocto_core_image/imx-yocto-bsp/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/smfd/yocto_core_image/imx-yocto-bsp/sources/poky/scripts:/home/smfd/yocto_core_image/imx-yocto-bsp/build/tmp/work/armv8a-mx8mp-poky-linux/linux-imx-headers/6.6/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/smfd/yocto_core_image/imx-yocto-bsp/build/tmp/work/armv8a-mx8mp-poky-linux/linux-imx-headers/6.6/recipe-sysroot/usr/bin/crossscripts:/home/smfd/yocto_core_image/imx-yocto-bsp/build/tmp/work/armv8a-mx8mp-poky-linux/linux-imx-headers/6.6/recipe-sysroot-native/usr/sbin:/home/smfd/yocto_core_image/imx-yocto-bsp/build/tmp/work/armv8a-mx8mp-poky-linux/linux-imx-headers/6.6/recipe-sysroot-native/usr/bin:/home/smfd/yocto_core_image/imx-yocto-bsp/build/tmp/work/armv8a-mx8mp-poky-linux/linux-imx-headers/6.6/recipe-sysroot-native/sbin:/home/smfd/yocto_core_image/imx-yocto-bsp/build/tmp/work/armv8a-mx8mp-poky-linux/linux-imx-headers/6.6/recipe-sysroot-native/bin:/home/smfd/yocto_core_image/imx-yocto-bsp/sources/poky/bitbake/bin:/home/smfd/yocto_core_image/imx-yocto-bsp/build/tmp/hosttools"; export HOME="/home/smfd"; LANG=C git -c gc.autoDetach=false -c core.pager=cat -c safe.bareRepository=all clone --bare --mirror https://github.com/nxp-imx/linux-imx.git /home/smfd/yocto_core_image/imx-yocto-bsp/downloads//git2/github.com.nxp-imx.linux-imx.git --progress failed with exit code 128, see logfile for output
ERROR: linux-imx-headers-6.6-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=lf-6.6.y')
ERROR: Logfile of failure stored in: /home/smfd/yocto_core_image/imx-yocto-bsp/build/tmp/work/armv8a-mx8mp-poky-linux/linux-imx-headers/6.6/temp/log.do_fetch.12009
ERROR: Task (/home/smfd/yocto_core_image/imx-yocto-bsp/sources/meta-imx/meta-imx-bsp/recipes-kernel/linux/linux-imx-headers_6.6.bb:do_fetch) failed with exit code '1'

What's the meaning of this error and what should we do next. I also tried with comand

1 : bitbake -c cleanall linux-imx

2 : bitbake linux-imx

0 Kudos
Reply
4 Replies

500 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

It should be network issue, you can test with simple git command to download linux-imx.

Or delete the yocto project and rebuild it

Best Regards
Zhiming

0 Kudos
Reply

494 Views
kulveer
Contributor II

Also tried Yocto rebuild with another PC and simple git command same issue occurred. 

Tags (1)
0 Kudos
Reply

473 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

Please check your network or proxy setting.

Zhiming_Liu_0-1726099709751.png



Best Regards
Zhiming

0 Kudos
Reply

400 Views
kulveer
Contributor II

Its working fine on other PC when i rebuild. I think its network issue or memory size issue.

Tags (1)
0 Kudos
Reply