Ticket #1750 (closed merge: fixed)
ghc-pkg stack overflow when mutually dependent packages installed
| Reported by: | greenrd | Owned by: | igloo |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.8.3 |
| Component: | Compiler | Version: | 6.7 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Easy (less than 1 hour) | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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
- Setup.hs build would stack overflow
- ghc-pkg list would stack overflow
I realised that there was a mutual dependency, and manually edited package.conf to unregister one of them. This fixed the problem.
Change History
Note: See
TracTickets for help on using
tickets.
