On Sun, Feb 22, 2026 at 1:17 AM Drew Parsons <[email protected]> wrote:
>
> Package: golang-gopkg-yaml.v2-dev
> Version: 2.4.3-1
> Severity: important
>
> golang-gopkg-yaml.v2-dev installs its gocode into
> /usr/share/gocode/src/go.yaml.in/yaml/v2
>
> But packages (such as rclone 1.65.0) seem to be expecting to find the
> code in yaml.v2 not yaml/v2.
>

Please be aware of the difference between the domain of gopkg.in
domain vs go.yaml.in.

go.yaml.in forks from gopkg.in, they even have different Github repo,
github.com/go-yaml/yaml vs github.com/yaml/go-yaml. Yeah, they are
confusing...

Looks like Arthur wanted to package the new fork, but updated the
existing old package and reused the old package name. Ref:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1111128

> cf. golang-gopkg-validator.v2-dev, which installs into validator.v2
> not validator/v2
>
> It looks like there should be a compatibility link generated by debian/links.
> https://salsa.debian.org/go-team/packages/golang-yaml.v2/-/commit/15b38821bfe8587b0550f5bf185e36499455f01b
>
> It should have come with 2.4.2-1.
> Looks like something's gone wrong with the link in 2.4.3-1

The link is still in 2.4.3-1

$ ls -l usr/share/gocode/src/gopkg.in/yaml.v2
lrwxrwxrwx 1 zsj zsj 21 Nov  3 22:46
usr/share/gocode/src/gopkg.in/yaml.v2 -> ../go.yaml.in/yaml/v2

It looks valid. I'm not sure why rclone fails to build with that.
Could you show more logs?
Anyway this is just a hack with the old GOPATH build mode and may stop working.

-- 
Shengjing Zhu

Reply via email to