Closed ghost closed 9 years ago
So, what's your conclusion here? Is there something to be fixed in haskell-names? Or in the primitive package? Or should we just bundle a pre-compiled version of primitive
?
I think it's due to haskell-names
, because I've seen it happen in other packages. The workaround seems to work fine for them, but I don't know whether it'll fix all problems like this one. I also don't know how this problem occurs, because I'm not (yet) familiar enough with hs-gen-iface's innards.
Going forward I want to remove the dependency on haskell-packages and support for hs-gen-iface. Sorry.
When running with -v3, we see that
HsFFI.h
isn't found:This problem doesn't occur during normal use of cabal-install.
--extra-include-dirs=/usr/lib/ghc/include
is a quick fix to the problem.