-
Notifications
You must be signed in to change notification settings - Fork 71
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
BuildFailure With Compile #472
base: main
Are you sure you want to change the base?
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.