*** setup configure Creating setup (and its parents) /usr/local/bin/ghc --make Setup.lhs -o setup/setup -odir setup -hidir setup Distribution/Simple/LocalBuildInfo.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface #-} instead Distribution/Simple/Utils.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface #-} instead [ 2 of 40] Compiling Distribution.Simple.PreProcess.Unlit ( Distribution/Simple/PreProcess/Unlit.hs, setup/Distribution/Simple/PreProcess/Unlit.o ) [ 4 of 40] Compiling Distribution.Compiler ( Distribution/Compiler.hs, setup/Distribution/Compiler.o ) [ 5 of 40] Compiling Distribution.Compat.TempFile ( Distribution/Compat/TempFile.hs, setup/Distribution/Compat/TempFile.o ) Distribution/Compat/TempFile.hs:60:43: Ambiguous type variable `e' in the constraint: `GHC.Exception.Exception e' arising from a use of `try' at Distribution/Compat/TempFile.hs:60:43-63 Probable fix: add a type signature that fixes these type variable(s) *** Trying again with preferred-versions *** setup configure Creating setup (and its parents) /usr/local/bin/ghc --make Setup.lhs -o setup/setup -odir setup -hidir setup Distribution/Simple/LocalBuildInfo.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface #-} instead Distribution/Simple/Utils.hs:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface #-} instead [ 5 of 40] Compiling Distribution.Compat.TempFile ( Distribution/Compat/TempFile.hs, setup/Distribution/Compat/TempFile.o ) Distribution/Compat/TempFile.hs:60:43: Ambiguous type variable `e' in the constraint: `GHC.Exception.Exception e' arising from a use of `try' at Distribution/Compat/TempFile.hs:60:43-63 Probable fix: add a type signature that fixes these type variable(s)