
After rebuilt HTTP-3001.1.3, I reinstalled, no luck, same error. I am rebuilding GHC-6.8.3, to see.... Duncan Coutts wrote:
On Tue, 2008-10-14 at 13:51 +0800, Magicloud wrote:
Sigh again, something that always makes me think that cabal is unusable....
~/.cabal/lib/HTTP-3001.1.3/ghc-6.8.3/libHSHTTP-3001.1.3.a(Browser.o)(.text+0x5aa6): In function `rp46_info': : undefined reference to `mtlzm1zi1zi0zi1_ControlziMonadziIdentity_zdf2_closure'
What is almost certainly going on is that mtl has been rebuilt but the other packages that depend on it (like http) have not.
I wonder if we could detect this better in ghc-6.10.2. There are ABI hashes available, so if we could record them in the package registration info then we should be able to detect when a dependent package has changed ABI. The longer term solution is to use a nix-style persistent package store.
The short term solution in this case is probably to rebuild the HTTP package.
Duncan