Build broken

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Build broken

Geoffrey Mainland
I attempted to rebase my fix for #11487, but I can no longer validate.
The culprit is 6c7760b2. I am seeing the errors below under linux,
building with 7.10.3.

Herbert, I hope there is a quick fix?

Thanks,
Geoff

libraries/unix/System/Posix/IO/Common.hsc:316:61: error:
    • Couldn't match type ‘()’ with ‘Base.CFLock’
      Expected type: Ptr Base.CFLock
        Actual type: Ptr CFLock
    • In the third argument of ‘Base.c_fcntl_lock’, namely ‘p_flock’
      In the second argument of ‘throwErrnoIfMinus1_’, namely
        ‘(Base.c_fcntl_lock fd (5) p_flock)’
      In a stmt of a 'do' block:
        throwErrnoIfMinus1_ "getLock" (Base.c_fcntl_lock fd (5) p_flock)

libraries/unix/System/Posix/IO/Common.hsc:364:61: error:
    • Couldn't match type ‘()’ with ‘Base.CFLock’
      Expected type: Ptr Base.CFLock
        Actual type: Ptr CFLock
    • In the third argument of ‘Base.c_fcntl_lock’, namely ‘p_flock’
      In the second argument of ‘throwErrnoIfMinus1_’, namely
        ‘(Base.c_fcntl_lock fd (6) p_flock)’
      In the expression:
        throwErrnoIfMinus1_ "setLock" (Base.c_fcntl_lock fd (6) p_flock)

libraries/unix/System/Posix/IO/Common.hsc:371:35: error:
    • Couldn't match type ‘()’ with ‘Base.CFLock’
      Expected type: Ptr Base.CFLock
        Actual type: Ptr CFLock
    • In the third argument of ‘Base.c_fcntl_lock’, namely ‘p_flock’
      In the second argument of ‘throwErrnoIfMinus1_’, namely
        ‘(Base.c_fcntl_lock fd (7) p_flock)’
      In the expression:
        throwErrnoIfMinus1_
          "waitToSetLock" (Base.c_fcntl_lock fd (7) p_flock)

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs