[GHC] #1106: During install,
network's Typeable.h clobber's base's copy
GHC
trac at galois.com
Tue Jan 16 13:34:28 EST 2007
#1106: During install, network's Typeable.h clobber's base's copy
-------------------------+--------------------------------------------------
Reporter: bos | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.6
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Architecture: Unknown | Os: Unknown
-------------------------+--------------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1106>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list