-
Notifications
You must be signed in to change notification settings - Fork 71
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
doctest doesn't compile with GHC 7.7 snapshot #55
Comments
Thanks for the heads up. @kazu-yamamoto worked on this. But it seems that GHC HEAD changed again... |
I'm not busy in September. So, I will try this again very soon. |
@kazu-yamamoto Thanks a lot! |
Uhhm. I tested doctest HEAD with GHC HEAD. GHC HEAD can compile doctest HEAD. The test failures were exactly what I expected (i.e. future work). Am I missing something? |
Duh, you are right! The build error I saw was caused by a dependency of |
No problem! |
@kazu-yamamoto, could you please check out the build log at http://hydra.cryp.to/build/12672/nixlog/1/raw? The doctest build fails, saying:
|
doctest 0.9.7 does not support GHC head. doctest head does support GHC head. |
Is there any particular reason why the release version of doctest doesn't build with GHC 7.7.x? |
It's up to @sol. Note that doctest head does not pass 5 test cases at this moment. |
@peti I see how this can be an issue for nix, but the GHC API is a moving target and I can't guarantee that Doctest always works with GHC HEAD. @kazu-yamamoto already took quite some effort to make it work (big thanks for that!) and we can cut a new release as soon as all tests pass. But I'm currently somewhat swamped, so any help with this is much appreciated. |
@sol, thank you for the heads up. I have been trying to compile our package set in Nix with a recent snapshot of GHC, just to see how far that would go. It turns out that virtually nothing compiles, because some of the foundations won't build (such as test-framework, doctest, etc.), and almost all packages depend on some of those packages. So I started filing issues to make sure people are aware of the fact. I realize it's impossible to support GHC 7.7 at this time because -- strictly speaking -- there is no GHC 7.7. There's just a HEAD version of some Git repository. :-) I am glad to see that Kazu and you make an effort to keep doctest working with a recent GHC snapshot. Thank you for your efforts. I'll look forward to a new release of doctest whenever it's ready. Once it comes out, I'll give this GHC 7.7 project another go. |
OK. All bugs have been fixed now. @sol, I think you can release a new version. I will tackle cabal sandbox. |
Now I don't think #57 is regression in GHC. Stderr of GHC has |
I have a regression after the last doctest update. See http://hydra.cryp.to/build/25221/nixlog/15/raw for a complete build log. The problem seems to be that |
@peti Yes, I guess your build is too old. |
The text was updated successfully, but these errors were encountered: