debianutils 5.22 fails to fetch when following is added to local.conf it works ok with without it. BB_GIT_SHALLOW = "1" # Keep only the top commit BB_GIT_SHALLOW_DEPTH = "1" # This defaults to enabled if both BB_GIT_SHALLOW and # BB_GENERATE_MIRROR_TARBALLS are enabled BB_GENERATE_SHALLOW_TARBALLS = "1" error: ====== ERROR: debianutils-native-5.22-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export SSH_AUTH_SOCK="/ssh-agent"; export PATH="/mnt/b/yoe/master/sources/poky/scripts/native-intercept:/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/mnt/b/yoe/master/sources/poky/scripts:/mnt/b/yoe/master/build/tmp/work/x86_64-linux/debianutils-native/5.22/recipe-sysroot-native/usr/bin/x86_64-linux:/mnt/b/yoe/master/build/tmp/work/x86_64-linux/debianutils-native/5.22/recipe-sysroot-native/usr/bin:/mnt/b/yoe/master/build/tmp/work/x86_64-linux/debianutils-native/5.22/recipe-sysroot-native/usr/sbin:/mnt/b/yoe/master/build/tmp/work/x86_64-linux/debianutils-native/5.22/recipe-sysroot-native/usr/bin:/mnt/b/yoe/master/build/tmp/work/x86_64-linux/debianutils-native/5.22/recipe-sysroot-native/sbin:/mnt/b/yoe/master/build/tmp/work/x86_64-linux/debianutils-native/5.22/recipe-sysroot-native/bin:/mnt/b/yoe/master/sources/poky/bitbake/bin:/mnt/b/yoe/master/build/tmp/hosttools"; export HOME="/home/build"; git -c gc.autoDetach=false -c core.pager=cat -c safe.bareRepository=all -c clone.defaultRemoteName=origin fetch origin --depth 1 5.22 failed with exit code 128, output: fatal: couldn't find remote ref 5.22 ERROR: debianutils-native-5.22-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://salsa.debian.org/debian/debianutils.git;protocol=https;branch=master;tag=debian/5.22') ERROR: Logfile of failure stored in: /mnt/b/yoe/master/build/tmp/work/x86_64-linux/debianutils-native/5.22/temp/log.do_fetch.579 ERROR: Task (virtual:native:/mnt/b/yoe/master/sources/poky/meta/recipes-support/debianutils/debianutils_5.22.bb:do_fetch) failed with exit code '1'
Maybe fixed by: [PATCH] fetch2/git: fix shallow clone for tag containing slash https://lists.openembedded.org/g/bitbake-devel/message/17605 Related test: [PATCH] lib/bb/tests/fetch: add a test case to ensure git shallow fetch works for tag containing slash https://lists.openembedded.org/g/bitbake-devel/message/17608
Fix merged: fetch2/git: fix shallow clone for tag containing slash https://git.openembedded.org/bitbake/commit/?id=c6d6999f1ed01e7445b8f177a888038edacf555c