Re: [meta-virtualization] k3s spegel download failure

2025-01-15 Thread Bruce Ashfield via lists.yoctoproject.org
I had run into this as well, and updated k3s past the issue .. but
unfortunately oe-core's go is to old at the moment, so the update can't be
pushed.

I'm glad it resolved this way though, since I was stuck without a great
solution.

Bruce

On Wed, Jan 15, 2025 at 6:18 AM Mikko Rapeli via lists.yoctoproject.org
 wrote:

> Hi,
>
> On Wed, Jan 15, 2025 at 12:39:30PM +0200, Mikko Rapeli via
> lists.yoctoproject.org wrote:
> > I've reported this to upstream in
> https://github.com/spegel-org/spegel/issues/697
>
> Upstream developers pushed the commit under a tag and issue is fixed.
>
> Cheers,
>
> -Mikko
>
> 
>
>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9088): 
https://lists.yoctoproject.org/g/meta-virtualization/message/9088
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]]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [meta-virtualization] k3s spegel download failure

2025-01-15 Thread Mikko Rapeli via lists.yoctoproject.org
Hi,

On Wed, Jan 15, 2025 at 12:39:30PM +0200, Mikko Rapeli via 
lists.yoctoproject.org wrote:
> I've reported this to upstream in 
> https://github.com/spegel-org/spegel/issues/697

Upstream developers pushed the commit under a tag and issue is fixed.

Cheers,

-Mikko

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9085): 
https://lists.yoctoproject.org/g/meta-virtualization/message/9085
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]]
-=-=-=-=-=-=-=-=-=-=-=-



[meta-virtualization] k3s spegel download failure

2025-01-15 Thread Mikko Rapeli via lists.yoctoproject.org
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]]
-=-=-=-=-=-=-=-=-=-=-=-