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

readline needs a Setup.hs tweak #268

Closed
clinty opened this issue Jun 17, 2020 · 5 comments
Closed

readline needs a Setup.hs tweak #268

clinty opened this issue Jun 17, 2020 · 5 comments

Comments

@clinty
Copy link

clinty commented Jun 17, 2020

readline needs defaultUserHooks changed to simpleUserHooks or defaultMainWithHooks changed to defaultMain to work with newer Cabal

@phadej
Copy link
Member

phadej commented Jun 17, 2020

This change would require NMU, please proceed with the process described as in https://github.com/haskell-infra/hackage-trustees/blob/master/policy.md#3-source-changes-simple-patches

If that is too heavy for you, there is haskeline (bundled with GHC) is an alternative you can migrate to.

@phadej
Copy link
Member

phadej commented Jun 17, 2020

readline would also need to use autogen-includes (look for similar issue with time).

@phadej
Copy link
Member

phadej commented Jun 17, 2020

After making relevant change (removing generated file from install-includes, which is not proper fix), the readline compiles fine.

                  8.10.1  8.8.3  8.6.5  8.4.4  8.2.2  8.0.2  7.10.3  7.8.4  7.6.3  7.4.2  7.2.2  7.0.4
readline-1.0.3.0  OK      OK     OK     OK     OK     OK     OK      OK     OK     OK     OK     OK   
readline-1.0.2.0  OK      OK     OK     OK     OK     OK     OK      OK     OK     OK     OK     OK   
readline-1.0.1.0  NO-IP   NO-IP  NO-IP  NO-IP  NO-IP  NO-IP  NO-IP   NO-IP  NO-IP  OK     OK     OK 

IIRC that what causes https://matrix.hackage.haskell.org/#/package/readline failures (and the fact that on some builders libreadline-dev is not installed.

@andreasabel
Copy link
Contributor

@clinty @phadej Is this issue fixed?

@andreasabel
Copy link
Contributor

Closing for lack of interest/activity... Welcome to reopen with new information.

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