Bitbake Fetcher Error

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

Bitbake Fetcher Error

Jump to solution
5,185 Views
zmagday
Contributor I

I am trying to build an image by following the steps on the i.MX Yocto Project User's Guide. But I always encounter this fetcher error.

After running the bitbake core-image-minimal command, this is the result.

How to resolve this?

NOTE: Your conf/bblayers.conf has been automatically updated.
WARNING: You are running bitbake under WSLv2, this works properly but you should optimize your VHDX file eventually to avoid running out of storage space
Loading cache: 100% | | ETA: --:--:--Loaded 0 entries from dependency cache.
Parsing recipes: 100% |#######################################################################################################################################################################################################| Time: 0:01:32Parsing of 3440 .bb files complete (0 cached, 3440 parsed). 5303 targets, 674 skipped, 18 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "2.4.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-22.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6ull14x14evk"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "6.1-mickledore"
TUNE_FEATURES = "arm vfp cortexa7 neon thumb callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky = "my-mickledore:6baf59b3975472dcbf19cea9bafddf83cb7e530d"
meta-oe
meta-multimedia
meta-python = "HEAD:75cf318cef3b4ee81fad2782cf063ecd69ba8842"
meta-freescale = "HEAD:9b00d40b787c2b7105ce209f5635cc1a0cab81ca"
meta-freescale-3rdparty = "HEAD:93ba05e3a16a028b770fa1e813b13eb87a59ac63"
meta-freescale-distro = "HEAD:b09c18a3f649f0cf1b40432bb39e76ba16fe94e2"
meta-bsp
meta-sdk
meta-ml
meta-v2x = "HEAD:6efe87f014c5bdcbda30f06156ee11d8bc3dc7fe"
meta-nxp-demo-experience = "HEAD:7f34a32c7877e55e87b6a99e90da4128ed632bf2"
meta-arm
meta-arm-toolchain = "HEAD:0e043288fd0b17fbf31cf00ae33045107a991144"
meta-chromium = "HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6"
meta-clang = "HEAD:af4dcba009ba98250315520f3003fde4ee164cce"
meta-gnome
meta-networking
meta-filesystems = "HEAD:75cf318cef3b4ee81fad2782cf063ecd69ba8842"
meta-qt6 = "HEAD:1406d0a85525a71fe5d7892d7f915404290a78ad"
meta-parsec
meta-tpm = "HEAD:d7db0a3bd1a8639df7570483f003ce00cbe274a2"
meta-virtualization = "HEAD:56593e277a377157944a6676e57497066b770a35"

NOTE: Fetching uninative binary shim http://downloads.yoctoproject.org/releases/uninative/4.3/x86_64-nativesdk-libc-4.3.tar.xz;sha256sum=... (will check PREMIRRORS first)
Initialising tasks: 100% |####################################################################################################################################################################################################| Time: 0:03:41Checking sstate mirror object availability: 100% |############################################################################################################################################################################| Time: 0:01:09Sstate summary: Wanted 1367 Local 0 Mirrors 377 Missed 990 Current 0 (27% match, 0% complete)
NOTE: Executing Tasks
Checking sstate mirror object availability: 100% |############################################################################################################################################################################| Time: 0:00:42WARNING: python3-cryptography-native-39.0.2-r0 do_fetch: Failed to fetch URL crate://crates.io/lock_api/0.4.9, attempting MIRRORS if available
WARNING: linux-imx-6.1.36+gitAUTOINC+04b05c5527-r0 do_fetch: Failed to fetch URL git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=lf-6.1.y, attempting MIRRORS if available
ERROR: linux-imx-6.1.36+gitAUTOINC+04b05c5527-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/home/zmagday/imx-yocto-bsp/build_imx6ull/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/zmagday/imx-yocto-bsp/sources/poky/scripts:/home/zmagday/imx-yocto-bsp/build_imx6ull/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/linux-imx/6.1.36+gitAUTOINC+04b05c5527-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi:/home/zmagday/imx-yocto-bsp/build_imx6ull/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/linux-imx/6.1.36+gitAUTOINC+04b05c5527-r0/recipe-sysroot/usr/bin/crossscripts:/home/zmagday/imx-yocto-bsp/build_imx6ull/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/linux-imx/6.1.36+gitAUTOINC+04b05c5527-r0/recipe-sysroot-native/usr/sbin:/home/zmagday/imx-yocto-bsp/build_imx6ull/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/linux-imx/6.1.36+gitAUTOINC+04b05c5527-r0/recipe-sysroot-native/usr/bin:/home/zmagday/imx-yocto-bsp/build_imx6ull/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/linux-imx/6.1.36+gitAUTOINC+04b05c5527-r0/recipe-sysroot-native/sbin:/home/zmagday/imx-yocto-bsp/build_imx6ull/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/linux-imx/6.1.36+gitAUTOINC+04b05c5527-r0/recipe-sysroot-native/bin:/home/zmagday/imx-yocto-bsp/sources/poky/bitbake/bin:/home/zmagday/imx-yocto-bsp/build_imx6ull/tmp/hosttools"; export HOME="/home/zmagday"; LANG=C git -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://github.com/nxp-imx/linux-imx.git /home/zmagday/imx-yocto-bsp/downloads//git2/github.com.nxp-imx.linux-imx.git --progress failed with exit code 128, no output
ERROR: linux-imx-6.1.36+gitAUTOINC+04b05c5527-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.1.y')
ERROR: Logfile of failure stored in: /home/zmagday/imx-yocto-bsp/build_imx6ull/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/linux-imx/6.1.36+gitAUTOINC+04b05c5527-r0/temp/log.do_fetch.1823669
ERROR: Task (/home/zmagday/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_6.1.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1285 tasks of which 666 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/zmagday/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_6.1.bb:do_fetch
Summary: There were 3 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.

Labels (2)
0 Kudos
1 Solution
5,107 Views
Harvey021
NXP TechSupport
NXP TechSupport

Timeout happens likely to network connection issue and system sources overload, suggest check WSL configurations related to disk , CPU core, Memory ...etc. 

By the way, to build on WSL not officially tested. 

 

Best regards

Harvey

View solution in original post

0 Kudos
8 Replies
2,183 Views
Manticore
Contributor I

hi,

currently me also facing same problem any one give positive reply

 

0 Kudos
2,212 Views
tgt007
Contributor I

I have the same problem

0 Kudos
2,209 Views
zmagday
Contributor I

Hi @tgt007 

Upgrading my RAM from 8GB to 16GB resolved the problem.

0 Kudos
5,108 Views
Harvey021
NXP TechSupport
NXP TechSupport

Timeout happens likely to network connection issue and system sources overload, suggest check WSL configurations related to disk , CPU core, Memory ...etc. 

By the way, to build on WSL not officially tested. 

 

Best regards

Harvey

0 Kudos
5,095 Views
zmagday
Contributor I

Hi. I upgraded my RAM from 8GB to 16GB. The error is now resolved.

But the process took 2.5 hours. Is this the normal process time?

Thank you very much for the support.

0 Kudos
5,169 Views
Harvey021
NXP TechSupport
NXP TechSupport

Suggest to have a try to manually download from https://github.com/nxp-imx/linux-imx.git and place it to directory <imx-yocto-bsp>/downloads/

 

Best regards

Harvey

0 Kudos
2,163 Views
Manticore
Contributor I

Still same problem I don't know what can I do

0 Kudos
5,132 Views
zmagday
Contributor I

Hi. I tried cloning https://github.com/nxp-imx/linux-imx.git to the /imx-yocto-bsp/downloads/ directory.

Then after running the bitbake core-image-minimal command on the build directory, I got a new error.

NOTE: Your conf/bblayers.conf has been automatically updated.
WARNING: You are running bitbake under WSLv2, this works properly but you should optimize your VHDX file eventually to avoid running out of storage space
Loading cache: 100% | | ETA: --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |#######################################################################################################################################################################################################| Time: 0:01:28
Parsing of 3440 .bb files complete (0 cached, 3440 parsed). 5303 targets, 674 skipped, 18 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "2.4.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-22.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6ull14x14evk"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "6.1-mickledore"
TUNE_FEATURES = "arm vfp cortexa7 neon thumb callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:0a98281d37b0bd8dc1548c390216cb3978e36e0e"
meta-oe
meta-multimedia
meta-python = "HEAD:75cf318cef3b4ee81fad2782cf063ecd69ba8842"
meta-freescale = "HEAD:9b00d40b787c2b7105ce209f5635cc1a0cab81ca"
meta-freescale-3rdparty = "HEAD:93ba05e3a16a028b770fa1e813b13eb87a59ac63"
meta-freescale-distro = "HEAD:b09c18a3f649f0cf1b40432bb39e76ba16fe94e2"
meta-bsp
meta-sdk
meta-ml
meta-v2x = "HEAD:6efe87f014c5bdcbda30f06156ee11d8bc3dc7fe"
meta-nxp-demo-experience = "HEAD:7f34a32c7877e55e87b6a99e90da4128ed632bf2"
meta-arm
meta-arm-toolchain = "HEAD:0e043288fd0b17fbf31cf00ae33045107a991144"
meta-chromium = "HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6"
meta-clang = "HEAD:af4dcba009ba98250315520f3003fde4ee164cce"
meta-gnome
meta-networking
meta-filesystems = "HEAD:75cf318cef3b4ee81fad2782cf063ecd69ba8842"
meta-qt6 = "HEAD:1406d0a85525a71fe5d7892d7f915404290a78ad"
meta-parsec
meta-tpm = "HEAD:d7db0a3bd1a8639df7570483f003ce00cbe274a2"
meta-virtualization = "HEAD:56593e277a377157944a6676e57497066b770a35"

NOTE: Fetching uninative binary shim http://downloads.yoctoproject.org/releases/uninative/4.0/x86_64-nativesdk-libc-4.0.tar.xz;sha256sum=... (will check PREMIRRORS first)
Initialising tasks: 100% |####################################################################################################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 1367 Local 0 Mirrors 0 Missed 1367 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
NOTE: No reply from server in 30s
Timeout while waiting for a reply from the bitbake server (60s)

0 Kudos