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

No pre-built binaries for GHC 8.8.3 for Windows #234

Closed
scottbass47 opened this issue Jul 25, 2020 · 6 comments
Closed

No pre-built binaries for GHC 8.8.3 for Windows #234

scottbass47 opened this issue Jul 25, 2020 · 6 comments
Labels
CI Continuous integration os: windows

Comments

@scottbass47
Copy link

Currently Stack uses resolver lts-16.6 which uses GHC version 8.8.3. However, the pre-built binaries for windows only has a language server binary for GHC 8.8.4. Mac and linux both have binaries for 8.8.3, is the windows binary just missing from the listing or has it not been built yet?

@Ailrun
Copy link
Member

Ailrun commented Jul 25, 2020

The binary build process of 8.8.3 fails on Windows because of Segfault.
See: #86

@Ailrun Ailrun added CI Continuous integration os: windows labels Jul 25, 2020
@jneira
Copy link
Member

jneira commented Jul 25, 2020

I am afraid that he error is reproduced with ghc.8.8.4 as well. The error is not deterministic and we were able to build with ghc-8.8.4.
I'll give a try to ghc-8.8.3 to see if we have luck. 🤞

@scottbass47
Copy link
Author

Oh that explains a lot. I was trying to build 8.8.3 myself and it kept failing on floskell which is why I wanted to download a pre-built binary. Welp, I guess it's 8.8.4 for me!

@lukel97
Copy link
Collaborator

lukel97 commented Jul 26, 2020

Yeah, it took 4 tries to get the windows 8.8.4 binary to build successfully on GitHub Actions, there was no secret unfortunately. We could try to produce 8.8.3 binaries as well maybe, retrying every time it fails? It will be a pain for us but could save others a lot of suffering

@jneira
Copy link
Member

jneira commented Jul 26, 2020

There is a workaround to install hls with ghc-8.8.3, described here.
However i am not sure if it worths to make the binary that way. stack will use ghc-8.8.4 sooner or later.

@lukel97
Copy link
Collaborator

lukel97 commented Jul 28, 2020

I think we might need to give up on the 8.8.3/8.8.4 Windows builds. It's been failing 4 out of 5 times anecdotally on the GitHub Actions jobs now. Hopefully we will eventually get a 8.8.x release working, but until now the workaround is to (attempt to) install it from source

@lukel97 lukel97 closed this as completed Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous integration os: windows
Projects
None yet
Development

No branches or pull requests

4 participants