ghc-6.4 bootstrap problem with System/CPUTime_hsc.c

2005-04-06 Thread Andy Dougherty
I have been attempting to bootstrap ghc-6.4 on a Solaris 2.8/SPARC system with no previous version of ghc installed. I'm currently stuck at System/CPUTime_hsc.c. The build fails at the following point: $ distrib/hc-build --enable-hc-boot-unregistered [ many successful lines skipped ]

RE: [ ghc-Bugs-1175454 ] System.system fails on windows98se, also disables ghci's :!

2005-04-06 Thread Simon Marlow
On 05 April 2005 20:33, Claus Reinke wrote: Let me see if I get the call-chain correct (System.-prefix omitted): Cmd.rawSystem - Process.runProcess - Process.Internals.runProcessWin32 Cmd.system - Process.runCommand - Process.Internals.commandToProcess +

RE: exposed package exposes dependent packages

2005-04-06 Thread Simon Marlow
On 06 April 2005 00:06, Duncan Coutts wrote: On Tue, 2005-04-05 at 23:34 +0100, Simon Marlow wrote: Well it turns out that we had another package installed that depends on the util package (cabal-0.5 as it happens) and that package is exposed by default. It seems that this implicitly exposes

RE: Broken Web links in ghc-6.4 top-level README

2005-04-06 Thread Simon Marlow
On 05 April 2005 18:03, Andy Dougherty wrote: Attempting to read the installation instructions from the site suggested in the README file in the root directory results in Not Found. Specifically, it points to: http://www.haskell.org/ghc/docs/latest/html/building/building-guide.html

Re: exposed package exposes dependent packages

2005-04-06 Thread Andres Loeh
Our example was compiling happy. happy does not import anything from cabal-0.5 and yet it was hit by this problem. Unless we consider 'part of the program' to be all modules in all exposed packages (and all modules in 'efectively exposed' packages like util via the cabal-0.5 dep).

RE: Broken Web links in ghc-6.4 top-level README

2005-04-06 Thread Andy Dougherty
On Wed, 6 Apr 2005, Simon Marlow wrote: On 05 April 2005 18:03, Andy Dougherty wrote: Attempting to read the installation instructions from the site suggested in the README file in the root directory results in Not Found. Specifically, it points to:

Bug in hDuplicateTo in GHC 6.4

2005-04-06 Thread Volker Wysk
Hello. The following program demonstrates the bug: import GHC.Handle import GHC.IOBase import GHC.Conc import IO main = do h - openFile /tmp/out WriteMode hDuplicateTo h stdout fdh - getfd h fdstdout - getfd stdout hPutStrLn stderr (h: ++ show fdh ++ \nstdout: ++ show

RE: Bug in hDuplicateTo in GHC 6.4

2005-04-06 Thread Simon Marlow
On 06 April 2005 16:16, Volker Wysk wrote: The following program demonstrates the bug: import GHC.Handle import GHC.IOBase import GHC.Conc import IO main = do h - openFile /tmp/out WriteMode hDuplicateTo h stdout fdh - getfd h fdstdout - getfd stdout hPutStrLn