Reputation: 1112
using cabal; came accross this error.
did cabal install
and this happened.
failed during the building phase. The exception was: ExitFailure 1
checked my log; it said:
dist/package.conf.inplace: inappropriate type
I have 0 ideas what's going on. cabal build
works though. #STRANGE
Upvotes: 1
Views: 396
Reputation: 14999
You can get this error if you previously built your package with an older (or newer) version of Cabal and now are building with a newer (or older) version.
Not enough information to determine whether this is the problem in your case.
If it is, I think cabal clean
should fix it (though I usually just rm -rf dist
).
Upvotes: 0
Reputation: 152682
Possible explanation: you have upgraded GHC to 7.10, which does things a bit differently I gather, but not upgraded cabal-install. If this is the problem, running
cabal install cabal-install -w ghc-7.8.4 # or whatever other version of GHC you have
may fix the problem.
Upvotes: 3