# Bitbake fails on fetch

**URL:** <https://forums.digi.com/t/bitbake-fails-on-fetch/29012>\
**Category:** Linux\
**Tags:** bitbake, dey\
**Created:** [December 26, 2023, 8:01pm UTC](https://forums.digi.com/t/bitbake-fails-on-fetch/29012 "2023-12-26T20:01:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lep](https://avatars.discourse-cdn.com/v4/letter/l/96bed5/32.png) [@lep](https://forums.digi.com/u/lep)\
**Post date:** [December 26, 2023, 8:01pm UTC](https://forums.digi.com/t/bitbake-fails-on-fetch/29012/1 "2023-12-26T20:01:38Z")

</div>

I’m following the instructions [here](https://www.digi.com/resources/documentation/digidocs/embedded/dey/4.0/ccmp15/yocto-create-build-projects_t.html) 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.`

---

<div class="post-metadata">

**Author:** ![lep](https://avatars.discourse-cdn.com/v4/letter/l/96bed5/32.png) [@lep](https://forums.digi.com/u/lep)\
**Post date:** [December 27, 2023, 9:54am UTC](https://forums.digi.com/t/bitbake-fails-on-fetch/29012/2 "2023-12-27T09:54:37Z")

</div>

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 then`bitmake dey-image-qt` worked. So that’s a work-around.
