Resolving dependencies... Downloading derive-storable-0.1.2.0 Downloaded derive-storable-0.1.2.0 Starting derive-storable-0.1.2.0 Building derive-storable-0.1.2.0 Completed derive-storable-0.1.2.0 Downloading glpk-headers-0.3.0 Downloaded glpk-headers-0.3.0 Starting glpk-headers-0.3.0 Building glpk-headers-0.3.0 Failed to install glpk-headers-0.3.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/glpk-headers-0.3.0-9rKk9EHeqDk3NmpOWFCQWe.log ): cabal: Entering directory '/tmp/cabal-tmp-22333/glpk-headers-0.3.0' Configuring glpk-headers-0.3.0... Preprocessing library for glpk-headers-0.3.0.. Header.hsc:412:10: fatal error: glpk.h: No such file or directory compilation terminated. compiling dist/build/Math/Programming/Glpk/Header_hsc_make.c failed (exit code 1) command was: /usr/bin/gcc -c dist/build/Math/Programming/Glpk/Header_hsc_make.c -o dist/build/Math/Programming/Glpk/Header_hsc_make.o -fno-stack-protector -fno-stack-protector -fuse-ld=gold -D__GLASGOW_HASKELL__=806 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Idist/build/autogen -Idist/build/global-autogen -include dist/build/autogen/cabal_macros.h -I/opt/ghc/8.6.3/lib/ghc-8.6.3/base-4.12.0.0/include -I/opt/ghc/8.6.3/lib/ghc-8.6.3/integer-gmp-1.0.2.0/include -I/opt/ghc/8.6.3/lib/ghc-8.6.3/include -I/opt/ghc/8.6.3/lib/ghc-8.6.3/include/ cabal: Leaving directory '/tmp/cabal-tmp-22333/glpk-headers-0.3.0' cabal: Error: some packages failed to install: glpk-headers-0.3.0-9rKk9EHeqDk3NmpOWFCQWe failed during the building phase. The exception was: ExitFailure 1