-
Notifications
You must be signed in to change notification settings - Fork 710
Why does this need a Cabal constraint? #4192
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
Comments
/cc @edsko |
If this is with cabal HEAD, then this does seem to confirm #3932 is indeed not yet fixed. |
I updated the travis build to use cabal-install-head travis output it is using 1.25+git20161109.0.d48c1eb-3~14.04. |
@hamishmack Do you know whether cabal was built with assertions enabled? I was able to reproduce the issue at first, but when I turned off assertions, cabal found a solution in less than two minutes (I ran The assertion at
|
I looked into this further, and I think I found one pattern in the dependency graph that the solver isn't handling well. It is only a performance problem, AFAICT. Relevant lines from the start of the -v3 log:
If I understand the problem correctly, I think there are a few ways to improve the perforance.
EDIT: I tested with ghcjs/jsaddle@f446802, 19d9738, and |
This build failed with GHC 7.10 with:
Adding
--constraint='Cabal>=1.24.2.0'
fixes it.Adding
--max-backjumps=20000
or--reorder-goals
causes it to take more than the 10 minute travis timeout for no output.The text was updated successfully, but these errors were encountered: