Hi Bruce,

Whilst investigating a build problem on our CI related to sstate mirror of the 
k3s recipe, I found that the commit "k3s: update to 1.23.1" 
(8cba065209dd668afe939f878da340a017ecdd7d) didn't change the PV and SRCREV_k3s 
variables correctly.

I changed those values to v1.23.1+k3s1 and 
08d538fb3a04a0fe904b34cf04f7e21191b82449 respectively and now I'm getting the 
following do_compile error:
```
go: inconsistent vendoring in 
/kas_build_dir/tmp/work/neoversen1-poky-linux/k3s/v1.23.3+k3s1-r0/k3s-v1.23.3+k3s1/src/import:
    github.com/google/cadvisor@v0.43.0: is explicitly required in go.mod, but 
not marked as explicit in vendor/modules.txt
[...]
    k8s.io/sample-controller: is marked as replaced by 
github.com/k3s-io/kubernetes/staging/src/k8s.io/sample-controller@v1.22.6-k3s1 
in vendor/modules.txt, but replaced by 
github.com/k3s-io/kubernetes/staging/src/k8s.io/sample-controller@v1.23.3-k3s1 
in go.mod

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
```

Unfortunately, I have zero knowledge in go and I have no idea how I could fix 
this.



Diego Sueiro
Staff Software Developer – ARM – Automotive and Industrial Solutions (CE-OSS)
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7120): 
https://lists.yoctoproject.org/g/meta-virtualization/message/7120
Mute This Topic: https://lists.yoctoproject.org/mt/90158338/21656
Group Owner: meta-virtualization+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to