Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#9170 closed bug (worksforme)

haddock: panic! (the 'impossible' happened)

Reported by: diego.saa Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.6.3
Keywords: Cc:
Operating System: MacOS X Architecture: Unknown/Multiple
Type of failure: Compile-time crash Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description (last modified by simonpj)

After running "cabal install yi", I got this message:

dist/build/tmp-79484/src/library/Yi/Eval.hs:139:5: Warning:
    Defined but not used: `publishedActions_'
  73% ( 11 / 15) in 'Yi.Eval'
  19% (  5 / 26) in 'Yi.Modes'
  25% (  1 /  4) in 'Yi.Mode.IReader'
   0% (  0 /  2) in 'Yi.Mode.Compilation'
  33% (  1 /  3) in 'Yi.Mode.JavaScript'
  50% (  2 /  4) in 'Yi.Mode.Latex'
  31% (  4 / 13) in 'Yi.Mode.Interactive'
  60% (  9 / 15) in 'Yi.Command'
  58% ( 15 / 26) in 'Yi.Keymap.Emacs.Utils'
haddock: panic! (the 'impossible' happened)
  (GHC version 7.6.3 for x86_64-apple-darwin):
	mkWWcpr: not a product
<<details unavailable>>

Please report this as a GHC bug:

Installing library in /Users/diegos/Library/Haskell/ghc-7.6.3/lib/yi-0.8.1/lib
Installing executable(s) in
Registering yi-0.8.1...
Installed yi-0.8.1

I'm on OS 10.9.3, GHC 7.6.3.

Please let me know if I can provide any other info that could be helpful, or if a full output would help.

Thanks, Diego Saa

Change History (2)

comment:1 Changed 3 years ago by simonpj

Description: modified (diff)
Resolution: worksforme
Status: newclosed

Thank you -- that looks bad.

You say "Version = 7.8.2" in the ticket header, but then in your comments you say GHC 7.6.3. Let's assume the comments are right.

I've just successfully done cabal install yi with (something very close to) 7.8.2. So I think it's probably already fixed. Do re-open if you disagree.


comment:2 Changed 3 years ago by Fuuzetsu

Actually I was made aware of this few weeks ago (precisely with 7.6.3 and precisely for Yi). I have in fact a check-out here of Yi that fails to Haddock with 7.6.3 but I just built the docs fine with 7.8.2 with the respective Haddock versions that come with each so yes, it does seem to have gone away.

Note that I don't recall fixing anything like this specifically so it seems like it was a GHC change.

Note: See TracTickets for help on using tickets.