Resolving dependencies... Starting StateVar-1.2 Starting ap-normalize-0.1.0.0 Starting SHA-1.6.4.4 Starting base-compat-0.11.2 Building StateVar-1.2 Building ap-normalize-0.1.0.0 Building SHA-1.6.4.4 Building base-compat-0.11.2 Completed ap-normalize-0.1.0.0 Starting base-orphans-0.8.3 Completed StateVar-1.2 Starting base64-bytestring-1.0.0.3 Building base-orphans-0.8.3 Building base64-bytestring-1.0.0.3 Completed base64-bytestring-1.0.0.3 Starting basement-0.0.11 Building basement-0.0.11 Completed base-compat-0.11.2 Starting blaze-builder-0.4.1.0 Completed SHA-1.6.4.4 Starting byteable-0.1.1 Building blaze-builder-0.4.1.0 Building byteable-0.1.1 Completed base-orphans-0.8.3 Starting cabal-doctest-1.0.8 Building cabal-doctest-1.0.8 Completed byteable-0.1.1 Starting call-stack-0.2.0 Building call-stack-0.2.0 Completed call-stack-0.2.0 Starting cereal-0.5.8.1 Completed blaze-builder-0.4.1.0 Starting data-default-class-0.1.2.0 Building cereal-0.5.8.1 Completed cabal-doctest-1.0.8 Starting digest-0.0.1.2 Building data-default-class-0.1.2.0 Building digest-0.0.1.2 Completed data-default-class-0.1.2.0 Starting dlist-0.8.0.8 Completed digest-0.0.1.2 Starting exceptions-0.10.4 Building dlist-0.8.0.8 Building exceptions-0.10.4 Completed dlist-0.8.0.8 Starting extensible-exceptions-0.1.1.4 Building extensible-exceptions-0.1.1.4 Completed extensible-exceptions-0.1.1.4 Starting fail-4.9.0.0 Completed exceptions-0.10.4 Starting filelock-0.1.1.5 Building fail-4.9.0.0 Completed cereal-0.5.8.1 Starting gd-3000.7.3 Completed fail-4.9.0.0 Starting harp-0.4.3.4 Building filelock-0.1.1.5 Building harp-0.4.3.4 Failed to install gd-3000.7.3 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/gd-3000.7.3-APCH4Ju1A4ZBRkJqgSs3lQ.log ): cabal: Entering directory '/tmp/cabal-tmp-31209/gd-3000.7.3' Configuring gd-3000.7.3... cabal: Missing dependencies on foreign libraries: * Missing (or bad) header file: gd.h * Missing (or bad) C libraries: gd, jpeg 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. If the header file does 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-31209/gd-3000.7.3' Starting hashable-1.3.0.0 Building hashable-1.3.0.0 Completed harp-0.4.3.4 Completed filelock-0.1.1.5 Completed hashable-1.3.0.0 Completed basement-0.0.11 cabal: Error: some packages failed to install: clckwrks-plugin-media-0.6.17-Eld1B4LWQ7ve3HDRTMCew depends on clckwrks-plugin-media-0.6.17 which failed to install. gd-3000.7.3-APCH4Ju1A4ZBRkJqgSs3lQ failed during the configure step. The exception was: ExitFailure 1