Ticket #1106 (closed merge: fixed)

Opened 6 years ago

Last modified 5 years ago

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

Changed 6 years ago by bos

  • summary changed from During install, network's Typeable.h clobber's base's copy to During install, network's Typeable.h clobbers base's copy

Changed 6 years ago by igloo

  • milestone set to 6.6.1

Changed 6 years ago by bos

By the way, Jens and I have tested dropping network's Typeable.h, and everything seems OK. Your mileage may vary, of course.

Changed 6 years ago by simonmar

  • owner set to igloo
  • type changed from bug to merge

Fixed. To merge:

Thu Feb  1 12:58:21 GMT 2007  Simon Marlow <simonmar@microsoft.com>
  * don't install Typeable.h, fixes #1106

Changed 6 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

network is an extralib, so no merging to be done.

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.