Compilation problem using GHC 7.4.2 #3

gatoatigrado opened this Issue Jan 15, 2013 · 3 comments


None yet
3 participants

I'm getting a difficult-to-diagnose compilation issue, using GHC 7.4.2. (git version be4545c). Here's the compilation output,

gatoatigrado@oliver:~/sandbox/oss/th-orphans> cabal configure
Resolving dependencies...
Configuring th-orphans-0.6...
gatoatigrado@oliver:~/sandbox/oss/th-orphans> cabal build
Building th-orphans-0.6...
Preprocessing library th-orphans-0.6...
[1 of 1] Compiling Language.Haskell.TH.Instances ( src/Language/Haskell/TH/Instances.hs, dist/build/Language/Haskell/TH/Instances.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package array- ... linking ... done.
Loading package deepseq- ... linking ... done.
Loading package containers- ... linking ... done.
Loading package pretty- ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package th-lift-0.5.5 ... linking ... done.


and here's a the versions of dependencies installed, from ghc-pkg,


Let me know how I can help in getting you more helpful debug information.


bmillwood commented Jan 15, 2013

GHC 7.4.2 comes with template-haskell I'd advise you to stick to that, and remove the one you've installed locally. TH is really too wired-in to upgrade separately from GHC, I think.

The behaviour you're seeing is odd, but too odd for me to really track down.


mgsloan commented Jan 16, 2013

That is a weird error message. Maybe a bug in deriveLiftMany?

Maybe try changing the end of the file to something like?

                 , ''ClassInstance

                 , ''InlineSpec
                 , ''Kind

Just guessing that your template-haskell thinks it's, but looks more like


mgsloan commented Feb 11, 2015

Closing this as it's an old issue. Reopen if it's still a problem!

mgsloan closed this Feb 11, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment