Resolving dependencies... Configuring OpenGL-2.2.3.1... configure: WARNING: unrecognized options: --with-gcc checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for Windows environment... no checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for atan... no checking for atan in -lm... yes checking for GL library... -lGL -lm checking for GLU library... -lGLU -lGL -lm checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking OpenGL/gl.h usability... no checking OpenGL/gl.h presence... no checking for OpenGL/gl.h... no checking GL/glu.h usability... yes checking GL/glu.h presence... yes checking for GL/glu.h... yes checking OpenGL/glu.h usability... no checking OpenGL/glu.h presence... no checking for OpenGL/glu.h... no checking Haskell type for GLboolean... Word8 checking Haskell type for GLbyte... Int8 checking Haskell type for GLubyte... Word8 checking Haskell type for GLshort... Int16 checking Haskell type for GLushort... Word16 checking Haskell type for GLint... Int32 checking Haskell type for GLuint... Word32 checking Haskell type for GLsizei... Int32 checking Haskell type for GLenum... Word32 checking Haskell type for GLbitfield... Word32 checking Haskell type for GLfloat... Float checking Haskell type for GLclampf... Float checking Haskell type for GLdouble... Double checking Haskell type for GLclampd... Double checking Haskell type for char... Int8 checking Haskell type for GLchar... Int8 checking Haskell type for ptrdiff_t... Int64 checking Haskell type for GLintptr... Int64 checking Haskell type for GLsizeiptr... Int64 configure: creating ./config.status config.status: creating OpenGL.buildinfo config.status: creating include/HsOpenGLConfig.h config.status: creating include/HsOpenGL.h configure: WARNING: unrecognized options: --with-gcc Building OpenGL-2.2.3.1... Preprocessing library OpenGL-2.2.3.1... [ 1 of 86] Compiling Graphics.Rendering.OpenGL.GL.FlushFinish ( Graphics/Rendering/OpenGL/GL/FlushFinish.hs, dist/build/Graphics/Rendering/OpenGL/GL/FlushFinish.o ) [ 2 of 86] Compiling Graphics.Rendering.OpenGL.GL.IOState ( Graphics/Rendering/OpenGL/GL/IOState.hs, dist/build/Graphics/Rendering/OpenGL/GL/IOState.o ) Graphics/Rendering/OpenGL/GL/IOState.hs:31:10: No instance for (Applicative (IOState s)) arising from the superclasses of an instance declaration In the instance declaration for ‘Monad (IOState s)’ Graphics/Rendering/OpenGL/GL/IOState.hs:44:4: Could not deduce (Applicative (IOState a)) arising from a do statement from the context (Storable a) bound by the type signature for peekIOState :: Storable a => IOState a a at Graphics/Rendering/OpenGL/GL/IOState.hs:42:16-40 In a stmt of a 'do' block: ptr <- getIOState In the expression: do { ptr <- getIOState; x <- liftIOState $ peek ptr; putIOState (ptr `plusPtr` sizeOf x); return x } In an equation for ‘peekIOState’: peekIOState = do { ptr <- getIOState; x <- liftIOState $ peek ptr; putIOState (ptr `plusPtr` sizeOf x); .... } Graphics/Rendering/OpenGL/GL/IOState.hs:56:12: Could not deduce (Applicative (IOState b)) arising from a use of ‘sequence’ from the context (Integral a) bound by the type signature for nTimes :: Integral a => a -> IOState b c -> IOState b [c] at Graphics/Rendering/OpenGL/GL/IOState.hs:55:11-57 In the first argument of ‘(.)’, namely ‘sequence’ In the expression: sequence . replicate (fromIntegral n) In an equation for ‘nTimes’: nTimes n = sequence . replicate (fromIntegral n) Failed to install OpenGL-2.2.3.1 [1 of 1] Compiling Main ( /tmp/cabal-tmp-16279/SDL-0.6.5.1/dist/setup/setup.hs, /tmp/cabal-tmp-16279/SDL-0.6.5.1/dist/setup/Main.o ) Linking /tmp/cabal-tmp-16279/SDL-0.6.5.1/dist/setup/setup ... Configuring SDL-0.6.5.1... configure: WARNING: unrecognized options: --with-compiler, --with-gcc checking for sdl-config... /usr/bin/sdl-config configure: creating ./config.status config.status: creating config.mk config.status: creating SDL.buildinfo config.status: creating includes/HsSDLConfig.h configure: WARNING: unrecognized options: --with-compiler, --with-gcc Building SDL-0.6.5.1... Preprocessing library SDL-0.6.5.1... [ 1 of 16] Compiling Graphics.UI.SDL.Utilities ( Graphics/UI/SDL/Utilities.hs, dist/build/Graphics/UI/SDL/Utilities.o ) [ 2 of 16] Compiling Graphics.UI.SDL.CPUInfo ( Graphics/UI/SDL/CPUInfo.hs, dist/build/Graphics/UI/SDL/CPUInfo.o ) [ 3 of 16] Compiling Graphics.UI.SDL.Version ( dist/build/Graphics/UI/SDL/Version.hs, dist/build/Graphics/UI/SDL/Version.o ) Graphics/UI/SDL/Version.hsc:17:10: Warning: No explicit implementation for either ‘Foreign.Storable.poke’ or ‘Foreign.Storable.pokeElemOff’ or ‘Foreign.Storable.pokeByteOff’ In the instance declaration for ‘Storable SDLVersion’ [ 4 of 16] Compiling Graphics.UI.SDL.Keysym ( dist/build/Graphics/UI/SDL/Keysym.hs, dist/build/Graphics/UI/SDL/Keysym.o ) [ 5 of 16] Compiling Graphics.UI.SDL.Color ( Graphics/UI/SDL/Color.hs, dist/build/Graphics/UI/SDL/Color.o ) [ 6 of 16] Compiling Graphics.UI.SDL.Audio ( dist/build/Graphics/UI/SDL/Audio.hs, dist/build/Graphics/UI/SDL/Audio.o ) [ 7 of 16] Compiling Graphics.UI.SDL.Types ( dist/build/Graphics/UI/SDL/Types.hs, dist/build/Graphics/UI/SDL/Types.o ) [ 8 of 16] Compiling Graphics.UI.SDL.Time ( Graphics/UI/SDL/Time.hs, dist/build/Graphics/UI/SDL/Time.o ) [ 9 of 16] Compiling Graphics.UI.SDL.Rect ( dist/build/Graphics/UI/SDL/Rect.hs, dist/build/Graphics/UI/SDL/Rect.o ) [10 of 16] Compiling Graphics.UI.SDL.General ( dist/build/Graphics/UI/SDL/General.hs, dist/build/Graphics/UI/SDL/General.o ) [11 of 16] Compiling Graphics.UI.SDL.WindowManagement ( dist/build/Graphics/UI/SDL/WindowManagement.hs, dist/build/Graphics/UI/SDL/WindowManagement.o ) [12 of 16] Compiling Graphics.UI.SDL.RWOps ( Graphics/UI/SDL/RWOps.hs, dist/build/Graphics/UI/SDL/RWOps.o ) [13 of 16] Compiling Graphics.UI.SDL.Video ( dist/build/Graphics/UI/SDL/Video.hs, dist/build/Graphics/UI/SDL/Video.o ) [14 of 16] Compiling Graphics.UI.SDL.Events ( dist/build/Graphics/UI/SDL/Events.hs, dist/build/Graphics/UI/SDL/Events.o ) [15 of 16] Compiling Graphics.UI.SDL.Joystick ( dist/build/Graphics/UI/SDL/Joystick.hs, dist/build/Graphics/UI/SDL/Joystick.o ) [16 of 16] Compiling Graphics.UI.SDL ( Graphics/UI/SDL.hs, dist/build/Graphics/UI/SDL.o ) In-place registering SDL-0.6.5.1... Running Haddock for SDL-0.6.5.1... setup: Haddock's internal GHC version must match the configured GHC version. The GHC version is 7.10.2 but haddock is using GHC version 7.8.3 Creating package registration file: /tmp/pkgConf-SDL-0.6.52145174067468703135.1 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.10.2/SDL-0.6.5.1-26jmephxohM5v84vz7MqXX Registering SDL-0.6.5.1... Installed SDL-0.6.5.1 Configuring mtl-2.2.1... Building mtl-2.2.1... Preprocessing library mtl-2.2.1... [ 1 of 22] Compiling Control.Monad.Writer.Class ( Control/Monad/Writer/Class.hs, dist/build/Control/Monad/Writer/Class.o ) [ 2 of 22] Compiling Control.Monad.State.Class ( Control/Monad/State/Class.hs, dist/build/Control/Monad/State/Class.o ) [ 3 of 22] Compiling Control.Monad.Reader.Class ( Control/Monad/Reader/Class.hs, dist/build/Control/Monad/Reader/Class.o ) [ 4 of 22] Compiling Control.Monad.RWS.Class ( Control/Monad/RWS/Class.hs, dist/build/Control/Monad/RWS/Class.o ) [ 5 of 22] Compiling Control.Monad.Identity ( Control/Monad/Identity.hs, dist/build/Control/Monad/Identity.o ) [ 6 of 22] Compiling Control.Monad.Error.Class ( Control/Monad/Error/Class.hs, dist/build/Control/Monad/Error/Class.o ) [ 7 of 22] Compiling Control.Monad.Cont.Class ( Control/Monad/Cont/Class.hs, dist/build/Control/Monad/Cont/Class.o ) [ 8 of 22] Compiling Control.Monad.Trans ( Control/Monad/Trans.hs, dist/build/Control/Monad/Trans.o ) [ 9 of 22] Compiling Control.Monad.Error ( Control/Monad/Error.hs, dist/build/Control/Monad/Error.o ) [10 of 22] Compiling Control.Monad.Except ( Control/Monad/Except.hs, dist/build/Control/Monad/Except.o ) [11 of 22] Compiling Control.Monad.List ( Control/Monad/List.hs, dist/build/Control/Monad/List.o ) [12 of 22] Compiling Control.Monad.RWS.Lazy ( Control/Monad/RWS/Lazy.hs, dist/build/Control/Monad/RWS/Lazy.o ) [13 of 22] Compiling Control.Monad.RWS ( Control/Monad/RWS.hs, dist/build/Control/Monad/RWS.o ) [14 of 22] Compiling Control.Monad.Reader ( Control/Monad/Reader.hs, dist/build/Control/Monad/Reader.o ) [15 of 22] Compiling Control.Monad.RWS.Strict ( Control/Monad/RWS/Strict.hs, dist/build/Control/Monad/RWS/Strict.o ) [16 of 22] Compiling Control.Monad.State.Lazy ( Control/Monad/State/Lazy.hs, dist/build/Control/Monad/State/Lazy.o ) [17 of 22] Compiling Control.Monad.State ( Control/Monad/State.hs, dist/build/Control/Monad/State.o ) [18 of 22] Compiling Control.Monad.State.Strict ( Control/Monad/State/Strict.hs, dist/build/Control/Monad/State/Strict.o ) [19 of 22] Compiling Control.Monad.Writer.Lazy ( Control/Monad/Writer/Lazy.hs, dist/build/Control/Monad/Writer/Lazy.o ) [20 of 22] Compiling Control.Monad.Writer ( Control/Monad/Writer.hs, dist/build/Control/Monad/Writer.o ) [21 of 22] Compiling Control.Monad.Writer.Strict ( Control/Monad/Writer/Strict.hs, dist/build/Control/Monad/Writer/Strict.o ) [22 of 22] Compiling Control.Monad.Cont ( Control/Monad/Cont.hs, dist/build/Control/Monad/Cont.o ) In-place registering mtl-2.2.1... Running Haddock for mtl-2.2.1... cabal: Haddock's internal GHC version must match the configured GHC version. The GHC version is 7.10.2 but haddock is using GHC version 7.8.3 Creating package registration file: /tmp/pkgConf-mtl-2.21497983152038664370.1 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.10.2/mtl-2.2.1-KMpng31YRYc5JfMWFZ3FCU Registering mtl-2.2.1... Installed mtl-2.2.1 Configuring random-1.1... Building random-1.1... Preprocessing library random-1.1... [1 of 1] Compiling System.Random ( System/Random.hs, dist/build/System/Random.o ) System/Random.hs:43:1: Warning: Tab character System/Random.hs:45:1: Warning: Tab character System/Random.hs:47:1: Warning: Tab character System/Random.hs:53:1: Warning: Tab character System/Random.hs:55:1: Warning: Tab character System/Random.hs:56:1: Warning: Tab character System/Random.hs:57:1: Warning: Tab character System/Random.hs:59:1: Warning: Tab character System/Random.hs:61:1: Warning: Tab character System/Random.hs:63:1: Warning: Tab character System/Random.hs:64:1: Warning: Tab character System/Random.hs:65:1: Warning: Tab character System/Random.hs:66:1: Warning: Tab character System/Random.hs:68:1: Warning: Tab character System/Random.hs:69:1: Warning: Tab character System/Random.hs:70:1: Warning: Tab character System/Random.hs:71:1: Warning: Tab character System/Random.hs:73:1: Warning: Tab character System/Random.hs:74:1: Warning: Tab character System/Random.hs:76:1: Warning: Tab character System/Random.hs:90:22: Warning: Tab character System/Random.hs:91:17: Warning: Tab character System/Random.hs:94:17: Warning: Tab character System/Random.hs:102:15: Warning: Tab character System/Random.hs:240:1: Warning: Tab character System/Random.hs:241:1: Warning: Tab character System/Random.hs:249:1: Warning: Tab character System/Random.hs:269:1: Warning: Tab character System/Random.hs:270:1: Warning: Tab character System/Random.hs:271:1: Warning: Tab character System/Random.hs:272:1: Warning: Tab character System/Random.hs:273:1: Warning: Tab character System/Random.hs:326:11: Warning: Tab character System/Random.hs:343:11: Warning: Tab character System/Random.hs:384:11: Warning: Tab character System/Random.hs:395:1: Warning: Tab character System/Random.hs:396:1: Warning: Tab character System/Random.hs:396:20: Warning: Tab character System/Random.hs:397:1: Warning: Tab character System/Random.hs:397:20: Warning: Tab character System/Random.hs:399:11: Warning: Tab character System/Random.hs:406:1: Warning: Tab character System/Random.hs:415:1: Warning: Tab character System/Random.hs:428:1: Warning: Tab character System/Random.hs:429:1: Warning: Tab character System/Random.hs:430:1: Warning: Tab character System/Random.hs:440:3: Warning: Tab character System/Random.hs:502:1: Warning: Tab character System/Random.hs:503:1: Warning: Tab character System/Random.hs:504:1: Warning: Tab character System/Random.hs:506:1: Warning: Tab character System/Random.hs:507:1: Warning: Tab character System/Random.hs:508:1: Warning: Tab character System/Random.hs:519:1: Warning: Tab character System/Random.hs:519:14: Warning: Tab character System/Random.hs:520:1: Warning: Tab character System/Random.hs:522:1: Warning: Tab character System/Random.hs:523:1: Warning: Tab character System/Random.hs:524:1: Warning: Tab character System/Random.hs:526:1: Warning: Tab character System/Random.hs:527:1: Warning: Tab character System/Random.hs:528:1: Warning: Tab character In-place registering random-1.1... Running Haddock for random-1.1... cabal: Haddock's internal GHC version must match the configured GHC version. The GHC version is 7.10.2 but haddock is using GHC version 7.8.3 Creating package registration file: /tmp/pkgConf-random-12147469841438792350.1 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.10.2/random-1.1-1z8Ujelqc6aKgvPnbRUKkP Registering random-1.1... Installed random-1.1 Configuring transformers-compat-0.4.0.4... Building transformers-compat-0.4.0.4... Preprocessing library transformers-compat-0.4.0.4... [1 of 1] Compiling Paths_transformers_compat ( dist/build/autogen/Paths_transformers_compat.hs, dist/build/Paths_transformers_compat.o ) In-place registering transformers-compat-0.4.0.4... Running Haddock for transformers-compat-0.4.0.4... cabal: Haddock's internal GHC version must match the configured GHC version. The GHC version is 7.10.2 but haddock is using GHC version 7.8.3 Creating package registration file: /tmp/pkgConf-transformers-compat-0.4.017893661431987231011.4 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.10.2/transformers-compat-0.4.0.4-DCQioW2d4vYEa3T0AmFBPv Registering transformers-compat-0.4.0.4... Installed transformers-compat-0.4.0.4 [1 of 1] Compiling Main ( /tmp/cabal-tmp-16279/SDL-image-0.6.1.1/dist/setup/setup.hs, /tmp/cabal-tmp-16279/SDL-image-0.6.1.1/dist/setup/Main.o ) Linking /tmp/cabal-tmp-16279/SDL-image-0.6.1.1/dist/setup/setup ... Configuring SDL-image-0.6.1.1... configure: WARNING: unrecognized options: --with-compiler, --with-gcc checking for sdl-config... /usr/bin/sdl-config checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/tmp/cabal-tmp-16279/SDL-image-0.6.1.1': configure: error: C compiler cannot create executables See `config.log' for more details. Failed to install SDL-image-0.6.1.1 [1 of 1] Compiling Main ( /tmp/cabal-tmp-16279/SDL-mixer-0.6.1.1/dist/setup/setup.hs, /tmp/cabal-tmp-16279/SDL-mixer-0.6.1.1/dist/setup/Main.o ) Linking /tmp/cabal-tmp-16279/SDL-mixer-0.6.1.1/dist/setup/setup ... Configuring SDL-mixer-0.6.1.1... configure: WARNING: unrecognized options: --with-compiler, --with-gcc checking for sdl-config... /usr/bin/sdl-config checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/tmp/cabal-tmp-16279/SDL-mixer-0.6.1.1': configure: error: C compiler cannot create executables See `config.log' for more details. Failed to install SDL-mixer-0.6.1.1 [1 of 1] Compiling Main ( /tmp/cabal-tmp-16279/SDL-ttf-0.6.2.1/dist/setup/setup.hs, /tmp/cabal-tmp-16279/SDL-ttf-0.6.2.1/dist/setup/Main.o ) Linking /tmp/cabal-tmp-16279/SDL-ttf-0.6.2.1/dist/setup/setup ... Configuring SDL-ttf-0.6.2.1... checking for sdl-config... /usr/bin/sdl-config checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for TTF_OpenFont in -lSDL_ttf... no configure: error: *** SDL_ttf lib not found! Get SDL_ttf from http://www.libsdl.org/projects/SDL_ttf/index.html Failed to install SDL-ttf-0.6.2.1 Configuring MonadRandom-0.4... Building MonadRandom-0.4... Preprocessing library MonadRandom-0.4... [1 of 2] Compiling Control.Monad.Random.Class ( Control/Monad/Random/Class.hs, dist/build/Control/Monad/Random/Class.o ) [2 of 2] Compiling Control.Monad.Random ( Control/Monad/Random.hs, dist/build/Control/Monad/Random.o ) Control/Monad/Random.hs:49:1: Warning: The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() Control/Monad/Random.hs:53:1: Warning: Module ‘Control.Monad.Error’ is deprecated: Use Control.Monad.Except instead Control/Monad/Random.hs:69:1: Warning: The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() Control/Monad/Random.hs:202:11: Warning: In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" Control/Monad/Random.hs:202:51: Warning: In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" Control/Monad/Random.hs:247:11: Warning: In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" Control/Monad/Random.hs:247:53: Warning: In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" In-place registering MonadRandom-0.4... Running Haddock for MonadRandom-0.4... cabal: Haddock's internal GHC version must match the configured GHC version. The GHC version is 7.10.2 but haddock is using GHC version 7.8.3 Creating package registration file: /tmp/pkgConf-MonadRandom-014505736221037127828.4 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.10.2/MonadRandom-0.4-0HPLrpuIT1h0NYNnfFzaza Registering MonadRandom-0.4... Installed MonadRandom-0.4 cabal: Error: some packages failed to install: OpenGL-2.2.3.1 failed during the building phase. The exception was: ExitFailure 1 SDL-image-0.6.1.1 failed during the configure step. The exception was: ExitFailure 77 SDL-mixer-0.6.1.1 failed during the configure step. The exception was: ExitFailure 77 SDL-ttf-0.6.2.1 failed during the configure step. The exception was: ExitFailure 1 astrds-0.1.1 depends on SDL-ttf-0.6.2.1 which failed to install.