Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build on kali_linux Get too many errors #23670

Open
ULis3h opened this issue Aug 25, 2022 · 1 comment
Open

build on kali_linux Get too many errors #23670

ULis3h opened this issue Aug 25, 2022 · 1 comment

Comments

@ULis3h
Copy link

ULis3h commented Aug 25, 2022

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]

@krichter722
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants