Resolving dependencies... [1 of 1] Compiling Main ( /tmp/SDL-0.6.5-26547/SDL-0.6.5/Setup.lhs, /tmp/SDL-0.6.5-26547/SDL-0.6.5/dist/setup/Main.o ) Linking /tmp/SDL-0.6.5-26547/SDL-0.6.5/dist/setup/setup ... Configuring SDL-0.6.5... 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... Preprocessing library SDL-0.6.5... [ 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 ) [ 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... Running Haddock for SDL-0.6.5... Running hscolour for SDL-0.6.5... Preprocessing library SDL-0.6.5... Preprocessing library SDL-0.6.5... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0 Haddock coverage: 14% ( 1 / 7) in 'Graphics.UI.SDL.Utilities' 89% ( 8 / 9) in 'Graphics.UI.SDL.CPUInfo' 0% ( 0 / 3) in 'Graphics.UI.SDL.Version' 25% ( 1 / 4) in 'Graphics.UI.SDL.Keysym' 33% ( 1 / 3) in 'Graphics.UI.SDL.Color' 25% ( 1 / 4) in 'Graphics.UI.SDL.Audio' 4% ( 1 / 26) in 'Graphics.UI.SDL.Types' 33% ( 1 / 3) in 'Graphics.UI.SDL.Time' 50% ( 1 / 2) in 'Graphics.UI.SDL.Rect' 38% ( 5 / 13) in 'Graphics.UI.SDL.General' 90% ( 9 / 10) in 'Graphics.UI.SDL.WindowManagement' 17% ( 1 / 6) in 'Graphics.UI.SDL.RWOps' 58% ( 46 / 80) in 'Graphics.UI.SDL.Video' 93% ( 25 / 27) in 'Graphics.UI.SDL.Events' 100% ( 18 / 18) in 'Graphics.UI.SDL.Joystick' 100% ( 14 / 14) in 'Graphics.UI.SDL' Warning: Graphics.UI.SDL.Types: could not find link destinations for: Graphics.UI.SDL.Types.Pixels Warning: Graphics.UI.SDL.Events: could not find link destinations for: Graphics.UI.SDL.Events.SafePtr Warning: Graphics.UI.SDL.Joystick: could not find link destinations for: Graphics.UI.SDL.Joystick.JoystickIndex Documentation created: dist/doc/html/SDL/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/SDL-0.6.5 Registering SDL-0.6.5... Installed SDL-0.6.5 [1 of 1] Compiling Main ( /tmp/SDL-gfx-0.6.0-26547/SDL-gfx-0.6.0/Setup.lhs, /tmp/SDL-gfx-0.6.0-26547/SDL-gfx-0.6.0/dist/setup/Main.o ) Linking /tmp/SDL-gfx-0.6.0-26547/SDL-gfx-0.6.0/dist/setup/setup ... Configuring SDL-gfx-0.6.0... 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 SDL_initFramerate in -lSDL_gfx... yes configure: creating ./config.status config.status: creating config.mk config.status: creating SDL-gfx.buildinfo config.status: creating includes/HsSDLConfig.h Building SDL-gfx-0.6.0... Preprocessing library SDL-gfx-0.6.0... [1 of 3] Compiling Graphics.UI.SDL.Framerate ( Graphics/UI/SDL/Framerate.hs, dist/build/Graphics/UI/SDL/Framerate.o ) [2 of 3] Compiling Graphics.UI.SDL.Primitives ( Graphics/UI/SDL/Primitives.hs, dist/build/Graphics/UI/SDL/Primitives.o ) [3 of 3] Compiling Graphics.UI.SDL.Rotozoomer ( Graphics/UI/SDL/Rotozoomer.hs, dist/build/Graphics/UI/SDL/Rotozoomer.o ) In-place registering SDL-gfx-0.6.0... Running Haddock for SDL-gfx-0.6.0... Running hscolour for SDL-gfx-0.6.0... Preprocessing library SDL-gfx-0.6.0... Preprocessing library SDL-gfx-0.6.0... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0 Haddock coverage: 14% ( 1 / 7) in 'Graphics.UI.SDL.Framerate' 4% ( 1 / 25) in 'Graphics.UI.SDL.Primitives' 17% ( 1 / 6) in 'Graphics.UI.SDL.Rotozoomer' Warning: Graphics.UI.SDL.Framerate: could not find link destinations for: Graphics.UI.SDL.Framerate.FPSManagerStruct Documentation created: dist/doc/html/SDL-gfx/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/SDL-gfx-0.6.0 Registering SDL-gfx-0.6.0... Installed SDL-gfx-0.6.0 [1 of 1] Compiling Main ( /tmp/SDL-image-0.6.1-26547/SDL-image-0.6.1/Setup.lhs, /tmp/SDL-image-0.6.1-26547/SDL-image-0.6.1/dist/setup/Main.o ) Linking /tmp/SDL-image-0.6.1-26547/SDL-image-0.6.1/dist/setup/setup ... Configuring SDL-image-0.6.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... 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 IMG_Load in -lSDL_image... yes configure: creating ./config.status config.status: creating config.mk config.status: creating SDL-image.buildinfo config.status: creating includes/HsSDLConfig.h configure: WARNING: unrecognized options: --with-compiler, --with-gcc Building SDL-image-0.6.1... Preprocessing library SDL-image-0.6.1... [1 of 2] Compiling Graphics.UI.SDL.Image.Version ( dist/build/Graphics/UI/SDL/Image/Version.hs, dist/build/Graphics/UI/SDL/Image/Version.o ) [2 of 2] Compiling Graphics.UI.SDL.Image ( Graphics/UI/SDL/Image.hs, dist/build/Graphics/UI/SDL/Image.o ) In-place registering SDL-image-0.6.1... Running Haddock for SDL-image-0.6.1... Running hscolour for SDL-image-0.6.1... Preprocessing library SDL-image-0.6.1... Preprocessing library SDL-image-0.6.1... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0 Haddock coverage: 0% ( 0 / 3) in 'Graphics.UI.SDL.Image.Version' 7% ( 2 / 29) in 'Graphics.UI.SDL.Image' Documentation created: dist/doc/html/SDL-image/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/SDL-image-0.6.1 Registering SDL-image-0.6.1... Installed SDL-image-0.6.1 [1 of 1] Compiling Main ( /tmp/SDL-ttf-0.6.2-26547/SDL-ttf-0.6.2/Setup.lhs, /tmp/SDL-ttf-0.6.2-26547/SDL-ttf-0.6.2/dist/setup/Main.o ) Linking /tmp/SDL-ttf-0.6.2-26547/SDL-ttf-0.6.2/dist/setup/setup ... Configuring SDL-ttf-0.6.2... 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... yes configure: creating ./config.status config.status: creating config.mk config.status: creating SDL-ttf.buildinfo config.status: creating includes/HsSDLConfig.h Building SDL-ttf-0.6.2... Preprocessing library SDL-ttf-0.6.2... [1 of 7] Compiling Graphics.UI.SDL.TTF.Version ( dist/build/Graphics/UI/SDL/TTF/Version.hs, dist/build/Graphics/UI/SDL/TTF/Version.o ) [2 of 7] Compiling Graphics.UI.SDL.TTF.General ( Graphics/UI/SDL/TTF/General.hs, dist/build/Graphics/UI/SDL/TTF/General.o ) [3 of 7] Compiling Graphics.UI.SDL.TTF.Types ( dist/build/Graphics/UI/SDL/TTF/Types.hs, dist/build/Graphics/UI/SDL/TTF/Types.o ) [4 of 7] Compiling Graphics.UI.SDL.TTF.Render ( Graphics/UI/SDL/TTF/Render.hs, dist/build/Graphics/UI/SDL/TTF/Render.o ) [5 of 7] Compiling Graphics.UI.SDL.TTF.Management ( Graphics/UI/SDL/TTF/Management.hs, dist/build/Graphics/UI/SDL/TTF/Management.o ) [6 of 7] Compiling Graphics.UI.SDL.TTF.Attributes ( Graphics/UI/SDL/TTF/Attributes.hs, dist/build/Graphics/UI/SDL/TTF/Attributes.o ) [7 of 7] Compiling Graphics.UI.SDL.TTF ( Graphics/UI/SDL/TTF.hs, dist/build/Graphics/UI/SDL/TTF.o ) In-place registering SDL-ttf-0.6.2... Running Haddock for SDL-ttf-0.6.2... Running hscolour for SDL-ttf-0.6.2... Preprocessing library SDL-ttf-0.6.2... Preprocessing library SDL-ttf-0.6.2... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0 Haddock coverage: 0% ( 0 / 3) in 'Graphics.UI.SDL.TTF.Version' 25% ( 1 / 4) in 'Graphics.UI.SDL.TTF.General' 33% ( 1 / 3) in 'Graphics.UI.SDL.TTF.Types' 5% ( 1 / 19) in 'Graphics.UI.SDL.TTF.Render' 12% ( 1 / 8) in 'Graphics.UI.SDL.TTF.Management' 6% ( 1 / 16) in 'Graphics.UI.SDL.TTF.Attributes' 100% ( 6 / 6) in 'Graphics.UI.SDL.TTF' Documentation created: dist/doc/html/SDL-ttf/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/SDL-ttf-0.6.2 Registering SDL-ttf-0.6.2... Installed SDL-ttf-0.6.2 Configuring TimePiece-0.0.1... Building TimePiece-0.0.1... Preprocessing executable 'TimePiece' for TimePiece-0.0.1... [ 1 of 10] Compiling Paths_TimePiece ( dist/build/autogen/Paths_TimePiece.hs, dist/build/TimePiece/TimePiece-tmp/Paths_TimePiece.o ) [ 2 of 10] Compiling Point ( Point.hs, dist/build/TimePiece/TimePiece-tmp/Point.o ) [ 3 of 10] Compiling Cache ( Cache.hs, dist/build/TimePiece/TimePiece-tmp/Cache.o ) [ 4 of 10] Compiling Render ( Render.hs, dist/build/TimePiece/TimePiece-tmp/Render.o ) [ 5 of 10] Compiling Tiles ( Tiles.hs, dist/build/TimePiece/TimePiece-tmp/Tiles.o ) [ 6 of 10] Compiling Zoom ( Zoom.hs, dist/build/TimePiece/TimePiece-tmp/Zoom.o ) [ 7 of 10] Compiling Internals ( Internals.hs, dist/build/TimePiece/TimePiece-tmp/Internals.o ) [ 8 of 10] Compiling Image ( Image.hs, dist/build/TimePiece/TimePiece-tmp/Image.o ) Image.hs:20:5: Warning: A do-notation statement discarded a result of type Bool. Suppress this warning by saying "_ <- TTF.init", or by using the flag -fno-warn-unused-do-bind Image.hs:21:5: Warning: A do-notation statement discarded a result of type a. Suppress this warning by saying "_ <- f screen", or by using the flag -fno-warn-unused-do-bind [ 9 of 10] Compiling Main ( Main.hs, dist/build/TimePiece/TimePiece-tmp/Main.o ) Main.hs:79:5: Warning: A do-notation statement discarded a result of type Bool. Suppress this warning by saying "_ <- fillRect screen (Data.Maybe.Nothing) bgColor", or by using the flag -fno-warn-unused-do-bind [10 of 10] Compiling HSMain ( HSMain.hs, dist/build/TimePiece/TimePiece-tmp/HSMain.o ) /tmp/ghc29150_0/ghc29150_0.c:9:6: error: conflicting types for ‘hs_main’ In file included from /usr/local/lib/ghc-7.6.3/include/Rts.h:241:0: 0, from /tmp/ghc29150_0/ghc29150_0.c:2: /usr/local/lib/ghc-7.6.3/include/rts/Main.h:16:5: note: previous declaration of ‘hs_main’ was here Failed to install TimePiece-0.0.1 cabal: Error: some packages failed to install: TimePiece-0.0.1 failed during the building phase. The exception was: ExitFailure 1