Resolving dependencies... Configuring bindings-DSL-1.0.24... Building bindings-DSL-1.0.24... Installed bindings-DSL-1.0.24 Configuring bindings-GLFW-3.2.1.0... Building bindings-GLFW-3.2.1.0... Installed bindings-GLFW-3.2.1.0 Configuring GLFW-b-1.4.8.2... Building GLFW-b-1.4.8.2... Failed to install GLFW-b-1.4.8.2 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/GLFW-b-1.4.8.2-JFnvEPj5EcY9Nrcu9vDDai.log ): cabal: Entering directory '/tmp/cabal-tmp-22206/GLFW-b-1.4.8.2' Configuring GLFW-b-1.4.8.2... Preprocessing library for GLFW-b-1.4.8.2.. Building library for GLFW-b-1.4.8.2.. [1 of 3] Compiling Graphics.UI.GLFW.Types ( Graphics/UI/GLFW/Types.hs, dist/build/Graphics/UI/GLFW/Types.o ) [2 of 3] Compiling Graphics.UI.GLFW.C ( Graphics/UI/GLFW/C.hs, dist/build/Graphics/UI/GLFW/C.o ) Graphics/UI/GLFW/C.hs:93:12: error: • Variable not in scope: c'GL_FALSE :: CInt • Perhaps you meant ‘c'GLFW_FALSE’ (imported from Bindings.GLFW) | 93 | | v == c'GL_FALSE = False | ^^^^^^^^^^ Graphics/UI/GLFW/C.hs:94:12: error: • Variable not in scope: c'GL_TRUE :: CInt • Perhaps you meant ‘c'GLFW_TRUE’ (imported from Bindings.GLFW) | 94 | | v == c'GL_TRUE = True | ^^^^^^^^^ Graphics/UI/GLFW/C.hs:96:15: error: • Variable not in scope: c'GL_FALSE :: CInt • Perhaps you meant ‘c'GLFW_FALSE’ (imported from Bindings.GLFW) | 96 | toC False = c'GL_FALSE | ^^^^^^^^^^ Graphics/UI/GLFW/C.hs:97:14: error: • Variable not in scope: c'GL_TRUE :: CInt • Perhaps you meant ‘c'GLFW_TRUE’ (imported from Bindings.GLFW) | 97 | toC True = c'GL_TRUE | ^^^^^^^^^ Graphics/UI/GLFW/C.hs:123:12: error: • Variable not in scope: c'GL_TRUE :: CInt • Perhaps you meant ‘c'GLFW_TRUE’ (imported from Bindings.GLFW) | 123 | | v == c'GL_TRUE = MonitorState'Connected | ^^^^^^^^^ Graphics/UI/GLFW/C.hs:124:12: error: • Variable not in scope: c'GL_FALSE :: CInt • Perhaps you meant ‘c'GLFW_FALSE’ (imported from Bindings.GLFW) | 124 | | v == c'GL_FALSE = MonitorState'Disconnected | ^^^^^^^^^^ Graphics/UI/GLFW/C.hs:126:32: error: • Variable not in scope: c'GL_TRUE :: CInt • Perhaps you meant ‘c'GLFW_TRUE’ (imported from Bindings.GLFW) | 126 | toC MonitorState'Connected = c'GL_TRUE | ^^^^^^^^^ Graphics/UI/GLFW/C.hs:127:35: error: • Variable not in scope: c'GL_FALSE :: CInt • Perhaps you meant ‘c'GLFW_FALSE’ (imported from Bindings.GLFW) | 127 | toC MonitorState'Disconnected = c'GL_FALSE | ^^^^^^^^^^ Graphics/UI/GLFW/C.hs:131:12: error: • Variable not in scope: c'GL_TRUE :: CInt • Perhaps you meant ‘c'GLFW_TRUE’ (imported from Bindings.GLFW) | 131 | | v == c'GL_TRUE = FocusState'Focused | ^^^^^^^^^ Graphics/UI/GLFW/C.hs:132:12: error: • Variable not in scope: c'GL_FALSE :: CInt • Perhaps you meant ‘c'GLFW_FALSE’ (imported from Bindings.GLFW) | 132 | | v == c'GL_FALSE = FocusState'Defocused | ^^^^^^^^^^ Graphics/UI/GLFW/C.hs:134:28: error: • Variable not in scope: c'GL_TRUE :: CInt • Perhaps you meant ‘c'GLFW_TRUE’ (imported from Bindings.GLFW) | 134 | toC FocusState'Focused = c'GL_TRUE | ^^^^^^^^^ Graphics/UI/GLFW/C.hs:135:30: error: • Variable not in scope: c'GL_FALSE :: CInt • Perhaps you meant ‘c'GLFW_FALSE’ (imported from Bindings.GLFW) | 135 | toC FocusState'Defocused = c'GL_FALSE | ^^^^^^^^^^ Graphics/UI/GLFW/C.hs:139:12: error: • Variable not in scope: c'GL_TRUE :: CInt • Perhaps you meant ‘c'GLFW_TRUE’ (imported from Bindings.GLFW) | 139 | | v == c'GL_TRUE = IconifyState'Iconified | ^^^^^^^^^ Graphics/UI/GLFW/C.hs:140:12: error: • Variable not in scope: c'GL_FALSE :: CInt • Perhaps you meant ‘c'GLFW_FALSE’ (imported from Bindings.GLFW) | 140 | | v == c'GL_FALSE = IconifyState'NotIconified | ^^^^^^^^^^ Graphics/UI/GLFW/C.hs:142:32: error: • Variable not in scope: c'GL_TRUE :: CInt • Perhaps you meant ‘c'GLFW_TRUE’ (imported from Bindings.GLFW) | 142 | toC IconifyState'Iconified = c'GL_TRUE | ^^^^^^^^^ Graphics/UI/GLFW/C.hs:143:35: error: • Variable not in scope: c'GL_FALSE :: CInt • Perhaps you meant ‘c'GLFW_FALSE’ (imported from Bindings.GLFW) | 143 | toC IconifyState'NotIconified = c'GL_FALSE | ^^^^^^^^^^ Graphics/UI/GLFW/C.hs:503:12: error: • Variable not in scope: c'GL_TRUE :: CInt • Perhaps you meant ‘c'GLFW_TRUE’ (imported from Bindings.GLFW) | 503 | | v == c'GL_TRUE = CursorState'InWindow | ^^^^^^^^^ Graphics/UI/GLFW/C.hs:504:12: error: • Variable not in scope: c'GL_FALSE :: CInt • Perhaps you meant ‘c'GLFW_FALSE’ (imported from Bindings.GLFW) | 504 | | v == c'GL_FALSE = CursorState'NotInWindow | ^^^^^^^^^^ Graphics/UI/GLFW/C.hs:506:30: error: • Variable not in scope: c'GL_TRUE :: CInt • Perhaps you meant ‘c'GLFW_TRUE’ (imported from Bindings.GLFW) | 506 | toC CursorState'InWindow = c'GL_TRUE | ^^^^^^^^^ Graphics/UI/GLFW/C.hs:507:33: error: • Variable not in scope: c'GL_FALSE :: CInt • Perhaps you meant ‘c'GLFW_FALSE’ (imported from Bindings.GLFW) | 507 | toC CursorState'NotInWindow = c'GL_FALSE | ^^^^^^^^^^ Graphics/UI/GLFW/C.hs:521:12: error: • Variable not in scope: c'GL_TRUE :: CInt • Perhaps you meant ‘c'GLFW_TRUE’ (imported from Bindings.GLFW) | 521 | | v == c'GL_TRUE = StickyKeysInputMode'Enabled | ^^^^^^^^^ Graphics/UI/GLFW/C.hs:522:12: error: • Variable not in scope: c'GL_FALSE :: CInt • Perhaps you meant ‘c'GLFW_FALSE’ (imported from Bindings.GLFW) | 522 | | v == c'GL_FALSE = StickyKeysInputMode'Disabled | ^^^^^^^^^^ Graphics/UI/GLFW/C.hs:524:37: error: • Variable not in scope: c'GL_TRUE :: CInt • Perhaps you meant ‘c'GLFW_TRUE’ (imported from Bindings.GLFW) | 524 | toC StickyKeysInputMode'Enabled = c'GL_TRUE | ^^^^^^^^^ Graphics/UI/GLFW/C.hs:525:38: error: • Variable not in scope: c'GL_FALSE :: CInt • Perhaps you meant ‘c'GLFW_FALSE’ (imported from Bindings.GLFW) | 525 | toC StickyKeysInputMode'Disabled = c'GL_FALSE | ^^^^^^^^^^ Graphics/UI/GLFW/C.hs:529:12: error: • Variable not in scope: c'GL_TRUE :: CInt • Perhaps you meant ‘c'GLFW_TRUE’ (imported from Bindings.GLFW) | 529 | | v == c'GL_TRUE = StickyMouseButtonsInputMode'Enabled | ^^^^^^^^^ Graphics/UI/GLFW/C.hs:530:12: error: • Variable not in scope: c'GL_FALSE :: CInt • Perhaps you meant ‘c'GLFW_FALSE’ (imported from Bindings.GLFW) | 530 | | v == c'GL_FALSE = StickyMouseButtonsInputMode'Disabled | ^^^^^^^^^^ Graphics/UI/GLFW/C.hs:532:45: error: • Variable not in scope: c'GL_TRUE :: CInt • Perhaps you meant ‘c'GLFW_TRUE’ (imported from Bindings.GLFW) | 532 | toC StickyMouseButtonsInputMode'Enabled = c'GL_TRUE | ^^^^^^^^^ Graphics/UI/GLFW/C.hs:533:46: error: • Variable not in scope: c'GL_FALSE :: CInt • Perhaps you meant ‘c'GLFW_FALSE’ (imported from Bindings.GLFW) | 533 | toC StickyMouseButtonsInputMode'Disabled = c'GL_FALSE | ^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-22206/GLFW-b-1.4.8.2' cabal: Error: some packages failed to install: GLFW-b-1.4.8.2-JFnvEPj5EcY9Nrcu9vDDai failed during the building phase. The exception was: ExitFailure 1