ghc-pkg does not build
I am experiencing build errors with HEAD. Steps to reproduce:
git clone http://darcs.haskell.org/ghc.git ghc-working
cd ghc-working/
./sync-all get
perl boot
./configure
make
Build process terminates with an error:
utils/ghc-pkg/Main.hs:881:3:
No instance for (Bin.Binary (InstalledPackageInfo_ String))
arising from a use of `writeBinaryFileAtomic'
Possible fix:
add an instance declaration for
(Bin.Binary (InstalledPackageInfo_ String))
In the first argument of `catchIO', namely
`writeBinaryFileAtomic
filename (map convertPackageInfoOut (packages db))'
...
I'm using GHC 7.6.2.20130129 for bootstrapping. I'm stuck with development because of this :/
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.6.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | ghc-pkg |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |