Resolving dependencies... Configuring bindings-DSL-1.0.23... Configuring bitmap-0.0.2... Building bitmap-0.0.2... Building bindings-DSL-1.0.23... Installed bindings-DSL-1.0.23 Configuring bullet-0.1.1... Failed to install bullet-0.1.1 Build log ( /home/builder/.cabal/logs/bullet-0.1.1.log ): cabal: Entering directory '/tmp/cabal-tmp-19514/bullet-0.1.1' Configuring bullet-0.1.1... cabal: Missing dependencies on foreign libraries: * Missing C libraries: BulletDynamics, LinearMath, BulletCollision This problem can usually be solved by installing the system packages that provide these libraries (you may need the "-dev" versions). If the libraries are already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are. cabal: Leaving directory '/tmp/cabal-tmp-19514/bullet-0.1.1' Configuring bytestring-trie-0.2.4.1... Building bytestring-trie-0.2.4.1... Configuring digest-0.0.1.2... Installed bitmap-0.0.2 Configuring half-0.2.2.3... Installed bytestring-trie-0.2.4.1 Building digest-0.0.1.2... Building half-0.2.2.3... Configuring fixed-0.2.1.1... Installed digest-0.0.1.2 Building fixed-0.2.1.1... Configuring old-locale-1.0.0.7... Installed half-0.2.2.3 Building old-locale-1.0.0.7... Configuring primitive-0.6.1.0... Installed fixed-0.2.1.1 Configuring random-1.1... Installed old-locale-1.0.0.7 Building primitive-0.6.1.0... Building random-1.1... Configuring mtl-2.2.1... Installed random-1.1 Building mtl-2.2.1... Configuring stm-2.4.4.1... Installed primitive-0.6.1.0 Building stm-2.4.4.1... Configuring transformers-compat-0.5.1.4... Installed stm-2.4.4.1 Building transformers-compat-0.5.1.4... Configuring text-1.2.2.1... Installed mtl-2.2.1 Building text-1.2.2.1... Configuring uulib-0.9.22... Installed transformers-compat-0.5.1.4 Building uulib-0.9.22... Configuring zlib-0.6.1.2... Installed uulib-0.9.22 Building zlib-0.6.1.2... Configuring bindings-GLFW-3.1.2.2... Installed zlib-0.6.1.2 Installed text-1.2.2.1 Building bindings-GLFW-3.1.2.2... Configuring stb-image-0.2.1... Building stb-image-0.2.1... Configuring old-time-1.1.0.3... Installed stb-image-0.2.1 Building old-time-1.1.0.3... Configuring vect-0.4.7... Installed bindings-GLFW-3.1.2.2 Configuring transformers-base-0.4.4... Installed old-time-1.1.0.3 Building transformers-base-0.4.4... Configuring vector-0.11.0.0... Installed transformers-base-0.4.4 Building vector-0.11.0.0... Building vect-0.4.7... Configuring xml-1.3.14... Installed vect-0.4.7 Building xml-1.3.14... Configuring OpenGLRaw-3.2.4.0... Installed xml-1.3.14 Building OpenGLRaw-3.2.4.0... Installed vector-0.11.0.0 Configuring GLFW-b-1.4.8.1... Building GLFW-b-1.4.8.1... Installed GLFW-b-1.4.8.1 Configuring zip-archive-0.3.0.5... Building zip-archive-0.3.0.5... Configuring elerea-2.9.0... Installed zip-archive-0.3.0.5 Building elerea-2.9.0... Configuring vector-algorithms-0.7.0.1... Installed elerea-2.9.0 Building vector-algorithms-0.7.0.1... Installed vector-algorithms-0.7.0.1 Installed OpenGLRaw-3.2.4.0 Configuring lambdacube-engine-0.2.4... Building lambdacube-engine-0.2.4... Failed to install lambdacube-engine-0.2.4 Build log ( /home/builder/.cabal/logs/lambdacube-engine-0.2.4.log ): cabal: Entering directory '/tmp/cabal-tmp-19512/lambdacube-engine-0.2.4' Configuring lambdacube-engine-0.2.4... Building lambdacube-engine-0.2.4... Preprocessing library lambdacube-engine-0.2.4... on the commandline: warning: -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. [ 1 of 57] Compiling Graphics.LambdaCube.Types ( Graphics/LambdaCube/Types.hs, dist/build/Graphics/LambdaCube/Types.o ) Graphics/LambdaCube/Types.hs:6:5: warning: [-Wdodgy-exports] The export item `module Data.Vect.Float.Instances' exports nothing Graphics/LambdaCube/Types.hs:11:1: warning: [-Wunused-imports] The import of ‘Data.Vect.Float.Instances’ is redundant except perhaps to import instances from ‘Data.Vect.Float.Instances’ To import instances alone, use: import Data.Vect.Float.Instances() [ 2 of 57] Compiling Graphics.LambdaCube.Utility ( Graphics/LambdaCube/Utility.hs, dist/build/Graphics/LambdaCube/Utility.o ) [ 3 of 57] Compiling Graphics.LambdaCube.Tree ( Graphics/LambdaCube/Tree.hs, dist/build/Graphics/LambdaCube/Tree.o ) [ 4 of 57] Compiling Graphics.LambdaCube.Skeleton ( Graphics/LambdaCube/Skeleton.hs, dist/build/Graphics/LambdaCube/Skeleton.o ) [ 5 of 57] Compiling Graphics.LambdaCube.RenderSystemCapabilities ( Graphics/LambdaCube/RenderSystemCapabilities.hs, dist/build/Graphics/LambdaCube/RenderSystemCapabilities.o ) [ 6 of 57] Compiling Graphics.LambdaCube.PixelFormat ( Graphics/LambdaCube/PixelFormat.hs, dist/build/Graphics/LambdaCube/PixelFormat.o ) [ 7 of 57] Compiling Graphics.LambdaCube.Loader.SkeletonXML ( Graphics/LambdaCube/Loader/SkeletonXML.hs, dist/build/Graphics/LambdaCube/Loader/SkeletonXML.o ) [ 8 of 57] Compiling Graphics.LambdaCube.Loader.Generated.ResourceScriptScanner ( Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.hs, dist/build/Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.o ) Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.hs:193:31: error: • Couldn't match expected type ‘[AlexAcc (String -> Pos -> Token) t]’ with actual type ‘e0’ because type variable ‘t’ would escape its scope This (rigid, skolem) type variable is bound by the inferred type of alex_scan_tkn :: t -> AlexInput -> Int# -> AlexInput -> Int# -> AlexLastAcc (String -> Pos -> Token) -> (AlexLastAcc (String -> Pos -> Token), (Pos, String)) at Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.hs:(190,1)-(229,47) • In the first argument of ‘check_accs’, namely ‘(alex_accept `quickIndex` (I# (s)))’ In the expression: check_accs (alex_accept `quickIndex` (I# (s))) In an equation for ‘new_acc’: new_acc = check_accs (alex_accept `quickIndex` (I# (s))) • Relevant bindings include check_accs :: [AlexAcc (String -> Pos -> Token) t] -> AlexLastAcc (String -> Pos -> Token) (bound at Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.hs:220:9) user :: t (bound at Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.hs:190:15) alex_scan_tkn :: t -> AlexInput -> Int# -> AlexInput -> Int# -> AlexLastAcc (String -> Pos -> Token) -> (AlexLastAcc (String -> Pos -> Token), (Pos, String)) (bound at Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.hs:190:1) Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.hs:204:17: error: • Pattern bindings containing unlifted types should use an outermost bang pattern: ((I# (ord_c))) = ord c • In the expression: let (base) = alexIndexInt32OffAddr alex_base s ((I# (ord_c))) = ord c (offset) = (base +# ord_c) .... in case new_s of { -1# -> (new_acc, input) _ -> alex_scan_tkn user orig_input (len +# 1#) new_input new_s new_acc } In a case alternative: Just (c, new_input) -> let (base) = alexIndexInt32OffAddr alex_base s ((I# (ord_c))) = ord c .... in case new_s of { -1# -> (new_acc, input) _ -> alex_scan_tkn user orig_input (len +# 1#) new_input new_s new_acc } In the second argument of ‘seq’, namely ‘case alexGetChar input of { Nothing -> (new_acc, input) Just (c, new_input) -> let (base) = ... .... in case new_s of { -1# -> ... _ -> alex_scan_tkn user orig_input (len +# 1#) new_input new_s new_acc } }’ Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.hs:208:31: error: • Couldn't match expected type ‘Bool’ with actual type ‘Int#’ • In the first argument of ‘(&&)’, namely ‘(offset >=# 0#)’ In the expression: (offset >=# 0#) && (check ==# ord_c) In the expression: if (offset >=# 0#) && (check ==# ord_c) then alexIndexInt16OffAddr alex_table offset else alexIndexInt16OffAddr alex_deflt s Graphics/LambdaCube/Loader/Generated/ResourceScriptScanner.hs:208:50: error: • Couldn't match expected type ‘Bool’ with actual type ‘Int#’ • In the second argument of ‘(&&)’, namely ‘(check ==# ord_c)’ In the expression: (offset >=# 0#) && (check ==# ord_c) In the expression: if (offset >=# 0#) && (check ==# ord_c) then alexIndexInt16OffAddr alex_table offset else alexIndexInt16OffAddr alex_deflt s cabal: Leaving directory '/tmp/cabal-tmp-19512/lambdacube-engine-0.2.4' cabal: Error: some packages failed to install: bullet-0.1.1 failed during the configure step. The exception was: ExitFailure 1 lambdacube-bullet-0.2.1 depends on bullet-0.1.1 which failed to install. lambdacube-engine-0.2.4 failed during the building phase. The exception was: ExitFailure 1 stunts-0.1.2 depends on bullet-0.1.1 which failed to install.