-
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
haddock test related failures with GHC 9.0.2 and 9.2.{1,2,3} #7987
Comments
@Kleidukos, @wz1000: any cheap shot at why this fails with 9.0.2 and not 9.0.1? |
Might be related to https://gitlab.haskell.org/ghc/ghc/-/issues/20903 |
No idea on my end :( |
Thanks. @hasufell: I guess you had no reports of 9.0.2 having missing/broken haddocks in the Linux package, as distributed by ghcup? Probably not the case, but just checking. |
Some 9.0.2 distributions (all the hadrian generated ones in fact - which would be the fedora one IIRC) also don't have haddocks. |
@wz1000: thank you. So nothing to worry about. It'll get fixed in 9.0.3, if it gets released. @andreabedini: how would you mark the failures as expected so that we remember to unmark then when 9.0.3 is out? Perhaps we should leave this ticket open to remember? Change the ticket title mentioning 9.0.3 and adding lots of exclamation marks? |
No idea |
@Mikolaj Given all three failures seem to be related to haddock, I'd say we can use this ticket, either as it as it is or changing the title. The ticket is also mentioned in the workflow so we can be reminded from there too. |
This seems to appen on GHC 9.2 too https://github.com/haskell/cabal/runs/5298365693?check_suite_focus=true#step:11:1995 |
Failures are tracked in issues haskell#7610 haskell#7987 haskell#7989
Failures are tracked in issues haskell#7610 haskell#7987 haskell#7989 haskell#8028
Failures are tracked in issues haskell#7610 haskell#7987 haskell#7989 haskell#8028 haskell#8032
Failures are tracked in issues haskell#7610 haskell#7987 haskell#7989 haskell#8028 haskell#8032
One more observation: after successfully checking Haddocks in |
Is there a workaround to avoid this crash, beyond simply not building documentation? |
@roconnor-blockstream: I don't think we know of any. What's the scenario in which you get an error of this kind? |
Building my project under GHC 9.2 (and 9.4). More specifically the
My project makes use of Backpack. |
Thank you for the details. Where is that |
Sorry. I should have written
|
OK, that's an important hint for somebody willing to dig into cabal and haddock code. And the |
Using
while using
But these response files are cleaned up right away so I cannot view them. Is there a flag to keep them? |
Ouch, that's not as helpful as I imagined. I can't find any such option either in |
such flag (--keep-temp-files?) would be really useful to trace problems like this |
the One thing to observe is that |
Oh, that rings a bell. There was a realated (partial?) fix recently: #7827. Also related: haskell/haddock#1363 amd haskell/haddock#1379. But OTOH, I seem to remember support for multiple (public?) libraries was supposed to be added only at the |
BTW, is haskell/haddock#1363 fixed? @roconnor-blockstream seems to have a reasonable experience with |
I wouldn't say I have a reasonable experience. I make due with making a manual index.html, and even then, all the problems in haskell/haddock#1363 persist (plus now it is simply crashing). I just assumed they would be fixed one day, but maybe the right answer is to use |
FWIW, I no longer get these |
Wonderful. Anything else left to be done in this ticket? Do the tests from the ticket description pass now? |
From #7952 (comment)
The following tests fail on GHC 9.0.2 (but not GHC 9.0.1) on both Linux and Mac
A failed run is https://github.com/haskell/cabal/runs/5178990935?check_suite_focus=true#step:10:1374
In all cases, the error happens while dealing with haddock. The relevant part of the log is:
The text was updated successfully, but these errors were encountered: