# Build not finishing on Raspberry Pi 4

**URL:** <https://hub.mender.io/t/build-not-finishing-on-raspberry-pi-4/7638>\
**Category:** General Discussions\
**Created:** [March 18, 2025, 3:41am UTC](https://hub.mender.io/t/build-not-finishing-on-raspberry-pi-4/7638 "2025-03-18T03:41:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dolence](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/dolence/32/2441_2.png) [@dolence](https://hub.mender.io/u/dolence)\
**Post date:** [March 18, 2025, 3:41am UTC](https://hub.mender.io/t/build-not-finishing-on-raspberry-pi-4/7638/1 "2025-03-18T03:41:26Z")

</div>

I was having issues getting my custom build done, so I made the decision to test a pure meta-mender-community build just as the README instructs just to confirm the same problem exists.

It is failing to fetch linux-raspberrypi-1\_6.6.22+git-r0 and I’m not sure where to report.

```auto
WARNING: linux-raspberrypi-1_6.6.22+git-r0 do_fetch: Failed to fetch URL git://github.com/raspberrypi/linux.git;name=machine;branch=rpi-6.6.y;protocol=https, attempting MIRRORS if available
ERROR: linux-raspberrypi-1_6.6.22+git-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/home/dolence/desenvolvimento/yocto/mender/meta-mender-community/my-build/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/dolence/desenvolvimento/yocto/mender/meta-mender-community/my-build/poky/scripts:/home/dolence/desenvolvimento/yocto/mender/meta-mender-community/my-build/build/tmp/work/raspberrypi4_64-poky-linux/linux-raspberrypi/6.6.22+git/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/dolence/desenvolvimento/yocto/mender/meta-mender-community/my-build/build/tmp/work/raspberrypi4_64-poky-linux/linux-raspberrypi/6.6.22+git/recipe-sysroot/usr/bin/crossscripts:/home/dolence/desenvolvimento/yocto/mender/meta-mender-community/my-build/build/tmp/work/raspberrypi4_64-poky-linux/linux-raspberrypi/6.6.22+git/recipe-sysroot-native/usr/sbin:/home/dolence/desenvolvimento/yocto/mender/meta-mender-community/my-build/build/tmp/work/raspberrypi4_64-poky-linux/linux-raspberrypi/6.6.22+git/recipe-sysroot-native/usr/bin:/home/dolence/desenvolvimento/yocto/mender/meta-mender-community/my-build/build/tmp/work/raspberrypi4_64-poky-linux/linux-raspberrypi/6.6.22+git/recipe-sysroot-native/sbin:/home/dolence/desenvolvimento/yocto/mender/meta-mender-community/my-build/build/tmp/work/raspberrypi4_64-poky-linux/linux-raspberrypi/6.6.22+git/recipe-sysroot-native/bin:/home/dolence/desenvolvimento/yocto/mender/meta-mender-community/my-build/poky/bitbake/bin:/home/dolence/desenvolvimento/yocto/mender/meta-mender-community/my-build/build/tmp/hosttools"; export HOME="/tmp/tmpv1c2aa71"; LANG=C git -c gc.autoDetach=false -c core.pager=cat -c safe.bareRepository=all clone --bare --mirror https://github.com/raspberrypi/linux.git /home/dolence/desenvolvimento/yocto/mender/meta-mender-community/my-build/build/downloads/git2/github.com.raspberrypi.linux.git --progress failed with exit code 128, see logfile for output
ERROR: linux-raspberrypi-1_6.6.22+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/raspberrypi/linux.git;name=machine;branch=rpi-6.6.y;protocol=https')
ERROR: Logfile of failure stored in: /home/dolence/desenvolvimento/yocto/mender/meta-mender-community/my-build/build/tmp/work/raspberrypi4_64-poky-linux/linux-raspberrypi/6.6.22+git/temp/log.do_fetch.491398
ERROR: Task (/home/dolence/desenvolvimento/yocto/mender/meta-mender-community/my-build/build/../meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_6.6.bb:do_fetch) failed with exit code '1'

```

---

<div class="post-metadata">

**Author:** ![leonardo-k](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/leonardo-k/32/1472_2.png) [@leonardo-k](https://hub.mender.io/u/leonardo-k)\
**Post date:** [March 21, 2025, 8:59am UTC](https://hub.mender.io/t/build-not-finishing-on-raspberry-pi-4/7638/2 "2025-03-21T08:59:53Z")

</div>

hello, seems to me that can be an issue like this [linux-raspberrypi-1\_6.6.22+git-r0 do\_fetch: Failed to fetch URL git://github.com/raspberrypi/linux.git;name=machine;branch=rpi-6.6.y;protocol=https, attempting MIRRORS if available · Issue #1315 · agherzan/meta-raspberrypi · GitHub](https://github.com/agherzan/meta-raspberrypi/issues/1315)

maybe related to bitbake

---

<div class="post-metadata">

**Author:** ![dolence](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/dolence/32/2441_2.png) [@dolence](https://hub.mender.io/u/dolence)\
**Post date:** [March 21, 2025, 2:35pm UTC](https://hub.mender.io/t/build-not-finishing-on-raspberry-pi-4/7638/3 "2025-03-21T14:35:09Z")

</div>

After some time it worked. Maybe network issues?

---

<div class="post-metadata">

**Author:** ![leonardo-k](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/leonardo-k/32/1472_2.png) [@leonardo-k](https://hub.mender.io/u/leonardo-k)\
**Post date:** [March 24, 2025, 7:41am UTC](https://hub.mender.io/t/build-not-finishing-on-raspberry-pi-4/7638/4 "2025-03-24T07:41:35Z")

</div>

the issue’s author [said the same](https://github.com/agherzan/meta-raspberrypi/issues/1315#issuecomment-2112242290) , after some retry it worked, maybe was a network issue or maybe a bug, glad to hear you were able to build successfully 🙂
