-
Notifications
You must be signed in to change notification settings - Fork 841
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
Setup fails with 'No information found for ghc-8.2.2' for OS key 'linux64-ncurses6-nopie' #3636
Comments
Right, so, following from the discussion in #3268 (comment), I've discovered that there is still not the the GHC-8.2.2 for your OS key released over at https://github.com/commercialhaskell/ghc/releases. For example, this got resolved for another GHC over at commercialhaskell/stackage-content#26. |
@natrys: which Linux distribution are you using? Arch used to need the @cocreature you've built past ones using Arch Linux, any insight on whether ncurses6 should still be needed on Arch? |
I’m not sure tbh, #3630 contains some discussions on this. For now I’m using |
@borsboom This was on Void Linux. It doesn't use libtinfo, nor is there any ncurses-compat-libs equivalent package like Arch. For now, I am forcing the |
@natrys Thanks, good to know. I'm working on a better solution to this ncurses5/ncurses6/tinfo6 (and gmp4 and nopie) business and will take this into account. |
@natrys Please try |
* Removes GHC <8.0.2 for all Linux `-nopie` builds, since those don't work reliably. * Removes `configure-env` for all remaining Linux `-nopie` builds, since GHC >=8.0.2 autodetects GCCs that support `-no-pie` (and the configure-envs interfered with the auto-detection causing it to fail on some distros) * Patches Linux GHC >= 8.0.2 bindists so that their `configure` script detects Gentoo Hardened GCC and adds `--no-pie` to linker arguments. * Adds ncurses6 GHC 8.2.2 bindist for Void Linux Relates to commercialhaskell/stack#3518 commercialhaskell/stack#3636
These changes are motivated by #3636. * `stack setup` looks for GHC bindists and installations by any OS key that is compatible (rather than only checking a single one). This is relevant on Linux where different distributions may have different combinations of libtinfo 5/6, ncurses 5/6, and gmp 4/5, and will allow simpifying the setup-info metadata YAML for future GHC releases. * `stack setup` no longer uses different GHC configure options on Linux distributions that use GCC with PIE enabled by default. GHC detects this itself since ghc-8.0.2, and Stack's attempted workaround for older versions caused more problems than it solved.
These changes are motivated by #3636. * `stack setup` looks for GHC bindists and installations by any OS key that is compatible (rather than only checking a single one). This is relevant on Linux where different distributions may have different combinations of libtinfo 5/6, ncurses 5/6, and gmp 4/5, and will allow simpifying the setup-info metadata YAML for future GHC releases. * `stack setup` no longer uses different GHC configure options on Linux distributions that use GCC with PIE enabled by default. GHC detects this itself since ghc-8.0.2, and Stack's attempted workaround for older versions caused more problems than it solved.
Hi @borsboom , this worked perfectly! No problems at all in my testings so far. Thanks, appreciate it! |
I believe I have stumbled on a problem (#3801) that may be related to this change. The version of stack we use is fixed at It seems that with the removal of |
I am trying to do a fresh install, using nightly as the global resolver.
The text was updated successfully, but these errors were encountered: