*** setup configure Configuring chalkboard-1.9.0.16... Flags chosen: tutorial=False, example=False, cbbe1=False, simple=False, chalkmark=False, test1=False, server=True, all=False Dependency Codec-Image-DevIL -any: using Codec-Image-DevIL-0.2.3 Dependency GLUT >=2.1.2.1: using GLUT-2.2.2.0 Dependency OpenGLRaw >=1.0.1.0: using OpenGLRaw-1.1.0.1 Dependency array -any: using array-0.3.0.1 Dependency base ==4.*: using base-4.2.0.2 Dependency binary -any: using binary-0.5.0.2 Dependency bytestring -any: using bytestring-0.9.1.7 Dependency containers >=0.2: using containers-0.3.0.0 Dependency data-reify -any: using data-reify-0.5 Dependency directory -any: using directory-1.0.1.1 Dependency process -any: using process-1.0.1.3 Dependency time -any: using time-1.1.4 Using Cabal-1.8.0.6 compiled by ghc-6.12 Using compiler: ghc-6.12.3 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/chalkboard-1.9.0.16/ghc-6.12.3 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/chalkboard-1.9.0.16 Documentation installed in: /usr/local/tmp/archive/install/share/doc/chalkboard-1.9.0.16 Using alex version 2.3.3 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.16.0 found on system at: /usr/local/bin/c2hs Using cpphs version 1.11 found on system at: /usr/local/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.4.5 found on system at: /usr/bin/gcc Using ghc version 6.12.3 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.12.3 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.8.1 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.17 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found No nhc98 found Using pkg-config version 0.25 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library chalkboard-1.9.0.16... Preprocessing executables for chalkboard-1.9.0.16... Building chalkboard-1.9.0.16... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc --make -package-name chalkboard-1.9.0.16 -hide-all-packages -fbuilding-cabal-package -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package-id Codec-Image-DevIL-0.2.3-10d31888a21c6a679d85317652cdaf67 -package-id GLUT-2.2.2.0-bca2226d667193d1cdfc2ae7b1c32526 -package-id OpenGLRaw-1.1.0.1-f07e6a518ed76bdf2afc47c2d0f45f88 -package-id array-0.3.0.1-438000c197b51c147f229b54edbf632e -package-id base-4.2.0.2-10bdacb430274706a59728e237e2bfb3 -package-id binary-0.5.0.2-d8a2016532c382364dd8eb78608b883d -package-id bytestring-0.9.1.7-e4f5efe6019d4771130f5cd8d3216b38 -package-id containers-0.3.0.0-ee442470d8dcc9e45f31677c400c5379 -package-id data-reify-0.5-519ceb73e4a600a0a9096896a861dd92 -package-id directory-1.0.1.1-f959a158a71fc63ca3822eaf49ec66dc -package-id process-1.0.1.3-73f46aa4e6bf1a4f2f418a3c761e4e80 -package-id time-1.1.4-d9f7b7932dc3a4863006ed6b1d525856 -O -O2 -Wall Graphics.ChalkBoard Graphics.ChalkBoard.Board Graphics.ChalkBoard.Shapes Graphics.ChalkBoard.Types Graphics.ChalkBoard.Main Graphics.ChalkBoard.O Graphics.ChalkBoard.Utils Graphics.ChalkBoard.Options Graphics.ChalkBoard.Board.Internals Graphics.ChalkBoard.O.Internals Graphics.ChalkBoard.CBIR Graphics.ChalkBoard.CBIR.Compiler Graphics.ChalkBoard.IStorable Graphics.ChalkBoard.Core Graphics.ChalkBoard.Expr Graphics.ChalkBoard.OpenGL.CBBE Graphics.ChalkBoard.OpenGL.Monad [ 1 of 17] Compiling Graphics.ChalkBoard.IStorable ( Graphics/ChalkBoard/IStorable.hs, dist/build/Graphics/ChalkBoard/IStorable.o ) Graphics/ChalkBoard/IStorable.hs:28:7: Warning: Defined but not used: `isa' Graphics/ChalkBoard/IStorable.hs:41:23: Warning: Defined but not used: `sa' [ 2 of 17] Compiling Graphics.ChalkBoard.Types ( Graphics/ChalkBoard/Types.hs, dist/build/Graphics/ChalkBoard/Types.o ) [ 3 of 17] Compiling Graphics.ChalkBoard.Utils ( Graphics/ChalkBoard/Utils.hs, dist/build/Graphics/ChalkBoard/Utils.o ) [ 4 of 17] Compiling Graphics.ChalkBoard.Core ( Graphics/ChalkBoard/Core.hs, dist/build/Graphics/ChalkBoard/Core.o ) Graphics/ChalkBoard/Core.hs:17:0: Warning: The import of `Graphics.ChalkBoard.Utils' is redundant except perhaps to import instances from `Graphics.ChalkBoard.Utils' To import instances alone, use: import Graphics.ChalkBoard.Utils() Graphics/ChalkBoard/Core.hs:44:0: Warning: Defined but not used: `choose' [ 5 of 17] Compiling Graphics.ChalkBoard.Expr ( Graphics/ChalkBoard/Expr.hs, dist/build/Graphics/ChalkBoard/Expr.o ) Graphics/ChalkBoard/Expr.hs:6:0: Warning: The import of `Graphics.ChalkBoard.Types' is redundant except perhaps to import instances from `Graphics.ChalkBoard.Types' To import instances alone, use: import Graphics.ChalkBoard.Types() Graphics/ChalkBoard/Expr.hs:8:0: Warning: The import of `Data.Reify.Graph' is redundant except perhaps to import instances from `Data.Reify.Graph' To import instances alone, use: import Data.Reify.Graph() Graphics/ChalkBoard/Expr.hs:14:0: Warning: The import of `Data.Maybe' is redundant except perhaps to import instances from `Data.Maybe' To import instances alone, use: import Data.Maybe() Graphics/ChalkBoard/Expr.hs:82:3: Warning: Defined but not used: `other' Graphics/ChalkBoard/Expr.hs:86:5: Warning: Defined but not used: `other' Graphics/ChalkBoard/Expr.hs:87:10: Warning: Defined but not used: `other' Graphics/ChalkBoard/Expr.hs:103:1: Warning: Pattern match(es) are non-exhaustive In the definition of `traverse': Patterns not matched: _ (O_Pair _ _) _ (O_Fst _) _ (O_Snd _) _ OrBool Graphics/ChalkBoard/Expr.hs:107:10: Warning: Defined but not used: `f' Graphics/ChalkBoard/Expr.hs:108:10: Warning: Defined but not used: `f' Graphics/ChalkBoard/Expr.hs:109:10: Warning: Defined but not used: `f' Graphics/ChalkBoard/Expr.hs:110:10: Warning: Defined but not used: `f' Graphics/ChalkBoard/Expr.hs:111:10: Warning: Defined but not used: `f' Graphics/ChalkBoard/Expr.hs:115:1: Warning: Pattern match(es) are non-exhaustive In the definition of `foldMap': Patterns not matched: _ (O_Bool _) _ (O_RGB _) _ (O_RGBA _) _ (O_Pair _ _) ... Graphics/ChalkBoard/Expr.hs:119:1: Warning: Pattern match(es) are non-exhaustive In the definition of `fmap': Patterns not matched: _ (O_Bool _) _ (O_RGB _) _ (O_RGBA _) _ (O_Pair _ _) ... [ 6 of 17] Compiling Graphics.ChalkBoard.O.Internals ( Graphics/ChalkBoard/O/Internals.hs, dist/build/Graphics/ChalkBoard/O/Internals.o ) Graphics/ChalkBoard/O/Internals.hs:14:0: Warning: The import of `Data.Traversable' is redundant except perhaps to import instances from `Data.Traversable' To import instances alone, use: import Data.Traversable() Graphics/ChalkBoard/O/Internals.hs:15:0: Warning: The import of `Data.Foldable' is redundant except perhaps to import instances from `Data.Foldable' To import instances alone, use: import Data.Foldable() Graphics/ChalkBoard/O/Internals.hs:59:11: Warning: Defined but not used: `a' Graphics/ChalkBoard/O/Internals.hs:66:0: Warning: Defined but not used: `typeOfO'' Graphics/ChalkBoard/O/Internals.hs:66:9: Warning: Defined but not used: `i' Graphics/ChalkBoard/O/Internals.hs:68:0: Warning: Definition but no type signature for `typeOfFun' Inferred type: typeOfFun :: forall o a. (O o -> O a) -> OType Graphics/ChalkBoard/O/Internals.hs:71:0: Warning: Definition but no type signature for `typeOfFun'' Inferred type: typeOfFun' :: forall o a. Int -> (O o -> O a) -> OType Graphics/ChalkBoard/O/Internals.hs:80:14: Warning: Defined but not used: `a' Graphics/ChalkBoard/O/Internals.hs:81:14: Warning: Defined but not used: `a' Graphics/ChalkBoard/O/Internals.hs:81:16: Warning: Defined but not used: `e' [ 7 of 17] Compiling Graphics.ChalkBoard.CBIR ( Graphics/ChalkBoard/CBIR.hs, dist/build/Graphics/ChalkBoard/CBIR.o ) Graphics/ChalkBoard/CBIR.hs:3:0: Warning: The import of `Foreign.Ptr' is redundant except perhaps to import instances from `Foreign.Ptr' To import instances alone, use: import Foreign.Ptr() Graphics/ChalkBoard/CBIR.hs:4:0: Warning: The import of `Foreign.C.Types' is redundant except perhaps to import instances from `Foreign.C.Types' To import instances alone, use: import Foreign.C.Types() Graphics/ChalkBoard/CBIR.hs:7:0: Warning: The import of `Data.Array.Unboxed' is redundant except perhaps to import instances from `Data.Array.Unboxed' To import instances alone, use: import Data.Array.Unboxed() Graphics/ChalkBoard/CBIR.hs:8:0: Warning: The import of `Data.Array.MArray' is redundant except perhaps to import instances from `Data.Array.MArray' To import instances alone, use: import Data.Array.MArray() Graphics/ChalkBoard/CBIR.hs:9:0: Warning: The import of `Data.Array.Storable' is redundant except perhaps to import instances from `Data.Array.Storable' To import instances alone, use: import Data.Array.Storable() Graphics/ChalkBoard/CBIR.hs:11:0: Warning: The import of `Graphics.ChalkBoard.Core' is redundant except perhaps to import instances from `Graphics.ChalkBoard.Core' To import instances alone, use: import Graphics.ChalkBoard.Core() Graphics/ChalkBoard/CBIR.hs:224:11: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: #x with #x `notElem` [0#, 1#] Graphics/ChalkBoard/CBIR.hs:234:11: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: #x with #x `notElem` [0#, 1#, 2#, 3#] Graphics/ChalkBoard/CBIR.hs:265:11: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: #x with #x `notElem` [0#, 1#, 2#, 3#, 4#] Graphics/ChalkBoard/CBIR.hs:280:21: Warning: Defined but not used: `rgba' Graphics/ChalkBoard/CBIR.hs:280:26: Warning: Defined but not used: `v' Graphics/ChalkBoard/CBIR.hs:287:4: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: #x with #x `notElem` [0#, 1#, 2#, 3#, 4#, 5#, 6#, 7#, 8#, 9#, 10#] [ 8 of 17] Compiling Graphics.ChalkBoard.Options ( Graphics/ChalkBoard/Options.hs, dist/build/Graphics/ChalkBoard/Options.o ) Graphics/ChalkBoard/Options.hs:22:2: Warning: Pattern match(es) are non-exhaustive In the definition of `put': Patterns not matched: DebugAll Graphics/ChalkBoard/Options.hs:28:11: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: #x with #x `notElem` [0#, 1#, 2#, 3#, 4#] [ 9 of 17] Compiling Graphics.ChalkBoard.OpenGL.Monad ( Graphics/ChalkBoard/OpenGL/Monad.hs, dist/build/Graphics/ChalkBoard/OpenGL/Monad.o ) [10 of 17] Compiling Graphics.ChalkBoard.OpenGL.CBBE ( Graphics/ChalkBoard/OpenGL/CBBE.hs, dist/build/Graphics/ChalkBoard/OpenGL/CBBE.o ) Graphics/ChalkBoard/OpenGL/CBBE.hs:19:0: Warning: The import of `Graphics.UI.GLUT' is redundant except perhaps to import instances from `Graphics.UI.GLUT' To import instances alone, use: import Graphics.UI.GLUT() Graphics/ChalkBoard/OpenGL/CBBE.hs:41:0: Warning: The import of `System.IO' is redundant except perhaps to import instances from `System.IO' To import instances alone, use: import System.IO() Graphics/ChalkBoard/OpenGL/CBBE.hs:62:4: Warning: A do-notation statement discarded a result of type (String, [String]). Suppress this warning by saying "_ <- getArgsAndInitialize", or by using the flag -fno-warn-unused-do-bind Graphics/ChalkBoard/OpenGL/CBBE.hs:71:4: Warning: A do-notation statement discarded a result of type Window. Suppress this warning by saying "_ <- createWindow "ChalkBoard"", or by using the flag -fno-warn-unused-do-bind Graphics/ChalkBoard/OpenGL/CBBE.hs:477:26: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: BackgroundArr _ [11 of 17] Compiling Graphics.ChalkBoard.O ( Graphics/ChalkBoard/O.hs, dist/build/Graphics/ChalkBoard/O.o ) Graphics/ChalkBoard/O.hs:46:7: Warning: This binding for `o' shadows the existing binding defined at Graphics/ChalkBoard/O.hs:38:3 [12 of 17] Compiling Graphics.ChalkBoard.Board.Internals ( Graphics/ChalkBoard/Board/Internals.hs, dist/build/Graphics/ChalkBoard/Board/Internals.o ) Graphics/ChalkBoard/Board/Internals.hs:18:31: Not in scope: type variable `a' Graphics/ChalkBoard/Board/Internals.hs:18:54: Not in scope: type variable `a' *** Trying again with preferred-versions *** setup configure Configuring chalkboard-1.9.0.16... cabal-setup: At least the following dependencies are missing: base >=4 && <5 && <4 && -any && <4