
Hi Ian, On Nov 12, 2008, at 5:52 PM, Ian Lynagh wrote:
On Wed, Nov 12, 2008 at 12:42:00PM -0500, Gregory Wright wrote:
The hpc library is the only one that requires the external hsc2hs. Is this new dependency intentional, or is this a build system bug?
I don't think that the build dep is necessary, but with the current filesystem layout it's a pain to avoid. We would need to, with the bootstrapping compiler:
Build libraries/{filepath,Cabal,cabal-bin} Build utils/hsc2hs Build libraries/hpc Build compiler (stage 1)
We plan to rewrite the build system for 6.12 anyway, so I think we should take care of this then. It probably makes sense to merge (some of?) "utils" and "libraries" into "packages".
As far as 6.10 is concerned, we install hsc2hs with ghc by default, so I think it is reasonable to depend on it.
OK. I'll file a placeholder bug report so this doesn't get forgotten. I understand the reason for leaving it as is for now, but hope that we avoid creeping dependence on more tools. BTW, now that ghc distributes its own version of haddock, could that version be renamed to avoid the obvious namespace clash? Macports will rename ghc's haddock to haddock-ghc so it doesn't conflict with the one installed from hackage. Or is there a better plan? Best Wishes, Greg