Repository navigation
Conversation
Now you get something like this:
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: p-0.1 (user goal)
unknown package: unbuildable (dependency of p-0.1)
fail (backjumping, conflict set: p, unbuildable)
Dependency tree exhaustively searched.
The error message is not the best.
Fixes haskell#3978
Collaborator
Author
Actual output differs from expected:
stderr:
--- "C:\\projects\\cabal\\cabal-testsuite\\PackageTests\\NewBuild\\T3978\\cabal.dist\\cabal.out.normalized" 2018-05-19 12:27:09.841643700 +0000
+++ "C:\\projects\\cabal\\cabal-testsuite\\PackageTests\\NewBuild\\T3978\\cabal.dist\\cabal.comp.out.normalized" 2018-05-19 12:27:09.841643700 +0000
@@ -1,6 +1,7 @@
# cabal new-build
Resolving dependencies...
-Error:
- Dependency on unbuildable library from p
- In the stanza 'library'
- In the inplace package 'q-1.0'
+cabal: Could not resolve dependencies:
+[__0] trying: p-1.0 (user goal)
+[__1] unknown package: buildable-false-hack (dependency of p)
+[__1] fail (backjumping, conflict set: buildable-false-hack, p)
+After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: p (2), buildable-false-hack (1) |
Collaborator
Author
|
Closing this in favour of @GrayJay patch (btw, it's in use in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Now you get something like this:
The error message is not the best.
Fixes #3978
Note how solver figured out to pick
http-client-0.5.12!