Conversation
Outlining problem and error code received.
| --- | ||
| title: BuildFailure With Compile | ||
| summary: When using ghcup compile hls -g master --ghc 8.10.4; a build failure occurs. | ||
| introduced: ghcup, version 0.1.19.4 |
There was a problem hiding this comment.
The introduced field should be just the number, i.e. 0.1.19.4.
| @@ -0,0 +1,35 @@ | |||
| --- | |||
| title: BuildFailure With Compile | |||
| summary: When using ghcup compile hls -g master --ghc 8.10.4; a build failure occurs. | |||
There was a problem hiding this comment.
The summary should probably reflect a more general summary of this error code. This error code can probably occur with more than just this given invocation of ghcup.
| [ ... ] "--overwrite-policy=always", | ||
| [ ... ] "--disable-profiling", | ||
| [ ... ] "--disable-tests", | ||
| [ ... ] "--installdir=/home/tobzdaman619/.ghcup/tmp/ghcup-eb35d2cd0af3dbd1/out/8.10.4", |
There was a problem hiding this comment.
You probably want to pick a generic user name in this error message instead leaving your own one in place ;)
| [ ... ] "exe:haskell-language-server", | ||
| [ ... ] "exe:haskell-language-server-wrapper"] failed with exit code 1. | ||
| ``` | ||
| This occurs with all versions of cabal and ghc so far. |
There was a problem hiding this comment.
Thanks for contributing to the error message index! I think we still have to dig up a little bit more information on GHCup which explains under what circumstances this error occurs, so that we can present a good explanation of this error to the user of the error message index. At first glance it looks like this error occurs when ghcup tries to build some tool such as HLS or GHC, and the build process fails for some reason. I think we cannot get around the fact that we have to look at the GHCup codebase itself and find out more there. Do you know which constructor is responsible for this error message, and are there comments in the GHCup codebase which explain when this error is thrown?
There was a problem hiding this comment.
Unfortunately, I have no clue :( I've posted every error I get in the original post. Where do you recommend I start looking for clues?
BinderDavid
left a comment
There was a problem hiding this comment.
As I wrote in the other comment, we still need to figure out more precisely what this error code stands for, so that we can present the user of the error message index with some actionable advice.
title: BuildFailure With Compile
summary: When using ghcup compile hls -g master --ghc 8.10.4; a build failure occurs.
introduced: ghcup, version 0.1.19.4
severity: error
This occurs with all versions of cabal and ghc so far.