-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
uchardet: disable check on i686 #110737
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
uchardet: disable check on i686 #110737
Conversation
Do you have a log or reported this upstream? We might want to add a comment with some more information. |
This was reported by another user running i686 on #nixos. log: https://logs.nix.samueldr.com/nixos/2021-01-23#4521395;
|
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec { | |||
"-DCMAKE_SKIP_BUILD_RPATH=OFF" # for tests | |||
]; | |||
|
|||
doCheck = true; | |||
doCheck = !stdenv.isi686; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doCheck = !stdenv.isi686; | |
# The following tests FAILED: | |
# 29 - fi:iso-8859-1 (Failed) | |
# 37 - ga:iso-8859-1 (Failed) | |
# 106 - th:tis-620 (Failed) | |
# Errors while running CTest | |
# make: *** [Makefile:127: test] Error 8 | |
doCheck = !stdenv.isi686; |
A bit long but at least we know what failed. Does an upstream issue exist for this? Maybe we should link it or create one if it does not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The bug is probably https://bugs.freedesktop.org/show_bug.cgi?id=101033. Tl;DR is that uchardet's test relies on sort order of floating point values. And the values are slightly different on i387 (pre-sse2) due to excessive precision.
I marked this as stale due to inactivity. → More info |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know... pkgsi686Linux.libuchardet
is fine for me on current nixpkgs master. I retried a couple times on two different machines. (same version as in your commit)
🤦🏽 this PR is a duplicate of #112300 |
Motivation for this change
The check fails on i686
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)