-
Notifications
You must be signed in to change notification settings - Fork 843
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
Stack cant find GHC #3268
Comments
I can confirm this issue.
|
It's because we don't (yet) have GHC bindists that link against ncurses6 on nopie distributions. Have you tried installing ncurses5-compat-libs? |
It would also be super helpful to other Arch users to help work toward having a GHC bindist that works "out of the box". There are instructions for building a Stack-compatible GHC bindist, and then you can modify a local copy of stack-setup-2.yaml with the additional bindist and use |
After installing libtinfo, Trying to run (for example) Another failed linking attempt for the dependency
I'll look into trying to build a Stack-compatible GHC soon @borsboom |
@TimoFreiberg I ran into the same problem. After installing |
@dawei-dev awesome, now it works again. |
@borsboom the |
I just built a bindist of 8.0.2 on Archlinux following the instructions provided by @borsboom and it seems to work just fine. What is needed to make an official bindist so we get back to stack working out of the box on Archlinux? |
Please make a pull request against https://github.com/fpco/stackage-content/blob/master/stack/stack-setup-2.yaml |
This was handled in commercialhaskell/stackage-content#26. A similar issue exists for GHC 8.2.2 though: #3636 |
A project that already has been set up is unable to find the GHC.
stack build results in:
stack setup results in:
However, in .stack-work, in the install file there is a folder called
x86_64-linux-ncurses6
, notlinux64-ncurses6-nopie
Stack was installed by pacman.
Version 1.4.0 x86_64, the project is using resolver: lts-8.21
Edit: I've been trying to figure out what is going on, and i think i might have a clue. I'm not certain, but arch linux just enabled PIE for the gcc (https://www.reddit.com/r/archlinux/comments/6n5tkp/arch_now_enables_pie_and_ssp_by_default_in_gcc/?st=j53afy9q&sh=15e6c62a) and this fits the time table and might explain that nopie at the end of the os key.
The text was updated successfully, but these errors were encountered: