-
Notifications
You must be signed in to change notification settings - Fork 691
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
cannot find normal object file #1266
Comments
Yes, I haven't tested with GHC 7.7. Unfortunately, I don't have time to do it right now. Related: #1252. |
Tried building |
Should be fixed in HEAD. Please reopen if this still happens. |
This seems to still be broken. We can not run Template Haskell HTML tests in Haddock through cabal. It works just fine if you run these files directly using Haddock.
Steps to reproduce:
Please re-open. |
I'm getting the following error while trying to build
Does this mean I need a more recent GHC HEAD snapshot?
|
Aha, this was a recent change: ghc/haddock@34d2aa5 Fixed by reverting to ghc/haddock@9f356e8. |
OK, have to run, will finish later. |
That means your GHC was too old. We tightly couple with GHC API. The error should persist with older Haddock so it should persist with your revert. |
OK, now I am getting
when trying to run Any idea how to fix this? |
Managed to reproduce this with
|
Ah, that old error. I don't remember the fix but I'm glad that you managed to reproduce on traverse. I suggest you use that for testing as Haddock behaviour depends heavily on the GHC you're using &c which is hard to control and reproduce. |
This problem is caused by the fact that when GHC is dynamic-by-default, the modules loaded during the TH phase must use the same ABI. That's why it complains about the missing To fix this in Cabal, we need to be able to find out whether the GHC that However, wouldn't it be better to fix Haddock itself to produce |
Unfortunately I'm unsure how this would look on our end, ping @sol for input on this. |
You need to parse the output of |
Created a ticket on the Haddock bug tracker. |
Can this be postponed to after 1.18? |
Alright, thanks for looking into it! |
Hmm, I'm still getting the exact same error with Cabal & cabal-install from git master, and ghc-7.7.20131012.
|
Strange, works fine here with GHC 7.7.20130711:
|
@feuerbach |
I found what triggers the bug. It's |
That makes sense. I'll investigate why the value of |
You need to add |
That worked (even with |
Hmm, yes, |
I cannot build traverse-with-class with GHC 7.7.20130407. Following #1207, I built Cabal master (which includes Mikhail's patch), but I get the same error:
The text was updated successfully, but these errors were encountered: