The package GLFW is not building in Cabal 1.18.Setup.hs [1] depends on `rawSystemStdInOut` [2] that changed signature between 1.16 and 1.18.Is this considered a public API of Cabal?Cabal 1.16rawSystemStdInOut:: Verbosity-> FilePath-> [String]-> Maybe (String, Bool)-> Bool-> IO (String, String, ExitCode)Cabal 1.18rawSystemStdInOut:: Verbosity-> FilePath-> [String]-> Maybe FilePath -- new arg-> Maybe [(String, String)] -- new arg-> Maybe (String, Bool)-> Bool-> IO (String, String, ExitCode)Compilation output:[1 of 1] Compiling Main ( /tmp/GLFW-0.5.1.0-4035/GLFW-0.5.1.0/Setup.hs, /tmp/GLFW-0.5.1.0-4035/GLFW-0.5.1.0/dist/setup/Main.o )/tmp/GLFW-0.5.1.0-4035/GLFW-0.5.1.0/Setup.hs:167:33:Couldn't match expected type `IO (t0, t1, ExitCode)'with actual type `Maybe (String, Bool)-> Bool -> IO (String, String, ExitCode)'In the return type of a call of `rawSystemStdInOut'Probable cause: `rawSystemStdInOut' is applied to too few argumentsIn a stmt of a 'do' block:(out, err, exitCode) <- rawSystemStdInOutverbosity "cc" (["-c", path, "-o", objPath] ++ flags) Nothing FalseIn the expression:do { hClose outHandle;hPutStr inHandle contents;hClose inHandle;(out, err, exitCode) <- rawSystemStdInOutverbosity "cc" (["-c", path, ....] ++ flags) Nothing False;.... }/tmp/GLFW-0.5.1.0-4035/GLFW-0.5.1.0/Setup.hs:167:113:Couldn't match expected type `Maybe [(String, String)]'with actual type `Bool'In the fifth argument of `rawSystemStdInOut', namely `False'In a stmt of a 'do' block:(out, err, exitCode) <- rawSystemStdInOutverbosity "cc" (["-c", path, "-o", objPath] ++ flags) Nothing FalseIn the expression:do { hClose outHandle;hPutStr inHandle contents;hClose inHandle;(out, err, exitCode) <- rawSystemStdInOutverbosity "cc" (["-c", path, ....] ++ flags) Nothing False;.... }Failed to install GLFW-0.5.1.0
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe