Re: grpc transition
- To: Simon Josefsson <simon@josefsson.org>
- Cc: debian-go@lists.debian.org
- Subject: Re: grpc transition
- From: Maytham Alsudany <maytha8thedev@gmail.com>
- Date: Sun, 24 Mar 2024 16:10:10 +0800
- Message-id: <[🔎] d7079057707399935d19d5747f7c9528916d7283.camel@gmail.com>
- In-reply-to: <874je57e58.fsf@kaka.sjd.se>
- References: <893789c60bd416854e5a412ff40aad520692c732.camel@gmail.com> <20231223154633.rfogpyij6zweltxq@office.mailbox.org> <92f3b5d96f848d6f99b19382a8baace77035db49.camel@gmail.com> <20231225055553.delituix7i3edsvv@office.mailbox.org> <CAFyCLW8bZJBzoRw6bh-iW17_cbZdr7cXO6Bc6e44MtePHUow8g@mail.gmail.com> <87ttna9v17.fsf@kaka.sjd.se> <87y1cl62yi.fsf@kaka.sjd.se> <87ttn5xjr4.fsf@kaka.sjd.se> <87ttmde6of.fsf@kaka.sjd.se> <87h6i8pk42.fsf@kaka.sjd.se> <b309f9b5e0efabb61c28322f91a96a2423a5c08f.camel@debian.org> <CAFyCLW8VTpEjL_o5o1iyinxTL2-0VjcPftmX7NCekFfGnnM1Bg@mail.gmail.com> <874je57e58.fsf@kaka.sjd.se>
Hi Simon,
On Sun, 2024-02-18 at 20:42 +0100, Simon Josefsson wrote:
> Shengjing Zhu <zhsj@debian.org> writes:
>
> > My last attempt for the grpc-go transition is stuck at the protobuf things.
> > One thing that might help is gprc-go is finally going to use the new
> > protobuf library, https://github.com/grpc/grpc-go/pull/6961
> > So we could decouple the grpc-go transition from the protobuf things.
>
> Are you saying we should apply that patch to grpc-go and upload to
> experimental, and hope that will help resolve the FTBFS in reverse
> dependencies? Do we need to change some Build-Depends as well? It
> seems grpc 1.60 has these proto-related Build-Depends:
>
> golang-github-golang-protobuf-1-5-dev,
> golang-google-genproto-dev,
> golang-google-protobuf-dev,
> protobuf-compiler (>= 3.11.4~),
> protoc-gen-go,
This patch (which is now merged and included in >=1.62.0) just removes the requirement for the
legacy golang-github-golang-protobuf-1-5-dev dependency. This should fix dependency problems where
there was conflict between the 1-5 and 1-3 variations.
> Not all FTBFS errors seems related to protobuf, any ideas on the error
> below? Or is this a protobuf related error?
This error is due to outdated golang-google-genproto package, which itself is a whole other rabbit
hole (involving cyclical dependencies).
> https://ci.debian.net/packages/g/golang-github-sercand-kuberesolver/unstable/amd64/42994661/
>
> 44s github.com/sercand/kuberesolver
> 44s # github.com/sercand/kuberesolver
> 44s src/github.com/sercand/kuberesolver/builder.go:79:23: target.Authority undefined (type resolver.Target has no field or method Authority)
> 44s src/github.com/sercand/kuberesolver/builder.go:81:12: invalid operation: end == "" (mismatched types func() string and untyped string)
> 44s src/github.com/sercand/kuberesolver/builder.go:82:16: target.Authority undefined (type resolver.Target has no field or method Authority)
> 44s src/github.com/sercand/kuberesolver/builder.go:86:12: invalid operation: end == "" (mismatched types func() string and untyped string)
> 44s src/github.com/sercand/kuberesolver/builder.go:91:23: cannot use end (variable of type func() string) as string value in argument to strings.LastIndex
> 44s src/github.com/sercand/kuberesolver/builder.go:92:10: cannot use end (variable of type func() string) as string value in assignment
> 44s src/github.com/sercand/kuberesolver/builder.go:97:39: cannot use end (variable of type func() string) as string value in argument to net.SplitHostPort
> 44s src/github.com/sercand/kuberesolver/builder.go:226:5: unknown field Type in struct literal of type resolver.Address
> 44s src/github.com/sercand/kuberesolver/builder.go:226:26: undefined: resolver.Backend
Kind regards,
Maytham
Reply to: