vesoft-inc / nebula-br

Backup and restore utility for Nebula Graph
Apache License 2.0
15 stars 11 forks source link

Raised error 2 while making #13

Open randomJoe211 opened 3 years ago

randomJoe211 commented 3 years ago

I cloned the repo and ran the make command, then error 2 was raised. What does this mean? Please take a look.

I have the latest go version 1.16.6.

image

$ make
go build -ldflags '-X github.com/vesoft-inc/nebula-br/pkg/version.GitSha=8e994dc -X github.com/vesoft-inc/nebula-br/pkg/version.GitRef=master' -o bin/br main.go
go: downloading github.com/olekukonko/tablewriter v0.0.5
go: downloading github.com/vesoft-inc/nebula-go/v2 v2.0.0-20210608032721-3e7bf449d35f
go: downloading golang.org/x/net v0.0.0-20201110031124-69a78807bb2b
go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
# runtime
/usr/local/go/src/runtime/mgcsweepbuf.go:87:80: memstats.gc_sys undefined (type mstats has no field or method gc_sys)
/usr/local/go/src/runtime/mgcsweepbuf.go:106:102: memstats.gc_sys undefined (type mstats has no field or method gc_sys)
make: *** [build] Error 2

$ bin/br version
-bash: bin/br: No such file or directory
linkensphere201 commented 3 years ago

maybe you can check this. it seems problem of a broken go environment.