Build broken

Geoffrey Mainland mainland at apeiron.net
Sat Jan 30 22:32:07 UTC 2016


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)



More information about the ghc-devs mailing list