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

Failing unit tests on i686 architecture (RISC-V): constant ... overflows int #173

Open
Hellseher opened this issue Apr 14, 2024 · 0 comments

Comments

@Hellseher
Copy link

Hi,

During package review requiring to update Kubo (IPfs) in Guix, I've faced with
an issue when I try to build github.com/francoispqt/gojay@1.2.13 on i686-linux machine:

# github.com/francoispqt/gojay [github.com/francoispqt/gojay.test]
src/github.com/francoispqt/gojay/decode_array_test.go:32:43: constant 43567788543 overflows int
src/github.com/francoispqt/gojay/decode_array_test.go:37:43: constant 43567788543 overflows int
src/github.com/francoispqt/gojay/decode_array_test.go:53:43: constant 43567788543 overflows int
src/github.com/francoispqt/gojay/decode_array_test.go:58:43: constant 43567788543 overflows int
src/github.com/francoispqt/gojay/decode_array_test.go:65:43: constant 43567788543 overflows int
src/github.com/francoispqt/gojay/decode_number_int_test.go:71:4: constant 9223372036854775807 overflows int
src/github.com/francoispqt/gojay/decode_number_int_test.go:139:4: constant 50100000000 overflows int
src/github.com/francoispqt/gojay/decode_number_int_test.go:373:4: constant 9223372036854775807 overflows int
src/github.com/francoispqt/gojay/decode_number_int_test.go:441:4: constant 50100000000 overflows int
src/github.com/francoispqt/gojay/encode_number_test.go:32:16: constant 9223372036854775807 overflows int
src/github.com/francoispqt/gojay/encode_number_test.go:32:16: too many errors
FAIL    github.com/francoispqt/gojay [build failed]
FAIL

To reproduce the issue:

guix time-machine --commit=42b4580f6bfcaab009a56e679bd6f3c408ef03c9 -- \
    build --system=i686-linux go-github-com-francoispqt-gojay

Thanks,
Oleg

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