ghc-pkg stack overflow when mutually dependent packages installed
I erroneously added mutual dependencies between two packages I was working on. When I installed them both, both Cabal and ghc-pkg started behaving strangely:
- Setup.hs configure would run, but very slowly[[BR]]
- Setup.hs build would stack overflow[[BR]]
- ghc-pkg list would stack overflow[[BR]]
I realised that there was a mutual dependency, and manually edited package.conf to unregister one of them. This fixed the problem.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.7 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | None |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Linux |
| Architecture | x86_64 (amd64) |