Skip to content
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

Latest what4 version causes cabal configuration failure #1635

Closed
brianhuffman opened this issue Apr 21, 2022 · 3 comments
Closed

Latest what4 version causes cabal configuration failure #1635

brianhuffman opened this issue Apr 21, 2022 · 3 comments

Comments

@brianhuffman
Copy link
Contributor

Updating the what4 submodule to include GaloisInc/what4#198 causes the following error in saw-script when you try to run cabal configure --enable-tests or cabal build --enable-tests:

Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: parameterized-utils-2.1.5.0.99 (user goal)
[__1] rejecting: parameterized-utils:!test (constraint from config file,
command line flag, or user target requires opposite flag selection)
[__1] trying: parameterized-utils:*test
[__2] trying: tasty-hedgehog-1.1.0.0 (dependency of parameterized-utils *test)
[__3] trying: what4-1.2.1.0.99 (user goal)
[__4] rejecting: what4:!test (constraint from config file, command line flag,
or user target requires opposite flag selection)
[__4] rejecting: what4:*test (conflict: tasty-hedgehog==1.1.0.0, what4 *test
=> tasty-hedgehog>=1.2)
[__4] fail (backjumping, conflict set: tasty-hedgehog, what4, what4:test)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: parameterized-utils, tasty-hedgehog,
what4, parameterized-utils:test, what4:test
Try running with --minimize-conflict-set to improve the error message.
@brianhuffman
Copy link
Contributor Author

Updating the parameterized-utils submodule to include GaloisInc/parameterized-utils#131 causes the same error. It looks like it's an issue with a tasty-hedgehog version constraint.

@RyanGlScott
Copy link
Contributor

Indeed, both GaloisInc/parameterized-utils#131 and GaloisInc/what4#198 bump the lower version bounds on tasty-hedgehog to >= 1.2. Does the configuration error still happen if you bump both submodules simultaneously?

@brianhuffman
Copy link
Contributor Author

Yes, it does. But it looks like it works if I regenerate all the freeze files first; the freeze files had all specified an earlier version of tasty-hedgehog. I'll include the regenerated freeze files in the latest bump-submodules PR (#1634).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants