[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Coordingating/planning various golang transitions



On Thu, 2024-07-25 at 06:33 +0000, Mathias Gibbens wrote:
> >   I won't keep spamming the mailing list with updates, unless needed
> > for some reason. Interested parties can follow progress on the
> > etherpad: https://pad.dc24.debconf.org/p/go-team-sprint.

  A quick post-lunch update --

  Things are moving along pretty smoothly so far. The biggest hiccup
has been etcd; the old-ish version from experimental is FTBFS due to
protobuf compile errors (attached). I also did a quick-and-dirty
attempt at packaging the latest version of etcd which appears to have
all the necessary dependencies available in unstable but encounters a
different set of protobuf errors (also attached). Not sure if we want
to try to push through with the latest and greatest, or figure out how
to get the current version of etcd happy.

Mathias
# go.etcd.io/etcd/etcdserver/etcdserverpb/gw
src/go.etcd.io/etcd/etcdserver/etcdserverpb/gw/rpc.pb.gw.go:715:50: not enough arguments in call to runtime.AnnotateContext
	have ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request)
	want ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request, string, ..."github.com/grpc-ecosystem/grpc-gateway/runtime".AnnotateContextOption)
src/go.etcd.io/etcd/etcdserver/etcdserverpb/gw/rpc.pb.gw.go:727:59: cannot use resp (variable of type protoiface.MessageV1) as protoreflect.ProtoMessage value in argument to forward_KV_Range_0: protoiface.MessageV1 does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
src/go.etcd.io/etcd/etcdserver/etcdserverpb/gw/rpc.pb.gw.go:744:50: not enough arguments in call to runtime.AnnotateContext
	have ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request)
	want ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request, string, ..."github.com/grpc-ecosystem/grpc-gateway/runtime".AnnotateContextOption)
src/go.etcd.io/etcd/etcdserver/etcdserverpb/gw/rpc.pb.gw.go:756:57: cannot use resp (variable of type protoiface.MessageV1) as protoreflect.ProtoMessage value in argument to forward_KV_Put_0: protoiface.MessageV1 does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
src/go.etcd.io/etcd/etcdserver/etcdserverpb/gw/rpc.pb.gw.go:773:50: not enough arguments in call to runtime.AnnotateContext
	have ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request)
	want ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request, string, ..."github.com/grpc-ecosystem/grpc-gateway/runtime".AnnotateContextOption)
src/go.etcd.io/etcd/etcdserver/etcdserverpb/gw/rpc.pb.gw.go:785:65: cannot use resp (variable of type protoiface.MessageV1) as protoreflect.ProtoMessage value in argument to forward_KV_DeleteRange_0: protoiface.MessageV1 does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
src/go.etcd.io/etcd/etcdserver/etcdserverpb/gw/rpc.pb.gw.go:802:50: not enough arguments in call to runtime.AnnotateContext
	have ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request)
	want ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request, string, ..."github.com/grpc-ecosystem/grpc-gateway/runtime".AnnotateContextOption)
src/go.etcd.io/etcd/etcdserver/etcdserverpb/gw/rpc.pb.gw.go:814:57: cannot use resp (variable of type protoiface.MessageV1) as protoreflect.ProtoMessage value in argument to forward_KV_Txn_0: protoiface.MessageV1 does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
src/go.etcd.io/etcd/etcdserver/etcdserverpb/gw/rpc.pb.gw.go:831:50: not enough arguments in call to runtime.AnnotateContext
	have ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request)
	want ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request, string, ..."github.com/grpc-ecosystem/grpc-gateway/runtime".AnnotateContextOption)
src/go.etcd.io/etcd/etcdserver/etcdserverpb/gw/rpc.pb.gw.go:843:61: cannot use resp (variable of type protoiface.MessageV1) as protoreflect.ProtoMessage value in argument to forward_KV_Compact_0: protoiface.MessageV1 does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
src/go.etcd.io/etcd/etcdserver/etcdserverpb/gw/rpc.pb.gw.go:843:61: too many errors
go.etcd.io/etcd/lease
go.etcd.io/etcd/etcdserver/api/v3lock/v3lockpb/gw
go.etcd.io/etcd/etcdserver/api/v3election/v3electionpb/gw
go.etcd.io/etcd/proxy/grpcproxy/adapter
# go.etcd.io/etcd/etcdserver/api/v3lock/v3lockpb/gw
src/go.etcd.io/etcd/etcdserver/api/v3lock/v3lockpb/gw/v3lock.pb.gw.go:109:50: not enough arguments in call to runtime.AnnotateContext
	have ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request)
	want ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request, string, ..."github.com/grpc-ecosystem/grpc-gateway/runtime".AnnotateContextOption)
src/go.etcd.io/etcd/etcdserver/api/v3lock/v3lockpb/gw/v3lock.pb.gw.go:121:60: cannot use resp (variable of type protoiface.MessageV1) as protoreflect.ProtoMessage value in argument to forward_Lock_Lock_0: protoiface.MessageV1 does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
src/go.etcd.io/etcd/etcdserver/api/v3lock/v3lockpb/gw/v3lock.pb.gw.go:138:50: not enough arguments in call to runtime.AnnotateContext
	have ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request)
	want ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request, string, ..."github.com/grpc-ecosystem/grpc-gateway/runtime".AnnotateContextOption)
src/go.etcd.io/etcd/etcdserver/api/v3lock/v3lockpb/gw/v3lock.pb.gw.go:150:62: cannot use resp (variable of type protoiface.MessageV1) as protoreflect.ProtoMessage value in argument to forward_Lock_Unlock_0: protoiface.MessageV1 does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
# go.etcd.io/etcd/etcdserver/api/v3election/v3electionpb/gw
src/go.etcd.io/etcd/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:156:50: not enough arguments in call to runtime.AnnotateContext
	have ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request)
	want ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request, string, ..."github.com/grpc-ecosystem/grpc-gateway/runtime".AnnotateContextOption)
src/go.etcd.io/etcd/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:168:68: cannot use resp (variable of type protoiface.MessageV1) as protoreflect.ProtoMessage value in argument to forward_Election_Campaign_0: protoiface.MessageV1 does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
src/go.etcd.io/etcd/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:185:50: not enough arguments in call to runtime.AnnotateContext
	have ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request)
	want ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request, string, ..."github.com/grpc-ecosystem/grpc-gateway/runtime".AnnotateContextOption)
src/go.etcd.io/etcd/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:197:68: cannot use resp (variable of type protoiface.MessageV1) as protoreflect.ProtoMessage value in argument to forward_Election_Proclaim_0: protoiface.MessageV1 does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
src/go.etcd.io/etcd/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:214:50: not enough arguments in call to runtime.AnnotateContext
	have ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request)
	want ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request, string, ..."github.com/grpc-ecosystem/grpc-gateway/runtime".AnnotateContextOption)
src/go.etcd.io/etcd/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:226:66: cannot use resp (variable of type protoiface.MessageV1) as protoreflect.ProtoMessage value in argument to forward_Election_Leader_0: protoiface.MessageV1 does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
src/go.etcd.io/etcd/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:243:50: not enough arguments in call to runtime.AnnotateContext
	have ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request)
	want ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request, string, ..."github.com/grpc-ecosystem/grpc-gateway/runtime".AnnotateContextOption)
src/go.etcd.io/etcd/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:255:67: cannot use func() (proto.Message, error) {…} (value of type func() (protoiface.MessageV1, error)) as func() (protoreflect.ProtoMessage, error) value in argument to forward_Election_Observe_0
src/go.etcd.io/etcd/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:272:50: not enough arguments in call to runtime.AnnotateContext
	have ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request)
	want ("context".Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request, string, ..."github.com/grpc-ecosystem/grpc-gateway/runtime".AnnotateContextOption)
src/go.etcd.io/etcd/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:284:66: cannot use resp (variable of type protoiface.MessageV1) as protoreflect.ProtoMessage value in argument to forward_Election_Resign_0: protoiface.MessageV1 does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
src/go.etcd.io/etcd/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:284:66: too many errors
# go.etcd.io/etcd/api/etcdserverpb/gw
src/go.etcd.io/etcd/api/etcdserverpb/gw/rpc.pb.gw.go:2589:125: too many arguments in call to runtime.NewPattern
	have (number, []int, []string, string, unknown type)
	want (int, []int, []string, string)
src/go.etcd.io/etcd/api/etcdserverpb/gw/rpc.pb.gw.go:2589:133: undefined: runtime.AssumeColonVerbOpt
src/go.etcd.io/etcd/api/etcdserverpb/gw/rpc.pb.gw.go:2591:121: too many arguments in call to runtime.NewPattern
	have (number, []int, []string, string, unknown type)
	want (int, []int, []string, string)
src/go.etcd.io/etcd/api/etcdserverpb/gw/rpc.pb.gw.go:2591:129: undefined: runtime.AssumeColonVerbOpt
src/go.etcd.io/etcd/api/etcdserverpb/gw/rpc.pb.gw.go:2593:137: too many arguments in call to runtime.NewPattern
	have (number, []int, []string, string, unknown type)
	want (int, []int, []string, string)
src/go.etcd.io/etcd/api/etcdserverpb/gw/rpc.pb.gw.go:2593:145: undefined: runtime.AssumeColonVerbOpt
src/go.etcd.io/etcd/api/etcdserverpb/gw/rpc.pb.gw.go:2595:121: too many arguments in call to runtime.NewPattern
	have (number, []int, []string, string, unknown type)
	want (int, []int, []string, string)
src/go.etcd.io/etcd/api/etcdserverpb/gw/rpc.pb.gw.go:2595:129: undefined: runtime.AssumeColonVerbOpt
src/go.etcd.io/etcd/api/etcdserverpb/gw/rpc.pb.gw.go:2597:132: too many arguments in call to runtime.NewPattern
	have (number, []int, []string, string, unknown type)
	want (int, []int, []string, string)
src/go.etcd.io/etcd/api/etcdserverpb/gw/rpc.pb.gw.go:2597:140: undefined: runtime.AssumeColonVerbOpt
src/go.etcd.io/etcd/api/etcdserverpb/gw/rpc.pb.gw.go:2597:132: too many errors
go.etcd.io/etcd/server/lease
go.etcd.io/etcd/server/etcdserver/api/v3lock/v3lockpb/gw
# go.etcd.io/etcd/server/etcdserver/api/v3lock/v3lockpb/gw
src/go.etcd.io/etcd/server/etcdserver/api/v3lock/v3lockpb/gw/v3lock.pb.gw.go:112:58: not enough arguments in call to runtime.AnnotateIncomingContext
	have (context.Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request)
	want (context.Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request, string, ..."github.com/grpc-ecosystem/grpc-gateway/runtime".AnnotateContextOption)
src/go.etcd.io/etcd/server/etcdserver/api/v3lock/v3lockpb/gw/v3lock.pb.gw.go:124:60: cannot use resp (variable of type protoiface.MessageV1) as protoreflect.ProtoMessage value in argument to forward_Lock_Lock_0: protoiface.MessageV1 does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
src/go.etcd.io/etcd/server/etcdserver/api/v3lock/v3lockpb/gw/v3lock.pb.gw.go:132:58: not enough arguments in call to runtime.AnnotateIncomingContext
	have (context.Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request)
	want (context.Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request, string, ..."github.com/grpc-ecosystem/grpc-gateway/runtime".AnnotateContextOption)
src/go.etcd.io/etcd/server/etcdserver/api/v3lock/v3lockpb/gw/v3lock.pb.gw.go:144:62: cannot use resp (variable of type protoiface.MessageV1) as protoreflect.ProtoMessage value in argument to forward_Lock_Unlock_0: protoiface.MessageV1 does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
src/go.etcd.io/etcd/server/etcdserver/api/v3lock/v3lockpb/gw/v3lock.pb.gw.go:193:50: not enough arguments in call to runtime.AnnotateContext
	have (context.Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request)
	want (context.Context, *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux, *http.Request, string, ..."github.com/grpc-ecosystem/grpc-gateway/runtime".AnnotateContextOption)
src/go.etcd.io/etcd/server/etcdserver/api/v3lock/v3lockpb/gw/v3lock.pb.gw.go:205:60: cannot use resp (variable of type protoiface.MessageV1) as protoreflect.ProtoMessage value in argument to forward_Lock_Lock_0: protoiface.MessageV1 does not implement protoreflect.ProtoMessage (missing method ProtoReflect)
src/go.etcd.io/etcd/server/etcdserver/api/v3lock/v3lockpb/gw/v3lock.pb.gw.go:233:119: too many arguments in call to runtime.NewPattern
	have (number, []int, []string, string, unknown type)
	want (int, []int, []string, string)
src/go.etcd.io/etcd/server/etcdserver/api/v3lock/v3lockpb/gw/v3lock.pb.gw.go:233:127: undefined: runtime.AssumeColonVerbOpt
src/go.etcd.io/etcd/server/etcdserver/api/v3lock/v3lockpb/gw/v3lock.pb.gw.go:235:131: too many arguments in call to runtime.NewPattern
	have (number, []int, []string, string, unknown type)
	want (int, []int, []string, string)
src/go.etcd.io/etcd/server/etcdserver/api/v3lock/v3lockpb/gw/v3lock.pb.gw.go:235:139: undefined: runtime.AssumeColonVerbOpt
src/go.etcd.io/etcd/server/etcdserver/api/v3lock/v3lockpb/gw/v3lock.pb.gw.go:205:60: too many errors
go.etcd.io/etcd/server/lease/leasehttp
go.etcd.io/etcd/server/etcdserver/api/v3election/v3electionpb/gw
go.etcd.io/etcd/server/proxy/grpcproxy/adapter
# go.etcd.io/etcd/server/etcdserver/api/v3election/v3electionpb/gw
src/go.etcd.io/etcd/server/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:433:143: too many arguments in call to runtime.NewPattern
	have (number, []int, []string, string, unknown type)
	want (int, []int, []string, string)
src/go.etcd.io/etcd/server/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:433:151: undefined: runtime.AssumeColonVerbOpt
src/go.etcd.io/etcd/server/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:435:143: too many arguments in call to runtime.NewPattern
	have (number, []int, []string, string, unknown type)
	want (int, []int, []string, string)
src/go.etcd.io/etcd/server/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:435:151: undefined: runtime.AssumeColonVerbOpt
src/go.etcd.io/etcd/server/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:437:139: too many arguments in call to runtime.NewPattern
	have (number, []int, []string, string, unknown type)
	want (int, []int, []string, string)
src/go.etcd.io/etcd/server/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:437:147: undefined: runtime.AssumeColonVerbOpt
src/go.etcd.io/etcd/server/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:439:141: too many arguments in call to runtime.NewPattern
	have (number, []int, []string, string, unknown type)
	want (int, []int, []string, string)
src/go.etcd.io/etcd/server/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:439:149: undefined: runtime.AssumeColonVerbOpt
src/go.etcd.io/etcd/server/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:441:139: too many arguments in call to runtime.NewPattern
	have (number, []int, []string, string, unknown type)
	want (int, []int, []string, string)
src/go.etcd.io/etcd/server/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:441:147: undefined: runtime.AssumeColonVerbOpt
src/go.etcd.io/etcd/server/etcdserver/api/v3election/v3electionpb/gw/v3election.pb.gw.go:441:139: too many errors

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: