Hi,
I tried to update meta-virtualization in our setup with k3s and ran into
download failure:
WARNING:
mc:trs-qemuarm64:k3s-v1.31.1+k3s1+git452dbbc14c747a0070fdf007ef2239a6e5d8d934-r0
do_fetch: Failed to fetch URL
git://github.com/k3s-io/spegel;name=spegel;protocol=https;nobranch=1;destsuffix=k3s-v1.31.1+k3s1+git452dbbc14c747a0070fdf007ef2239a6e5d8d934/src/import//vendor.fetch/github.com/k3s-io/spegel,
attempting MIRRORS if available
ERROR:
mc:trs-qemuarm64:k3s-v1.31.1+k3s1+git452dbbc14c747a0070fdf007ef2239a6e5d8d934-r0
do_fetch: Fetcher failure: Unable to find revision
f3d2c40723149dcefc9b219dddc5bdd44cff0874 in branch even from upstream
ERROR:
mc:trs-qemuarm64:k3s-v1.31.1+k3s1+git452dbbc14c747a0070fdf007ef2239a6e5d8d934-r0
do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any
source.',
'git://github.com/k3s-io/spegel;name=spegel;protocol=https;nobranch=1;destsuffix=k3s-v1.31.1+k3s1+git452dbbc14c747a0070fdf007ef2239a6e5d8d934/src/import//vendor.fetch/github.com/k3s-io/spegel')
ERROR: Logfile of failure stored in:
/home/builder/src/base/repo/build/tmp_trs-qemuarm64/work/cortexa57-trs-linux/k3s/v1.31.1+k3s1+git452dbbc14c747a0070fdf007ef2239a6e5d8d934/temp/log.do_fetch.171833
NOTE: recipe k3s-v1.31.1+k3s1+git452dbbc14c747a0070fdf007ef2239a6e5d8d934-r0:
task do_fetch: Failed
ERROR: Task
(mc:trs-qemuarm64:/home/builder/src/base/repo/build/../meta-virtualization/recipes-containers/k3s/k3s_git.bb:do_fetch)
failed with exit code '1'
Commit f3d2c40723149dcefc9b219dddc5bdd44cff0874 has been removed from all
branches
and tags in https://github.com/spegel-org/spegel/ and its mirror
https://github.com/k3s-io/spegel/ . The commit is still there
https://github.com/spegel-org/spegel/commit/f3d2c40723149dcefc9b219dddc5bdd44cff0874
https://github.com/k3s-io/spegel/commit/f3d2c40723149dcefc9b219dddc5bdd44cff0874
so as workaround, it is possible to fetch this specific commit to yocto
download cache
manually:
$ cd build/downloads/git2/github.com.k3s-io.spegel
$ git fetch origin f3d2c40723149dcefc9b219dddc5bdd44cff0874
Then rebuild of k3s with bitbake will work.
I've reported this to upstream in
https://github.com/spegel-org/spegel/issues/697
Maybe fetching specific commits should be automatically tried? Or repos like
this
mirrored in yocto infra?
Cheers,
-Mikko
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9084):
https://lists.yoctoproject.org/g/meta-virtualization/message/9084
Mute This Topic: https://lists.yoctoproject.org/mt/110625130/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-