Open kalj opened 3 years ago
Hello,
It looks like the last commit (which introduced the progressbar), causes the issue you have.
Could you try to build from the previous commit ?
git checkout HEAD~1
dep ensure
go build -o infix
Tried that, then I instead got:
go: inconsistent vendoring in /go/src/github.com/Abc-Arbitrage/infix:
collectd.org@v0.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/RoaringBitmap/roaring@v0.4.23: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/bmizerany/pat@v0.0.0-20170815010413-6226ea591a40: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/cespare/xxhash@v1.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/dgryski/go-bits@v0.0.0-20180113010104-bd8a69a71dc2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/dgryski/go-bitstream@v0.0.0-20180413035011-3522498ce2c8: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/glycerine/go-unsnap-stream@v0.0.0-20190901134440-81cf024a9e0a: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/gogo/protobuf@v1.3.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/golang/snappy@v0.0.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/google/go-cmp@v0.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/influxdata/influxdb@v1.5.5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/influxdata/influxql@v1.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/influxdata/usage-client@v0.0.0-20160829180054-6d3895376368: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/influxdata/yamux@v0.0.0-20171107173414-1f58ded512de: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/influxdata/yarpc@v0.0.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/jsternberg/zap-logfmt@v1.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/jwilder/encoding@v0.0.0-20170811194829-b4e1701a28ef: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/kylelemons/godebug@v1.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/mattn/go-isatty@v0.0.12: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/mschoch/smat@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/naoina/go-stringutil@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/naoina/toml@v0.1.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/opentracing/opentracing-go@v1.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/prometheus/client_golang@v1.8.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/stretchr/testify@v1.5.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/tinylib/msgp@v1.1.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/xlab/treeprint@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
go.uber.org/zap@v1.14.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/sync@v0.0.0-20200317015054-43a5402ce75a: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
run 'go mod vendor' to sync, or use -mod=mod or -mod=readonly to ignore the vendor directory
I then added the suggested RUN go mod vendor
before the build command and then it worked! I am a go noob, so that didn't make any sense to me. Why was this needed?
I'm not quite sure, it looks like there is still ongoing work with go modules and I'm not sure why vendoring is enabled here.
When you run go mod vendor
, does it work on HEAD
(top master) ?
I am trying to build this for running on a raspberry pi 3, but I get the following errors:
Any clue what can be the problem?