-
-
Notifications
You must be signed in to change notification settings - Fork 226
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
0.12.3.2: Cabal install failure on Ubuntu 18.04.3 LTS #637
Comments
Stack doesn't seem to even try on the same system:
|
I updated stack and it worked. I guess gitit 0.12.3.2 just cannot be built with ghc 8.0.2?
The haskell motto should perhaps be: Always bring everything with you and ensure you have a few spare hours. |
This due to API change in the filestore package, which should have been marked by a major version bump but wasn't. If you constrain to Diff < 0.4 it should work. |
Data.File.Generic now exports PolyDiff(..) as well as Diff, and we require Diff >= 0.4. Fixes build error with gitit. See jgm/gitit#637.
I'm releasing a filestore update which should help with this. |
Thank you for looking into it. |
The current dev version of gitit should work with both stack and cabal. |
@jgm , when you said this, above:
Did you mean that, if I:
that it should work? I tried the above and got:
|
looking at our CI, cabal builds seem to be failing now but stack still works. |
The cabal version use hoauth2 >= 1.9.0 and the stack -lts 14.14 used hoauth2 = 1.8.9, |
@capn-freako, I have been able to
@jgm , if you think this work on the cabal build is worth a PR, I can submit one. |
@freiric , Thank you! I am confirming that I was able to complete a cabal build/install, using the suggested modifications to |
Oh, I spoke too soon.
The |
@freiric - sure, PR welcome. (Or even better an upgrade to use the latest versions rather than setting an upper bound.) stack build works for me already though. |
Network.Gitit.Plugin.Ordinal is not part of gitit. This must be a 3rd party plugin you're trying to use. Check your conf. |
Apologies; you are correct. |
Should be fixed by #646 |
I just installed GHC 8.8.3 and did "cabal update" followed by "cabal install gitit" and got the following failure:
Same (or similar) result from "cabal new-install" and with a current clone of the gitit repo. Am I using the wrong build incantation? Or maybe too fresh a GHC 8.8.x? |
Looks like it's failing on our GitHub Actions CI as well for GHC 8.8. |
@conal Does running The inability to build |
Yes it does (with a fresh |
Has anyone taken any steps to try to get MissingH fixed in Hackage so that it works with GHC 8.8.x? It's not a direct dependency of gitit -- which of our dependencies requires it? EDIT: haskell-hvr/missingh#52 |
There is also haskell-hvr/missingh#51 which has been open with no response from the dev since November, and haskell-infra/hackage-trustees#253. Gitit depends on it through |
Might be easier to rewrite Network.Gitit.Config to avoid the dependency than to get this fixed. I don't have time for this but maybe someone else would want to. |
|
I'll rerun them. |
All the dependencies build successfully, but gitit fails
The text was updated successfully, but these errors were encountered: