You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, When i Build On Kali_linux ,I get some errors, please help me.
my OS info:
Linux kali 5.16.0-kali7-amd64 #1 SMP PREEMPT Debian 5.16.18-1kali1 (2022-04-01) x86_64 GNU/Linux
error info:
pkg/tracing/spancontext.go:16:23: cannot use &wire.SpanContext{…} (value of type *wire.SpanContext) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*wire.SpanContext does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
pkg/tracing/spancontext.go:24:31: cannot use &ws (value of type *wire.SpanContext) as type protoreflect.ProtoMessage in argument to proto.Unmarshal:
*wire.SpanContext does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
pkg/tracing/trace_encoding.go:80:23: cannot use &wt (value of type *wire.Trace) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*wire.Trace does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
pkg/tracing/trace_encoding.go:116:34: cannot use &wt (value of type *wire.Trace) as type protoreflect.ProtoMessage in argument to proto.Unmarshal:
*wire.Trace does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
github.com/influxdata/influxdb/v2/influxql/query
influxql/query/iterator.gen.go:2631:29: cannot use encodeFloatPoint(p) (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".Point) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".Point does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/iterator.gen.go:5295:29: cannot use encodeIntegerPoint(p) (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".Point) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".Point does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/iterator.gen.go:7959:29: cannot use encodeUnsignedPoint(p) (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".Point) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".Point does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/iterator.gen.go:10609:29: cannot use encodeStringPoint(p) (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".Point) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".Point does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/iterator.gen.go:13259:29: cannot use encodeBooleanPoint(p) (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".Point) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".Point does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/iterator.go:930:23: cannot use encodeIteratorOptions(opt) (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".IteratorOptions) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".IteratorOptions does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/iterator.go:936:33: cannot use &pb (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".IteratorOptions) as type protoreflect.ProtoMessage in argument to proto.Unmarshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".IteratorOptions does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/iterator.go:1357:28: cannot use &internal.Point{…} (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".Point) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".Point does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/point.gen.go:170:28: cannot use encodeFloatPoint(p) (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".Point) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".Point does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/point.gen.go:219:34: cannot use &pb (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".Point) as type protoreflect.ProtoMessage in argument to proto.Unmarshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".Point does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/point.gen.go:219:34: too many errors
make: *** [GNUmakefile:84:bin/linux/influxd]
The text was updated successfully, but these errors were encountered:
I got a similar set of errors on main-2.x on Ubuntu 23.10 because I used the wrong gvm(not the one linked in CONTRIBUTING.md, so yeah...). By using the correct https://github.com/moovweb/gvm and following CONTRIBUTING.md the build succeeds.
@ULis3h you might want to verify this and close the issue in case it is your problem as well.
Hello, When i Build On Kali_linux ,I get some errors, please help me.
my OS info:
Linux kali 5.16.0-kali7-amd64 #1 SMP PREEMPT Debian 5.16.18-1kali1 (2022-04-01) x86_64 GNU/Linux
go version:
go version go1.18.4 linux/amd64
steps:
1:git clone https://github.com/influxdata/influxdb.git
2:make
error info:
pkg/tracing/spancontext.go:16:23: cannot use &wire.SpanContext{…} (value of type *wire.SpanContext) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*wire.SpanContext does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
pkg/tracing/spancontext.go:24:31: cannot use &ws (value of type *wire.SpanContext) as type protoreflect.ProtoMessage in argument to proto.Unmarshal:
*wire.SpanContext does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
pkg/tracing/trace_encoding.go:80:23: cannot use &wt (value of type *wire.Trace) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*wire.Trace does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
pkg/tracing/trace_encoding.go:116:34: cannot use &wt (value of type *wire.Trace) as type protoreflect.ProtoMessage in argument to proto.Unmarshal:
*wire.Trace does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
github.com/influxdata/influxdb/v2/influxql/query
influxql/query/iterator.gen.go:2631:29: cannot use encodeFloatPoint(p) (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".Point) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".Point does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/iterator.gen.go:5295:29: cannot use encodeIntegerPoint(p) (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".Point) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".Point does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/iterator.gen.go:7959:29: cannot use encodeUnsignedPoint(p) (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".Point) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".Point does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/iterator.gen.go:10609:29: cannot use encodeStringPoint(p) (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".Point) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".Point does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/iterator.gen.go:13259:29: cannot use encodeBooleanPoint(p) (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".Point) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".Point does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/iterator.go:930:23: cannot use encodeIteratorOptions(opt) (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".IteratorOptions) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".IteratorOptions does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/iterator.go:936:33: cannot use &pb (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".IteratorOptions) as type protoreflect.ProtoMessage in argument to proto.Unmarshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".IteratorOptions does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/iterator.go:1357:28: cannot use &internal.Point{…} (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".Point) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".Point does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/point.gen.go:170:28: cannot use encodeFloatPoint(p) (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".Point) as type protoreflect.ProtoMessage in argument to proto.Marshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".Point does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/point.gen.go:219:34: cannot use &pb (value of type *"github.com/influxdata/influxdb/v2/influxql/query/internal".Point) as type protoreflect.ProtoMessage in argument to proto.Unmarshal:
*"github.com/influxdata/influxdb/v2/influxql/query/internal".Point does not implement protoreflect.ProtoMessage (missing ProtoReflect method)
influxql/query/point.gen.go:219:34: too many errors
make: *** [GNUmakefile:84:bin/linux/influxd]
The text was updated successfully, but these errors were encountered: