[darcs-users] failure building 1.0.3

Tomasz Zielonka tomasz.zielonka at gmail.com
Wed May 25 15:05:05 UTC 2005


On Wed, May 25, 2005 at 10:10:56AM -0400, Michael Davidson wrote:
> I was able to build 1.0.3rc2 just fine, but after pulling, I now get this:
> 
> ---
> [mdavids at bantha]~/src/darcs 42 % ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.2.1
> [mdavids at bantha]~/src/darcs 43 % gmake
> ghc  -cpp  -package parsec -package unix -O -funbox-strict-fields  -Wall -Werror -package util -I. -DHAVE_CURL -c Workaround.hs
> 
> Workaround.hs:32:
>     Couldn't match `FilePath' against `Bool'
>         Expected type: FilePath
>         Inferred type: Bool
>     In the third argument of `GHC.Handle.openFd', namely `b'
>     In the definition of `openFd':
>         openFd fd x y z a b = GHC.Handle.openFd fd x b y z a
> gmake: *** [Workaround.o] Error 1
> ---
> 
> I see in Workaround.hs that this is compensation for a change in the
> openFd API; was this a change in 6.4?

I tested that it compiles both in 6.2.2 and 6.4, so the change must have
happened between 6.2.1 and 6.2.2. AFAIK, this was one of the changes
breaking the policy of no interface changes in patchlevel releases.

Best regards
Tomasz




More information about the darcs-users mailing list