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

Cabal internal error on travis #375

Closed
Ericson2314 opened this issue Dec 13, 2019 · 5 comments
Closed

Cabal internal error on travis #375

Ericson2314 opened this issue Dec 13, 2019 · 5 comments

Comments

@Ericson2314
Copy link
Member

Ericson2314 commented Dec 13, 2019

See https://travis-ci.org/reflex-frp/reflex/builds/624367109?utm_source=github_status&utm_medium=notification:

CallStack (from HasCallStack):
  error, called at ./Distribution/Client/InstallPlan.hs:262:25 in main:Distribution.Client.InstallPlan

What is this about?

CC @phadej, who might know.

@Ericson2314
Copy link
Member Author

@Ericson2314 Ericson2314 changed the title Travis + GHCJS failure Cabal internal error on travis Dec 13, 2019
@phadej
Copy link
Contributor

phadej commented Dec 15, 2019

As I commented on the PR, try to clean the Travis caches. In the next cabal-install version (i.e. 3.0.1.0), we should have

internal error in InstallPlan.completed: not in configured state: Installed markdown-unlit-0.5.0-7ff893d1a2e27521e9cd2e41417095faa586108256bcd47f736fd82f6ac6ab4a
CallStack (from HasCallStack):
  error, called at ./Distribution/Client/InstallPlan.hs:270:25 in main:Distribution.Client.InstallPlan
  internalError, called at ./Distribution/Client/InstallPlan.hs:659:26 in main:Distribution.Client.InstallPlan

like errors, which would help to understand what's wrong.
I have a PoC for repairing the store, which wouldn't require wiping it completely, but it needs a solution to haskell/cabal#6437, so will take some time to fix properly.

EDIT: The cabal issue is haskell/cabal#6396

phadej added a commit to phadej/cabal that referenced this issue Dec 16, 2019
phadej added a commit to phadej/cabal that referenced this issue Dec 16, 2019
phadej added a commit to phadej/cabal that referenced this issue Dec 16, 2019
@Ericson2314
Copy link
Member Author

Thanks for the quick feedback, @phadej! So I run haskell-ci again or something to use the unreleased version of cabal-install to get the better error messages?

@phadej
Copy link
Contributor

phadej commented Dec 17, 2019

@Ericson2314 you don't need to do anything, cabal-install-3.0 is updated already to cabal-install-3.0.1.0-rc3 tag (you can see that 3.0.1.0 version is used in cabal --version output).

E.g. already in https://travis-ci.org/reflex-frp/reflex/jobs/626274133 (though that might had some previous RC).

@Ericson2314
Copy link
Member Author

OK, Great! Thanks again.

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

3 participants