Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Warning: The following packages are likely to be broken by the reinstalls: Cabal-2.4.0.1 libiserv-8.6.3 ghci-8.6.3 ghc-8.6.3 ghc-boot-8.6.3 Continuing even though the plan contains dangerous reinstalls. Starting StateVar-1.1.1.1 Starting base-orphans-0.8 Starting Vec-1.0.5 Starting bindings-DSL-1.0.25 Building StateVar-1.1.1.1 Building base-orphans-0.8 Building Vec-1.0.5 Building bindings-DSL-1.0.25 Completed bindings-DSL-1.0.25 Starting cabal-doctest-1.0.6 Completed base-orphans-0.8 Starting cmdargs-0.10.20 Completed StateVar-1.1.1.1 Starting composition-1.0.2.1 Building cabal-doctest-1.0.6 Building cmdargs-0.10.20 Building composition-1.0.2.1 Completed composition-1.0.2.1 Starting containers-0.5.11.0 Building containers-0.5.11.0 Completed cabal-doctest-1.0.6 Starting erf-2.0.0.0 Building erf-2.0.0.0 Completed erf-2.0.0.0 Starting fixed-0.2.1.1 Building fixed-0.2.1.1 Completed Vec-1.0.5 Starting half-0.3 Completed fixed-0.2.1.1 Starting haskell-lexer-1.0.2 Building half-0.3 Building haskell-lexer-1.0.2 Completed half-0.3 Starting old-locale-1.0.0.7 Building old-locale-1.0.0.7 Completed old-locale-1.0.0.7 Starting primitive-0.6.4.0 Building primitive-0.6.4.0 Completed cmdargs-0.10.20 Starting random-1.1 Building random-1.1 Completed random-1.1 Starting semigroups-0.18.5 Building semigroups-0.18.5 Completed semigroups-0.18.5 Starting tagged-0.8.6 Completed primitive-0.6.4.0 Starting transformers-compat-0.6.2 Completed haskell-lexer-1.0.2 Starting utility-ht-0.0.14 Building tagged-0.8.6 Building transformers-compat-0.6.2 Building utility-ht-0.0.14 Completed tagged-0.8.6 Starting zlib-0.6.2 Completed transformers-compat-0.6.2 Starting bindings-GLFW-3.2.1.1 Building zlib-0.6.2 Failed to install bindings-GLFW-3.2.1.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/bindings-GLFW-3.2.1.1-IALeMu12KtQDCMmZCh81IW.log ): cabal: Entering directory '/tmp/cabal-tmp-22856/bindings-GLFW-3.2.1.1' Configuring bindings-GLFW-3.2.1.1... cabal: Missing dependencies on foreign libraries: * Missing (or bad) C libraries: GL, X11, Xi, Xrandr, Xxf86vm, Xcursor, Xinerama 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.If the library files do exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. cabal: Leaving directory '/tmp/cabal-tmp-22856/bindings-GLFW-3.2.1.1' Starting contravariant-1.5 Building contravariant-1.5 Completed utility-ht-0.0.14 Completed contravariant-1.5 Completed zlib-0.6.2 Completed containers-0.5.11.0 cabal: Error: some packages failed to install: GLFW-b-3.2.1.0-12HQBbx9KRkJap7LlAm5Ut depends on GLFW-b-3.2.1.0 which failed to install. Gamgine-0.5.3-BW4ggtcATloEkOR36ZiTOD depends on Gamgine-0.5.3 which failed to install. bindings-GLFW-3.2.1.1-IALeMu12KtQDCMmZCh81IW failed during the configure step. The exception was: ExitFailure 1 layers-game-0.6.0-L3Ewg6fXVj77r4x4d6iXY3 depends on layers-game-0.6.0 which failed to install.