-
Notifications
You must be signed in to change notification settings - Fork 696
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
Support GHC 9.4 #8420
Support GHC 9.4 #8420
Conversation
Only the last commit in this PR is actually the contribution. |
Windows is failing because cabal 3.8 is required there for GHC 9.4, but haskell/actions/setup still thinks that |
Right... haskell/actions#113 Maybe it's about the time to move to pure ghcup workflow… |
d6a5bbe
to
0bee7c6
Compare
Tests are not ready yet: opened haskell-hvr/windns#3 |
2562b22
to
17059ca
Compare
Need to add |
Hmm, an actual test failure… Backpack. |
Does it look like a GHC bug or a cabal bug that manifests only in the configuration we happened to set for GHC 9.4? |
That's neither:
Not very surprising. Could we mark it as expected fail for 9.4? Edit: unless it doesn't fail locally, but I hope it's at least consistent... |
@Mikolaj I'm sorry, I don't see "haddock: internal error" on the CI. When I click on Details for the 9.4.1 job, I see
and Ctrl+F doesn't help either. What am I missing? |
Yes, C-f doesn't work (perhaps in a raw log it does). Perhaps scroll, in https://github.com/haskell/cabal/runs/7984223230?check_suite_focus=true, up to
|
ah, now I see it, thanks! |
4632b5f
to
577e83b
Compare
Windows 🤯 |
Joy. This is something to do with foreign libraries, which has just been changed in GHC and cabal. @bgamari: does it look there is a problem in the new machinery or is the test outdated somehow? It's this one: https://github.com/haskell/cabal/tree/master/cabal-testsuite/PackageTests/ForeignLibs |
@Mistuke: did you see anything like that in you 9.4 tests or does it ring a bell otherwise?
The log is from https://github.com/haskell/cabal/runs/8028896326?check_suite_focus=true The test is https://github.com/haskell/cabal/tree/master/cabal-testsuite/PackageTests/ForeignLibs |
@Mikolaj in GHC 9.4 the foreign wrappers were rewritten, so might be a bug there, but the test itself is a bit suspicious, the call to Does it work if you add |
@Mistuke adding |
Ah, I'll take a look tomorrow morning then.
…Sent from my Mobile
On Fri, Aug 26, 2022, 23:40 Artem Pelenitsyn ***@***.***> wrote:
@Mistuke <https://github.com/Mistuke> adding extern doesn't seem to make
a difference.
—
Reply to this email directly, view it on GitHub
<#8420 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAI7OKOYWJFMUHFDPACJIUDV3FBVLANCNFSM57IZ3M3A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I hand-merged it, so maybe you can rebase this on latest |
e83a6fc
to
7b502cf
Compare
Thanks. Done. |
@ulysses4ever I'm having some trouble reproducing the issue, what's the easiest way to? |
alternatively, is it possible to get a GHC |
@Mistuke I'm sorry but I don't have a Windows machine suitable for reproduction of the failure at hand. We only see the failure in CI currently. I can try to get such a machine but it may take time. If you have one, the way to reproduce it is:
(forward slashes should work on Windows, right? otherwise, change for backslashes in the test path...) |
9dc5cab
to
b025976
Compare
Oh my goodness... I think I solved it -- by updating cabal in the container with old GHC. Ready for review! |
b025976
to
ed0c0b5
Compare
5570e88
to
3ceebb1
Compare
Why are some of the tests guarded by |
@ysangkok no particular reason, I guess. What do you propose, 9.4.2 or 9.4.*? I can set whatever you think is better (I have no preference, personally). |
Probably better to use |
3ceebb1
to
d025a99
Compare
@ysangkok done! |
@ysangkok since you took a look into it, maybe you'd consider approving it. |
Thanks @Kleidukos! I'm using merge-me instead of squash because I specifically tried to organize commits so that a) they were individually buildable and pass CI (though I haven't check :-)) and b) so that the Windows tests can re-enabled with a simple revert when #8451 is addressed. |
…component.test.hs
Tracked as haskell#8451. ForeignLibs test was marked as broken on Mac for GHC 8.0 but we dropped 8.0 support, so that info was removed.
plans viable from 7.x through 9.4
d025a99
to
5f905a9
Compare
Current status: slowly working through test failures... See discussion below.
Please also shortly describe how you tested your change. Bonus points for added tests!