Skip to content

Include output from stack when building from source #24

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

Open
hdgarrood opened this issue May 21, 2020 · 1 comment
Open

Include output from stack when building from source #24

hdgarrood opened this issue May 21, 2020 · 1 comment

Comments

@hdgarrood
Copy link
Collaborator

Right now, whenever we fall back to building the compiler from source, we don't include the output from stack while building. This is very inconvenient if stack fails. For example, this can be seen in both #16 (comment) and in #21 (comment).

@jmatsushita
Copy link

jmatsushita commented Aug 3, 2020

Trying to build on a Jetson Nano (aarch64) in a Docker container (based on Debian Buster) and had to run stack setup to see the error indeed. Which in my case is:

Unable to find installation URLs for OS key: linux-aarch64-tinfo6

Which is reported here in this issue about stack dropping arm support but could be related to the ncurses version as reported here.

Update: In case someone else runs into the same problem, I could circumvent the issue by using an ubuntu:18.04 base image which allowed stack to find an aarch64 GHC bindist (since this version of ubuntu seems to use tinfo5).

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

2 participants