-
Notifications
You must be signed in to change notification settings - Fork 12
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
Build failures #40
Comments
Version v1.5.6 doesn't compile anymore due to an update to a dependency (fixed in a636eab). Version v.1.5.7 fixes it, but after some investigation it looks like GHC 9.0.1 had a breaking change (see this). I don't understand the reasoning fully myself, but I am quite surprised that seemingly equivalent programs aren't all valid anymore with this breaking change (???) Anyway, it looks like the only affected line is line 83 in
|
I have tried both modifications to line 83:
Result:
Seems like compiling Util was successful now.
(as far as I can see it is the same error message when compiling WithPlus)
|
I will attempt to compile it with the latest 8.x ghc, once I figure out how to use ghcup. |
I got ghc 8.10.7 from ghcup, successfully compiled klfc, however now I am running into the missing libffi.so.7 (my system only has libffi.so.8 in /usr/lib) error mentioned in #39 Clarification: I used the master branch (reverted the line 83 changes in utils.hs) |
See https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.0#simplified-subsumption for the required eta-expansion in lensWithDefault' Hiding singleton from BasePrelude gives a warning for previous GHC versions, but this is a minor issue
The libffi.so.7 error is not present with the latest releases binary. Klfc works perfectly on my system now. Thank you for developing and maintaining this awesome software package! |
Cloning the repo, switching to tag v1.5.6 and attempting to build cabal (by running
cabal install
) leads to the following error message:The master branch also fails to compile with the following error message:
possible useful info:
system: manjaro linux, ghc and cabal from the official repos
AUR build of the package
klfc
also fails:cabal: unrecognised command: v1-sandbox (try --help)
The latest binary uploaded to github fails due to libffi.so.7 not being found (system only has version 8).
Edit: I also have the issue described in #39
The text was updated successfully, but these errors were encountered: