-
Notifications
You must be signed in to change notification settings - Fork 321
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
aeson-2.1.2.1 test suite fails on 32bit/i686 #1060
Comments
We are seeing this in Debian as well, the error is:
I bisected this and found the commit that introduced this regression is f089cdb (CC @phadej ). I believe this commit is wrong because the cached results are only valid for 64-bit systems and not for 32-bit ones. In Debian, I have reverted this commit in Debian for now. |
The real issue here is that on both systems the exponent in numbers may overflow (and on 32bit system JSONTestSuite happened to have tests where it does), but the parse is still successful. So that is clearly wrong. There are two options:
|
The offending tests seem to be:
/i_number_huge_exp.json.tokens bs/
/i_number_huge_exp.json.tokens lbs/
/i_number_huge_exp.json.decode via tokens/
Full log
Using Nix/nixpkgs, i686-linux, GHC 9.4.6
The text was updated successfully, but these errors were encountered: