Resolving dependencies... Starting StateVar-1.2.2 Starting ap-normalize-0.1.0.1 Starting appar-0.1.8 Starting SHA-1.6.4.4 Building StateVar-1.2.2 Building ap-normalize-0.1.0.1 Building appar-0.1.8 Building SHA-1.6.4.4 Completed ap-normalize-0.1.0.1 Starting base-compat-0.12.1 Completed appar-0.1.8 Starting base-orphans-0.8.6 Completed StateVar-1.2.2 Starting base64-bytestring-1.2.1.0 Building base-compat-0.12.1 Building base-orphans-0.8.6 Building base64-bytestring-1.2.1.0 Completed base64-bytestring-1.2.1.0 Starting basement-0.0.14 Building basement-0.0.14 Completed SHA-1.6.4.4 Starting blaze-builder-0.4.2.2 Completed base-orphans-0.8.6 Starting byteable-0.1.1 Building blaze-builder-0.4.2.2 Completed base-compat-0.12.1 Starting byteorder-1.0.4 Building byteable-0.1.1 Building byteorder-1.0.4 Completed byteable-0.1.1 Starting cabal-doctest-1.0.9 Completed byteorder-1.0.4 Starting call-stack-0.4.0 Building cabal-doctest-1.0.9 Building call-stack-0.4.0 Completed call-stack-0.4.0 Starting cereal-0.5.8.2 Completed blaze-builder-0.4.2.2 Starting data-default-class-0.1.2.0 Building cereal-0.5.8.2 Building data-default-class-0.1.2.0 Completed cabal-doctest-1.0.9 Starting digest-0.0.1.3 Building digest-0.0.1.3 Completed data-default-class-0.1.2.0 Starting dlist-1.0 Building dlist-1.0 Completed digest-0.0.1.3 Starting extensible-exceptions-0.1.1.4 Building extensible-exceptions-0.1.1.4 Completed extensible-exceptions-0.1.1.4 Starting file-embed-0.0.15.0 Building file-embed-0.0.15.0 Completed dlist-1.0 Starting filelock-0.1.1.5 Building filelock-0.1.1.5 Completed cereal-0.5.8.2 Starting gd-3000.7.3 Completed file-embed-0.0.15.0 Starting harp-0.4.3.5 Building harp-0.4.3.5 Failed to install gd-3000.7.3 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/gd-3000.7.3-3i0iZRQv38l3ICIYbJD0Lk.log ): cabal: Entering directory '/tmp/cabal-tmp-3558/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-3558/gd-3000.7.3' Starting haskell-src-exts-1.23.1 Completed filelock-0.1.1.5 Building haskell-src-exts-1.23.1 Completed harp-0.4.3.5 Completed basement-0.0.14 Completed haskell-src-exts-1.23.1 cabal: Error: some packages failed to install: clckwrks-plugin-media-0.6.17.2-5VxNjXKSCbk2bPks7MFMO3 depends on clckwrks-plugin-media-0.6.17.2 which failed to install. gd-3000.7.3-3i0iZRQv38l3ICIYbJD0Lk failed during the configure step. The exception was: ExitFailure 1