Hi Christian, I really want to use this so I cloned your repository and tried to run it. I wasn’t able to get it to build. Here is my version of your repository: forest/influxdb2-armv7: Mirror of https://bitbucket.org/choekstra/influxdb2-linux-arm/src/master/ - influxdb2-armv7 - SequentialRead Git
At first I ran into an issue with the old debian docker image that you were using, apt-get
would not install anything:
I would put the log output here but for some reason
my terminals scrollback is broken and I cant access it :cry:
Then I ran into what appeared to be go version issues from packages that had been updated and now require a newer version of go:
I would put the log output here but for some reason
my terminals scrollback is broken and I cant access it :cry:
Then finally, the last straw, I ran into compilation issues for which there is not much available information online:
[i] Starting generation of prerequisites...
[✗] Error message: Failed to generate prerequisites!
Cloning into 'openapi'...
go generate -tags 'sqlite_foreign_keys,sqlite_json,assets' ./static
env GO111MODULE=on go install -tags 'sqlite_foreign_keys,sqlite_json,assets' -ldflags " -X main.commit=657e183 -X main.version=v2.1.1" github.com/gogo/protobuf/protoc-gen-gogo
env GO111MODULE=on go install -tags 'sqlite_foreign_keys,sqlite_json,assets' -ldflags " -X main.commit=657e183 -X main.version=v2.1.1" github.com/gogo/protobuf/protoc-gen-gogofaster
env GO111MODULE=on go install -tags 'sqlite_foreign_keys,sqlite_json,assets' -ldflags " -X main.commit=657e183 -X main.version=v2.1.1" github.com/benbjohnson/tmpl
env GO111MODULE=on go install -tags 'sqlite_foreign_keys,sqlite_json,assets' -ldflags " -X main.commit=657e183 -X main.version=v2.1.1" golang.org/x/tools/cmd/stringer
env GO111MODULE=on go install -tags 'sqlite_foreign_keys,sqlite_json,assets' -ldflags " -X main.commit=657e183 -X main.version=v2.1.1" golang.org/x/tools/cmd/goimports
go generate -tags 'sqlite_foreign_keys,sqlite_json,assets' ./influxql/... ./models/... ./pkg/... ./storage/... ./tsdb/... ./v1/...
stringer: internal error: package "errors" without types was imported from "github.com/influxdata/influxdb/v2/models"
models/gen.go:3: running "stringer": exit status 1
stringer: internal error: package "runtime" without types was imported from "github.com/influxdata/flux/libflux/go/libflux"
pkg/data/gen/gen.go:4: running "stringer": exit status 1
stringer: internal error: package "context" without types was imported from "github.com/influxdata/influxdb/v2/tsdb/cursors"
tsdb/cursors/gen.go:4: running "stringer": exit status 1
make: *** [Makefile:128: generate-sources] Error 1
Nov 08, 2023 01:20:19 AM CET - ERROR: Unable to make generate
This appears to be the same issue mentioned here: Can't build on s390x: stringer returning error · Issue #24363 · influxdata/influxdb · GitHub