-
Notifications
You must be signed in to change notification settings - Fork 701
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 fails to install/uprade #6615
Comments
Cannot reproduce, I get:
|
... which is because |
Thank you for the quick response.
Yeah, I was getting what you were, until enabled
It did not work for me with GHC 8.8.3 either:
Does it mean one cannot use Cabal with GHC 8.10.1??? And cannot upgrade it under GHC 8.8.3? With GHC 8.6.5 it appears to be downgrading Cabal to 2.4.1.0 - which is not desirable. |
No :( We unfortunately hadn't GHC-8.8 compatible cabal-install-3.0 release yet (In general, you need "previous" GHC to compile "next" cabal). Our release manager is busy... |
Ah. I didn't realize that. So, for 8.8.3 I need to build Cabal with 8.6.5 (which worked). And for 8.10.1 I need to build it with 8.8.3, but that isn't ready yet. Right? If you don't mind - what does the following mean from practical point of view:
and when in your opinion it could be remedied? |
|
Still, it would be great if at least 3.2.0.0 become compatible with 8.10.1... Thanks! |
Also, not quite a problem - it looks like Again, what does it mean from practical point of view? (sorry for the layman's question) |
There is
GHC only bundles the |
Ah, thank you! So, for the GHC's internal needs there is that Cabal library 3.2.0.0. For a user who wants a tool to automate his workflow, the I can only ask that hopefully it would become available rather sooner than later. Oh, and what is |
|
I see. And |
This problem impacts other projects/packages that use Cabal. For example, https://github.com/haskell/haskell-ide-engine (see issue haskell/haskell-ide-engine#1712). It would be great if you guys could help. |
@mouse07410 I've built succesful
|
@jneira thank you - great work!
|
I try to answer 1 y 2 (3 is hie specific):
|
@phadej Tried to build/install from the master branch. Fails miserably:
I expected some errors, but not even an attempt to build...? I did exactly what's in the top-level UpdateTrying
Default GHC is set to 8.8.3. Installed GHC: 8.6.5, 8.8.3, 8.10.1. |
@phadej thanks - the master builds now using
Also, I don't think that it's the "Update copyright years" #8a4b091 commit that fixes this issue? ;-) |
It does fix |
@phadej current master builds Cabal-3.3.0.0. I could only build it with GHC up to 8.8.3, but not 8.10.1. Is it likely to cause any problems if I use this Same question for |
Describe the bug
Cabal upgrade (aka
cabal install cabal-install
) fails.To Reproduce
Steps to reproduce the behavior - as per your README:
Expected behavior
Successful upgrade.
System information
Additional context
Log file (probably doesn't add much beyond what I copied above from the terminal): cabal-build-fails.txt
The text was updated successfully, but these errors were encountered: