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

Warn about build not supported on arm #24392

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

forest-code42
Copy link

@forest-code42 forest-code42 commented Sep 26, 2023

Closes #24312

This docker image only has an amd64 version: https://quay.io/repository/influxdb/cross-builder?tab=info

And there is no published Dockerfile for it.

There is no mention of how to compile on arm on the docs. There are open, reproducible issues w/ compiling influxdb on arm. Please save us some time and be upfront about requirements to build influxdb.

  • I've read the contributing section of the project README.

  • [] Signed CLA

    • I DON'T WANT TO REPRESENT MY EMPLOYER ON A CONTRACT LIKE THIS, THIS IS JUST A DOC FIX, CHILL

@forest-code42
Copy link
Author

forest-code42 commented Sep 26, 2023

If you want to reproduce this issue, see https://github.com/forest-code42/influxdb-issue-24312/tree/main

docker build --progress=plain . on an ARM machine (apple laptop here) to reproduce this issue. it fails at make with:

#25 40.20 + env GO111MODULE=on go build -tags sqlite_foreign_keys,sqlite_json,assets -ldflags  -X main.commit=407fa622e9 -X main.version=v2.7.1 -o bin/linux/influxd ./cmd/influxd
#25 40.76 # github.com/influxdata/flux
#25 40.76 /root/go/pkg/mod/github.com/influxdata/[email protected]/runtime.go:48:27: undefined: libflux.Options
#25 42.44 # github.com/influxdata/influxdb/v2/sqlite
#25 42.44 sqlite/sqlite.go:187:28: destSqliteConn.Backup undefined (type *sqlite3.SQLiteConn has no field or method Backup)
#25 50.83 make: *** [GNUmakefile:84: bin/linux/influxd] Error 1
#25 ERROR: executor failed running [/bin/sh -c export GOOS=linux &&     export GOARCH=amd64 &&     export GOEXPERIMENT=boringcrypto &&     uname -a && make  SHELL='sh -x']: exit code: 2

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

Successfully merging this pull request may close these issues.

1 participant