Bitbake fails on fetch

I’m following the instructions here for building DEY using a Docker container. I haven’t deviated from the instructions but am getting a bitbake fetch error for a git repository. I’ve tried building at different times in case the repo was temporarily unavailable and was also able to clone the repo without a problem. I’ve run
repo init -b kirkstone
repo sync -j8 --no-repo-verify
but it didn’t help. Below is the actual error I’m getting. Thanks in advance for any help regarding this issue.

ERROR: linux-dey-5.15-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/home/dey/workspace/ccmp15-dvk/tmp/sysroots-uninative/x86_64-linux/usr/bin:/usr/local/dey-4.0/sources/poky/scripts:/home/dey/workspace/ccmp15-dvk/tmp/work/ccmp15_dvk-dey-linux-gnueabi/linux-dey/5.15-r0/recipe-sysroot-native/usr/bin/arm-dey-linux-gnueabi:/home/dey/workspace/ccmp15-dvk/tmp/work/ccmp15_dvk-dey-linux-gnueabi/linux-dey/5.15-r0/recipe-sysroot/usr/bin/crossscripts:/home/dey/workspace/ccmp15-dvk/tmp/work/ccmp15_dvk-dey-linux-gnueabi/linux-dey/5.15-r0/recipe-sysroot-native/usr/sbin:/home/dey/workspace/ccmp15-dvk/tmp/work/ccmp15_dvk-dey-linux-gnueabi/linux-dey/5.15-r0/recipe-sysroot-native/usr/bin:/home/dey/workspace/ccmp15-dvk/tmp/work/ccmp15_dvk-dey-linux-gnueabi/linux-dey/5.15-r0/recipe-sysroot-native/sbin:/home/dey/workspace/ccmp15-dvk/tmp/work/ccmp15_dvk-dey-linux-gnueabi/linux-dey/5.15-r0/recipe-sysroot-native/bin:/usr/local/dey-4.0/sources/poky/bitbake/bin:/home/dey/workspace/ccmp15-dvk/tmp/hosttools"; export HOME="/home/dey"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://github.com/digi-embedded/linux.git /home/dey/workspace/downloads/git2/github.com.digi-embedded.linux.git --progress failed with exit code 128, no output ERROR: linux-dey-5.15-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/digi-embedded/linux.git;protocol=https;branch=v5.15/stm/dey-4.0/maint') ERROR: Logfile of failure stored in: /home/dey/workspace/ccmp15-dvk/tmp/work/ccmp15_dvk-dey-linux-gnueabi/linux-dey/5.15-r0/temp/log.do_fetch.41604 ERROR: Task (/usr/local/dey-4.0/sources/meta-digi/meta-digi-arm/recipes-kernel/linux/linux-dey_5.15.bb:do_fetch) failed with exit code '1' NOTE: Tasks Summary: Attempted 2721 tasks of which 2503 didn't need to be rerun and 1 failed.

1 Like

I was able to run the following (from the error message)
git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://github.com/digi-embedded/linux.git /home/dey/workspace/downloads/git2/github.com.digi- embedded.linux.git

and thenbitmake dey-image-qt worked. So that’s a work-around.