-
Notifications
You must be signed in to change notification settings - Fork 20
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 install haskell-awk no longer works #215
Comments
|
|
|
Fixed by #216; but I'll keep this issue open to remind me to get the hackage version fixed. |
thanks to #242, |
Under GHC 9.0.1,
|
Thanks for the report. Hmm, I wonder why my installation-methods monthly test didn't catch this? Also, given my last comment above yours, I should probably mention for posterity that I forgot to close this ticket when I released the version of hawk which includes the new installation-method detection code. So the actual issue is that there is a regression in the installation-methods detection code. |
Ah, the installation-methods test didn't detect the problem because it uses ghc-8.10.4! I would expect a new version of cabal-install to break it, not a new version of ghc. I think ghc-9.0.1 requires a fairly recent version of cabal, but for completeness, could you please include the output of |
I got similar errors when a package was missing from Note that I have Recently, I have started using the master version of cabal-install.
For the sake of testing the present issue, I installed
It fails in the described way with GHC 9.0.1. |
Hmm, it works for me! The next step would thus be to figure out which difference between our two setups is the important one.
|
|
|
|
|
|
|
|
|
Oh wait! I wasn't reading the error message carefully enough. It now fails with a different error message!
That means I did not clean up properly between installations, and that all of my testing above should be ignored. I was only doing |
I don't know of a good way to uninstall a library, but blowing out I can confirm that after a fresh |
using |
I was able to install cabal-install HEAD by adding
But I was not able to reproduce the problem with it:
|
Okay, I think this is the closest I can get to your setup on my machine, but I still cannot reproduce the problem. Are there any other differences you can think of? Maybe the OS?
|
Sorry @andreasabel, I was not able to reproduce the problem on my machine nor on CI, so I won't be able to fix it. Unless you have another idea of what else could possibly be different between our two setups? Just going off the error message, it looks like something (perhaps some file? I don't have a |
Sorry for asking here. I will open a new issue for this (if needed) after getting andreasbel's reply. @andreasabel: How did you install ghc-8.10.5? I installed it with GHCup and for me using v8.10.5, I was able to build hawk, but I am getting this error when running:
I am able to use hawk if I build it using v8.10.4. P.S. I am using Linux. GHCupk used this one when building on mine -- https://downloads.haskell.org/~ghc/8.10.5/ghc-8.10.5-x86_64-fedora27-linux.tar.xz |
@MuhammedZakir sorry but that error is quite unrelated: it is a ghc-8.10.5 RTS regression. |
Thanks for the link! :-) I was confused whether that problem has to do with my setup, especially when I saw compiling with ghc-8.10.5 worked for andreasabel. I forgot to check in GHC repo (silly me). |
This could well make the difference. If I
So, maybe on some configurations, one also needs to install with the P.S.: |
The installation instructions don't work anymore. They say to use
cabal install haskell-awk
, but that's now ambiguous, it could meanv1-install
orv2-install
.With
cabal v1-install haskell-awk
, I now getWhich either means that our upper bounds are not tight enough or that
cabal v1-install
is not backwards-compatible enough.With
cabal v2-install haskell-awk
, I instead getSo it seems like the only way to install hawk now is to install it from source. The instructions are again ambiguous (
cabal install
).The text was updated successfully, but these errors were encountered: