Shengjing Zhu <zhsj@debian.org> writes: > On Thu, Oct 10, 2024 at 3:21 PM Simon Josefsson <simon@josefsson.org> wrote: >> >> Hi >> >> Upstream 'sigsum-go' now depends on golang-1.22, how would I express >> this in debian/control? >> >> Build-Depends: >> debhelper-compat (= 13), >> dh-golang, >> - golang-any, >> + golang-any (>= 2:1.22~) >> >> Is that recommended? I couldn't find any other golang packages with >> similar golang version dependency. >> > > Yes. > > Though unfortunately gccgo stops updating at 1.18. So on architectures > that don't have golang-go, you can only get gccgo that is not > compatible with go 1.22. Thanks for confirming -- I tried this route and it appeared to have worked. I'm still surprised to not have seen this pattern before though, but perhaps only very few Go>=1.22 packages are backported. https://tracker.debian.org/pkg/sigsum-go /Simon >> Is this sufficient to get a bookworm-backport upload working? That is, >> will the buildd's install golang-any 1.22 from bookworm-backports, >> instead of the old golang 1.19 in bookworm? Or do I have to do anything >> more to get that? >> >> /Simon
Attachment:
signature.asc
Description: PGP signature