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

Latest code doesnt work for Linux Arm (32) #63

Open
jovezhong opened this issue Dec 15, 2023 · 0 comments
Open

Latest code doesnt work for Linux Arm (32) #63

jovezhong opened this issue Dec 15, 2023 · 0 comments

Comments

@jovezhong
Copy link
Collaborator

jovezhong commented Dec 15, 2023

Issue description

Tell us what should happen and what happens instead

I am trying to use the latest code to compile grafana plugin and got this error

github.com/timeplus-io/proton-go-driver/v2/lib/column

../../../go/pkg/mod/github.com/timeplus-io/proton-go-driver/[email protected]/lib/column/lowcardinality.go:219:31: math.MaxUint32 (untyped int constant 4294967295) overflows int

Okay, this only breaks trying to build for 32bit arm build for Linux, so very low impact

mage build:linuxARM

github.com/timeplus-io/proton-go-driver/v2/lib/column

../../../go/pkg/mod/github.com/timeplus-io/proton-go-driver/[email protected]/lib/column/lowcardinality.go:219:31: math.MaxUint32 (untyped int constant 4294967295) overflows int
Error: running "go build -o dist/gpx_timeplus_proton_linux_arm -ldflags -w -s -extldflags "-static" -X 'main.version=1.0.3' -X 'main.pluginID=timeplus-proton-datasource' -X 'main.branch=main' -X 'main.commit=332357085397ae262d07aaf1af2586c3bc420a18' -X 'github.com/grafana/grafana-plugin-sdk-go/build.buildInfoJSON={"time":1702602063444,"pluginID":"timeplus-proton-datasource","version":"1.0.3","repo":"https://github.com/timeplus-io/proton-grafana-source.git","branch":"main","hash":"332357085397ae262d07aaf1af2586c3bc420a18"}' ./pkg" failed with exit code 1

@jovezhong jovezhong changed the title Fail to use latest build Latest code doesn Dec 15, 2023
@jovezhong jovezhong changed the title Latest code doesn Latest code doesnt work for Linux Arm (32) Dec 15, 2023
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

1 participant