-
Notifications
You must be signed in to change notification settings - Fork 196
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
enable ghc-9.4 builds #1413
Comments
Seems like we are waiting on ghc-exactprint to release? |
it wouldn't hurt to have one. it's blocking ghc-9.4.1 builds in CI |
Just adding the failures I see when trying to build with GHC 9.4.2:
|
Hi @LeventErkok
(1) For the avoidance of doubt, there is no issue building hlint (HEAD) with ghc-9.4.2: $ cd ~/project/hlint
$ cabal new-build
Resolving dependencies...
Build profile: -w ghc-9.4.2 -O1
...
[2 of 2] Linking /Users/shaynefletcher/project/hlint/dist-newstyle/build/x86_64-osx/ghc-9.4.2/hlint-3.4.1/x/hlint/build/hlint/hlint (2) If we try to build hlint-3.4.1 (the most recently released) using ghc-9.4.2 we (correctly) fail to get a build-plan: cd ~/tmp
cabal get hlint-3.4.1
cd hlint-3.4.1
cabal new-build
❯ cabal new-build
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[__0] trying: hlint-3.4.1 (user goal)
[__1] next goal: ghc-lib-parser (dependency of hlint +/-ghc-lib)
[__1] rejecting: ghc-lib-parser-9.4.2.20220822, ghc-lib-parser-9.4.1.20220807
(conflict: hlint +/-ghc-lib => ghc-lib-parser>=9.2 && <9.3)
[__1] trying: ghc-lib-parser-9.2.4.20220729
[__2] next goal: base (dependency of hlint)
[__2] rejecting: base-4.17.0.0/installed-4.17.0.0 (conflict: ghc-lib-parser =>
base>=4.14 && <4.17)
... This is by design. Building a 9.2 parse tree ghc-lib-parser with a 9.4 compiler is not supported. (3) The "errors" reported I guess result from attempting to work-around the constraint in (2) by doing e.g. src/GHC/Util/ApiAnnotation.hs:39:28: error:
Not in scope: data constructor ‘EpaDocCommentNamed’
Suggested fix:
Perhaps use ‘EpaDocComment’ (imported from GHC.Parser.Annotation)
|
39 | comment_ (L _ (EpaComment (EpaDocCommentNamed s) _)) = s
| ^^^^^^^^^^^^^^^^^^ The attempted build-plan is invalid and this build failure is not indicative of an error. [hlint-3.4.1 |
Thanks @shayne-fletcher That's correct indeed. So, would be great to have a release of the HEAD to hackage. Is there some reason that can't happen? |
Hmm - what changed in HEAD that means it works? Since it isn't in the changelog... But I'll make a release shortly |
i don't understand the question. afaik, nothing has changed and everything said in #1410 (comment) continues to be the case. hlint CI testing using ghc-9.4.1 cannot be made to go green because |
The comment from Levent suggests that things work better once we make a release of HEAD to Hackage. Either that's true (in which case something changed) or false (and it should already work)? |
the latter i think. nothing has changed particularly. since #1410 we have been able to build with ghc-9.4.1 (& ghc-9.4.2) we just haven't been able to get CI green due to apply-refact. |
OK, so we were missing the GHC 9.4 parse tree upgrade in the changelog (my bad). We probably work with GHC 9.4, but the apply-refact won't work there yet. I'll push out a release. |
@ndmitchell Thanks! I can confirm that the new release works with GHC 9.4.2. |
This change introduces some actual overrides in configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of getting a basic 9.4 package set up. In particular the following “interesting” packages are working: * hpack * hoogle * cabal2nix * cabal-install You can get a better overview by looking at the overrides and the versionedCompilerJobs in release-haskell.nix. Next obvious steps would be working towards basic HLS support, but it seems that basically none of the plugins are working so far. Big blockers here: * alanz/ghc-exactprint#114 * ndmitchell/hlint#1413 * haskell/haskell-language-server#3190 We ourselves have some churn to take care of and should try to release the changes in NixOS/cabal2nix#571 soon. Co-authored-by: Rebecca Turner <[email protected]> Co-authored-by: sternenseemann <[email protected]>
This change introduces some actual overrides in configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of getting a basic 9.4 package set up. In particular the following “interesting” packages are working: * hpack * hoogle * cabal2nix * cabal-install You can get a better overview by looking at the overrides and the versionedCompilerJobs in release-haskell.nix. Next obvious steps would be working towards basic HLS support, but it seems that basically none of the plugins are working so far. Big blockers here: * alanz/ghc-exactprint#114 * ndmitchell/hlint#1413 * haskell/haskell-language-server#3190 We ourselves have some churn to take care of and should try to release the changes in NixOS/cabal2nix#571 soon. Co-authored-by: Rebecca Turner <[email protected]> Co-authored-by: sternenseemann <[email protected]>
This change introduces some actual overrides in configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of getting a basic 9.4 package set up. In particular the following “interesting” packages are working: * hpack * hoogle * cabal2nix * cabal-install You can get a better overview by looking at the overrides and the versionedCompilerJobs in release-haskell.nix. Next obvious steps would be working towards basic HLS support, but it seems that basically none of the plugins are working so far. Big blockers here: * alanz/ghc-exactprint#114 * ndmitchell/hlint#1413 * haskell/haskell-language-server#3190 We ourselves have some churn to take care of and should try to release the changes in NixOS/cabal2nix#571 soon. Co-authored-by: Rebecca Turner <[email protected]> Co-authored-by: sternenseemann <[email protected]>
This change introduces some actual overrides in configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of getting a basic 9.4 package set up. In particular the following “interesting” packages are working: * hpack * hoogle * cabal2nix * cabal-install You can get a better overview by looking at the overrides and the versionedCompilerJobs in release-haskell.nix. Next obvious steps would be working towards basic HLS support, but it seems that basically none of the plugins are working so far. Big blockers here: * alanz/ghc-exactprint#114 * ndmitchell/hlint#1413 * haskell/haskell-language-server#3190 We ourselves have some churn to take care of and should try to release the changes in NixOS/cabal2nix#571 soon. Co-authored-by: Rebecca Turner <[email protected]> Co-authored-by: sternenseemann <[email protected]>
This change introduces some actual overrides in configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of getting a basic 9.4 package set up. In particular the following “interesting” packages are working: * hpack * hoogle * cabal2nix * cabal-install You can get a better overview by looking at the overrides and the versionedCompilerJobs in release-haskell.nix. Next obvious steps would be working towards basic HLS support, but it seems that basically none of the plugins are working so far. Big blockers here: * alanz/ghc-exactprint#114 * ndmitchell/hlint#1413 * haskell/haskell-language-server#3190 We ourselves have some churn to take care of and should try to release the changes in NixOS/cabal2nix#571 soon. Co-authored-by: Rebecca Turner <[email protected]> Co-authored-by: sternenseemann <[email protected]>
This change introduces some actual overrides in configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of getting a basic 9.4 package set up. In particular the following “interesting” packages are working: * hpack * hoogle * cabal2nix * cabal-install You can get a better overview by looking at the overrides and the versionedCompilerJobs in release-haskell.nix. Next obvious steps would be working towards basic HLS support, but it seems that basically none of the plugins are working so far. Big blockers here: * alanz/ghc-exactprint#114 * ndmitchell/hlint#1413 * haskell/haskell-language-server#3190 We ourselves have some churn to take care of and should try to release the changes in NixOS/cabal2nix#571 soon. Co-authored-by: Rebecca Turner <[email protected]> Co-authored-by: sternenseemann <[email protected]>
This change introduces some actual overrides in configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of getting a basic 9.4 package set up. In particular the following “interesting” packages are working: * hpack * hoogle * cabal2nix * cabal-install You can get a better overview by looking at the overrides and the versionedCompilerJobs in release-haskell.nix. Next obvious steps would be working towards basic HLS support, but it seems that basically none of the plugins are working so far. Big blockers here: * alanz/ghc-exactprint#114 * ndmitchell/hlint#1413 * haskell/haskell-language-server#3190 We ourselves have some churn to take care of and should try to release the changes in NixOS/cabal2nix#571 soon. Co-authored-by: Rebecca Turner <[email protected]> Co-authored-by: sternenseemann <[email protected]>
This change introduces some actual overrides in configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of getting a basic 9.4 package set up. In particular the following “interesting” packages are working: * hpack * hoogle * cabal2nix * cabal-install You can get a better overview by looking at the overrides and the versionedCompilerJobs in release-haskell.nix. Next obvious steps would be working towards basic HLS support, but it seems that basically none of the plugins are working so far. Big blockers here: * alanz/ghc-exactprint#114 * ndmitchell/hlint#1413 * haskell/haskell-language-server#3190 We ourselves have some churn to take care of and should try to release the changes in NixOS/cabal2nix#571 soon. Co-authored-by: Rebecca Turner <[email protected]> Co-authored-by: sternenseemann <[email protected]>
This change introduces some actual overrides in configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of getting a basic 9.4 package set up. In particular the following “interesting” packages are working: * hpack * hoogle * cabal2nix * cabal-install You can get a better overview by looking at the overrides and the versionedCompilerJobs in release-haskell.nix. Next obvious steps would be working towards basic HLS support, but it seems that basically none of the plugins are working so far. Big blockers here: * alanz/ghc-exactprint#114 * ndmitchell/hlint#1413 * haskell/haskell-language-server#3190 We ourselves have some churn to take care of and should try to release the changes in NixOS/cabal2nix#571 soon. Co-authored-by: Rebecca Turner <[email protected]> Co-authored-by: sternenseemann <[email protected]>
This change introduces some actual overrides in configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of getting a basic 9.4 package set up. In particular the following “interesting” packages are working: * hpack * hoogle * cabal2nix * cabal-install You can get a better overview by looking at the overrides and the versionedCompilerJobs in release-haskell.nix. Next obvious steps would be working towards basic HLS support, but it seems that basically none of the plugins are working so far. Big blockers here: * alanz/ghc-exactprint#114 * ndmitchell/hlint#1413 * haskell/haskell-language-server#3190 We ourselves have some churn to take care of and should try to release the changes in NixOS/cabal2nix#571 soon. Co-authored-by: Rebecca Turner <[email protected]> Co-authored-by: sternenseemann <[email protected]>
This change introduces some actual overrides in configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of getting a basic 9.4 package set up. In particular the following “interesting” packages are working: * hpack * hoogle * cabal2nix * cabal-install You can get a better overview by looking at the overrides and the versionedCompilerJobs in release-haskell.nix. Next obvious steps would be working towards basic HLS support, but it seems that basically none of the plugins are working so far. Big blockers here: * alanz/ghc-exactprint#114 * ndmitchell/hlint#1413 * haskell/haskell-language-server#3190 We ourselves have some churn to take care of and should try to release the changes in NixOS/cabal2nix#571 soon. Co-authored-by: Rebecca Turner <[email protected]> Co-authored-by: sternenseemann <[email protected]>
This change introduces some actual overrides in configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of getting a basic 9.4 package set up. In particular the following “interesting” packages are working: * hpack * hoogle * cabal2nix * cabal-install You can get a better overview by looking at the overrides and the versionedCompilerJobs in release-haskell.nix. Next obvious steps would be working towards basic HLS support, but it seems that basically none of the plugins are working so far. Big blockers here: * alanz/ghc-exactprint#114 * ndmitchell/hlint#1413 * haskell/haskell-language-server#3190 We ourselves have some churn to take care of and should try to release the changes in NixOS/cabal2nix#571 soon. Co-authored-by: Rebecca Turner <[email protected]> Co-authored-by: sternenseemann <[email protected]>
for some context on what remains to get ghc-9.4-* tested builds in CI, see #1410 (comment)
the ghc-9.4.1 build itself is locally testable:
The text was updated successfully, but these errors were encountered: