Ticket #1106 (closed merge: fixed)
During install, network's Typeable.h clobbers base's copy
| Reported by: | bos | Owned by: | igloo |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.6.1 |
| Component: | Compiler | Version: | 6.6 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
There are two copies of Typeable.h in a fully populated GHC tree. The copy in libraries/network/include is a cut-down version of the copy from libraries/base/include.
Unfortunately, the network copy overwrites the base copy when GHC is installed. Since the network version defines INSTANCE_TYPEABLE0 but not [123], anything that rquires one of the other definitions is going to break.
This affects hs-plugins, for example; I can't build it, because on my Fedora box, it's getting network's copy of Typeable.h.
It seems that a correct approach would be to drop the less-capable duplicate from the network tree.
Change History
Note: See
TracTickets for help on using
tickets.
