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
nim: 0.17.2 -> 0.18.0 #40556
nim: 0.17.2 -> 0.18.0 #40556
Conversation
@GrahamcOfBorg build nim |
One test at least fails for me. Should be easy to patch by replacing
|
How might I go about doing that @Mic92? This is my first foray into Nix, so any pointers would be appreciated. |
Failure on x86_64-linux (full log) Attempted: nim Partial log (click to expand)
|
It looks like most of the failures are related to missing binaries:
There's also an interesting one relating to boehm GC:
I'm going to mention this in the Nim IRC channel and see if anybody has any ideas about the above and some of the other issues (such as |
Failure on aarch64-linux (full log) Attempted: nim Partial log (click to expand)
|
Looks like I also need to add |
Failure on x86_64-darwin (full log) Attempted: nim Partial log (click to expand)
|
@euantorano you can use |
Required build and test dependencies are listed in nim's Travis CI configuration file here. It seems that some |
@pacien Yep, I've been trying that. Been hitting permission denied errors when running |
Solved GC and SFML-related test failures. Attempting to download nimble packages.
Here is a pull request for this pull request. |
Add missing dependencies for Nim 0.18.0
Thanks to @pacien, this should now pass tests hopefully. |
@GrahamcOfBorg build nim |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: nim Partial log (click to expand)
|
If access to $HOME is denied a workaround is to set |
Success on x86_64-linux (full log) Attempted: nim Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: nim Partial log (click to expand)
|
Failure is at lib/pure/stats.nim#L361. Floats should not be compared that way since their precision may vary on different architectures (Nim/issues#6747). @euantorano Maybe should we disable this test?
|
Yeah, disabling that test is probably the easiest solution.
… On 20 May 2018, at 13:05, Notkea ***@***.***> wrote:
Failure is at lib/pure/stats.nim#L361. Floats should not be compared that way since their precision may vary on different architectures (Nim/issues#6747).
@euantorano Maybe should we disable this test?
FAIL: stats.nim C
Test "lib/pure/stats.nim" in category "lib"
Failure: reExitcodesDiffer
Expected:
exitcode: 0
Gotten:
exitcode: 1
Output:
stats.nim(361) stats
system.nim(3771) raiseAssert
system.nim(2833) sysFatal
Error: unhandled exception: intercept(rr) == -0.03424657534246611 [AssertionError]
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
It does not really make the build fail so we can keep it. I think this test should be rather fixed upstream. |
Motivation for this change
Update the version of Nim to the current release, 0.18.0.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)I haven't had time to test this at all as I'm new to Nix, but this is a releatively minor change that should hopefully just work.