Skip to content
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

"mkPluginUsage: file not found" warning in haddock generation on GHC-8.8 #66

Closed
msakai opened this issue Mar 25, 2020 · 1 comment
Closed

Comments

@msakai
Copy link
Contributor

msakai commented Mar 25, 2020

(from #63)

Haddock issued the following warning on GHC-8.8.

haddock: panic! (the 'impossible' happened)
  (GHC version 8.8.3 for x86_64-unknown-linux):
	mkPluginUsage: file not found
Data.UnitsOfMeasure.Plugin /tmp/.haddock-16403/Data/UnitsOfMeasure/Plugin.o
Call stack:
    CallStack (from HasCallStack):
      callStackDoc, called at compiler/utils/Outputable.hs:1159:37 in ghc:Outputable
      pprPanic, called at compiler/deSugar/DsUsage.hs:235:15 in ghc:DsUsage
Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug
Warning: Failed to build documentation for uom-plugin-0.3.0.0.

It seems the problem was already reported at https://gitlab.haskell.org/ghc/ghc/issues/16093 and some workarounds are suggested there.

@adamgundry
Copy link
Owner

adamgundry commented Oct 8, 2022

Looks like this is resolved (in 9.4.x, to be precise).

adamgundry added a commit that referenced this issue Oct 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants