On Fri, Oct 30, 2020 at 5:23 PM Pirate Praveen <[email protected]> wrote: > > Hi go team, > > Can someone try to build gitlab-shell buster-backports branch? it fails > with > # gitlab.com/gitlab-org/gitlab-shell/client > src/gitlab.com/gitlab-org/gitlab-shell/client/gitlabnet.go:82:18: > undefined: http.NewRequestWithContext >
It's a go1.13 feature https://github.com/golang/go/commit/f5c43b919499899fe006896643bbfebbea9d1995 > I tried building with newer golang-golang-x-net-dev as well as > golang-any 1:1.14 but still fails with same error. > > I suspect this could be related to version of golang, in > unstable/testing it is 1.15 so we may need the newer golang version. > Can someone confirm if this is indeed the case? If yes, do we plan to > backport golang 1.15? I can also help with backporting. > I think it has happened before? The aptitude resolver has a problem in -backports to pick up gccgo rather than golang-go. gccgo in buster only implements go1.10 -- Shengjing Zhu
