On Sat, Jan 18, 2025 at 2:14 PM Maytham Alsudany <maytha8the...@gmail.com> wrote: > > Hi Simon, > > On Fri, 2025-01-17 at 22:39 +0100, Simon Josefsson wrote: > > I am looking into packaging modern 'gitlab-runner' and one of my build > > errors are: > > > > src/gitlab.com/gitlab-org/gitlab-runner/cache/azure/azure.go:10:2: cannot > > find package "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" in any > > of: > > > > /usr/lib/go-1.23/src/github.com/Azure/azure-sdk-for-go/sdk/azcore/policy > > (from $GOROOT) > > > > /build/gitlab-runner-17.8.0/_build/src/github.com/Azure/azure-sdk-for-go/sdk/azcore/policy > > (from $GOPATH) > > > > We already have this package: > > > > https://tracker.debian.org/pkg/golang-github-azure-azure-sdk-for-go > > > > And it is the latest version. However upstream seems to follow some > > kind of multi-project release model, so the 'sdk/azcore/' path does not > > exist in the 'v68.0' tag: > > > > https://github.com/Azure/azure-sdk-for-go/tree/v68.0.0 > > > > How is this supposed to work? How can we add the sdk/azcore/ > > sub-directory to golang-github-azure-azure-sdk-for-go-dev? > > I've already staged a new version of golang-github-azure-azure-sdk-for- > go on the debian/experimental branch of its Salsa repo, but it still > hasn't been uploaded for about a year now[1]. This should fix the > problem once uploaded. >
Have you see that last comment at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059083#41 In short, just leave the old package as is, and create a new source package called golang-github-azure-azure-sdk-for-go-sdk which wouldn't conflict the legacy package. -- Shengjing Zhu