Resolving dependencies... Starting OneTuple-0.2.2.1 Starting Only-0.1 Starting base-orphans-0.8.2 Starting base-compat-0.11.1 Building OneTuple-0.2.2.1 Building Only-0.1 Building base-orphans-0.8.2 Building base-compat-0.11.1 Completed OneTuple-0.2.2.1 Starting base-prelude-1.4 Completed Only-0.1 Starting base16-bytestring-0.1.1.7 Building base-prelude-1.4 Building base16-bytestring-0.1.1.7 Completed base16-bytestring-0.1.1.7 Starting basement-0.0.11 Completed base-orphans-0.8.2 Starting binary-parser-0.5.6 Building basement-0.0.11 Building binary-parser-0.5.6 Completed base-compat-0.11.1 Starting cabal-doctest-1.0.8 Building cabal-doctest-1.0.8 Completed base-prelude-1.4 Starting cereal-0.5.8.1 Building cereal-0.5.8.1 Completed binary-parser-0.5.6 Starting cryptohash-md5-0.11.100.1 Building cryptohash-md5-0.11.100.1 Completed cabal-doctest-1.0.8 Starting cryptohash-sha1-0.11.100.1 Building cryptohash-sha1-0.11.100.1 Completed cryptohash-md5-0.11.100.1 Starting data-bword-0.1.0.1 Building data-bword-0.1.0.1 Completed cryptohash-sha1-0.11.100.1 Starting data-checked-0.3 Completed data-bword-0.1.0.1 Starting data-default-class-0.1.2.0 Building data-checked-0.3 Building data-default-class-0.1.2.0 Completed cereal-0.5.8.1 Starting data-endian-0.1.1 Completed data-checked-0.3 Starting dlist-0.8.0.8 Completed data-default-class-0.1.2.0 Building data-endian-0.1.1 Starting double-conversion-2.0.2.0 Building dlist-0.8.0.8 Building double-conversion-2.0.2.0 Completed data-endian-0.1.1 Starting entropy-0.4.1.6 Completed dlist-0.8.0.8 Starting exceptions-0.10.4 Building exceptions-0.10.4 Building entropy-0.4.1.6 Completed double-conversion-2.0.2.0 Starting hashable-1.3.0.0 Building hashable-1.3.0.0 Completed exceptions-0.10.4 Starting integer-logarithms-1.0.3 Building integer-logarithms-1.0.3 Completed entropy-0.4.1.6 Starting loch-th-0.2.2 Completed integer-logarithms-1.0.3 Starting network-3.1.1.1 Completed hashable-1.3.0.0 Starting network-info-0.2.0.10 Building loch-th-0.2.2 Building network-info-0.2.0.10 Completed loch-th-0.2.2 Starting old-locale-1.0.0.7 Building old-locale-1.0.0.7 Completed network-info-0.2.0.10 Starting placeholders-0.1 Building network-3.1.1.1 Building placeholders-0.1 Completed old-locale-1.0.0.7 Starting pretty-hex-1.1 Building pretty-hex-1.1 Completed placeholders-0.1 Starting primitive-0.7.1.0 Building primitive-0.7.1.0 Completed pretty-hex-1.1 Starting random-1.1 Building random-1.1 Completed random-1.1 Starting semigroups-0.19.1 Building semigroups-0.19.1 Completed semigroups-0.19.1 Starting split-0.2.3.4 Completed network-3.1.1.1 Starting tagged-0.8.6 Building split-0.2.3.4 Building tagged-0.8.6 Completed split-0.2.3.4 Starting th-abstraction-0.3.2.0 Building th-abstraction-0.3.2.0 Completed tagged-0.8.6 Starting transformers-compat-0.6.5 Building transformers-compat-0.6.5 Completed basement-0.0.11 Starting type-hint-0.1 Building type-hint-0.1 Completed primitive-0.7.1.0 Starting utf8-string-1.0.1.1 Building utf8-string-1.0.1.1 Completed transformers-compat-0.6.5 Starting single-tuple-0.1.1.0 Completed th-abstraction-0.3.2.0 Starting time-compat-1.9.3 Completed type-hint-0.1 Starting base-compat-batteries-0.11.1 Building single-tuple-0.1.1.0 Building time-compat-1.9.3 Building base-compat-batteries-0.11.1 Completed single-tuple-0.1.1.0 Starting safe-exceptions-0.1.7.0 Building safe-exceptions-0.1.7.0 Completed utf8-string-1.0.1.1 Starting unordered-containers-0.2.11.0 Building unordered-containers-0.2.11.0 Completed safe-exceptions-0.1.7.0 Starting data-dword-0.3.2 Completed time-compat-1.9.3 Starting case-insensitive-1.2.1.0 Building data-dword-0.3.2 Building case-insensitive-1.2.1.0 Completed base-compat-batteries-0.11.1 Starting old-time-1.1.0.3 Completed case-insensitive-1.2.1.0 Starting uuid-types-1.0.3 Building uuid-types-1.0.3 Building old-time-1.1.0.3 Completed uuid-types-1.0.3 Starting bytestring-strict-builder-0.4.5.3 Completed old-time-1.1.0.3 Building bytestring-strict-builder-0.4.5.3 Starting distributive-0.6.2 Completed unordered-containers-0.2.11.0 Starting memory-0.15.0 Building distributive-0.6.2 Building memory-0.15.0 Completed bytestring-strict-builder-0.4.5.3 Starting vector-0.12.1.2 Building vector-0.12.1.2 Completed distributive-0.6.2 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed scientific-0.3.6.2 Starting list-tuple-0.1.3.0 Completed memory-0.15.0 Starting homotuple-0.1.2.1 Building list-tuple-0.1.3.0 Building homotuple-0.1.2.1 Completed homotuple-0.1.2.1 Starting text-latin1-0.3.1 Building text-latin1-0.3.1 Completed text-latin1-0.3.1 Starting uuid-1.3.13 Building uuid-1.3.13 Completed uuid-1.3.13 Starting convertible-1.1.1.0 Building convertible-1.1.1.0 Completed data-dword-0.3.2 Starting charset-0.3.7.1 Building charset-0.3.7.1 Completed vector-0.12.1.2 Starting comonad-5.0.6 Completed charset-0.3.7.1 Starting attoparsec-0.13.2.4 Building attoparsec-0.13.2.4 Building comonad-5.0.6 Completed convertible-1.1.1.0 Starting text-printer-0.5.0.1 Building text-printer-0.5.0.1 Completed comonad-5.0.6 Starting HDBC-2.4.0.3 Building HDBC-2.4.0.3 Completed text-printer-0.5.0.1 Starting bifunctors-5.5.7 Building bifunctors-5.5.7 Completed attoparsec-0.13.2.4 Starting postgresql-placeholder-converter-0.1.0.0 Building postgresql-placeholder-converter-0.1.0.0 Completed HDBC-2.4.0.3 Starting parsers-0.12.10 Completed postgresql-placeholder-converter-0.1.0.0 Building parsers-0.12.10 Completed bifunctors-5.5.7 Starting assoc-1.0.1 Completed parsers-0.12.10 Starting data-serializer-0.3.4.1 Starting data-textual-0.3.0.3 Building assoc-1.0.1 Building data-serializer-0.3.4.1 Building data-textual-0.3.0.3 Completed assoc-1.0.1 Starting these-1.1.1 Building these-1.1.1 Completed data-serializer-0.3.4.1 Completed these-1.1.1 Starting aeson-1.5.2.0 Building aeson-1.5.2.0 Completed data-textual-0.3.0.3 Starting network-ip-0.3.0.3 Building network-ip-0.3.0.3 Completed network-ip-0.3.0.3 Completed aeson-1.5.2.0 Starting postgresql-binary-0.12.3 Building postgresql-binary-0.12.3 Completed list-tuple-0.1.3.0 Completed postgresql-binary-0.12.3 Starting postgresql-pure-0.2.0.0 Building postgresql-pure-0.2.0.0 Failed to install postgresql-pure-0.2.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/postgresql-pure-0.2.0.0-EIgObjAgfnLEH1FG5uSZol.log ): cabal: Entering directory '/tmp/cabal-tmp-3331/postgresql-pure-0.2.0.0' [1 of 1] Compiling Main ( /tmp/cabal-tmp-3331/postgresql-pure-0.2.0.0/dist/setup/setup.hs, /tmp/cabal-tmp-3331/postgresql-pure-0.2.0.0/dist/setup/Main.o ) Linking /tmp/cabal-tmp-3331/postgresql-pure-0.2.0.0/dist/setup/setup ... Configuring postgresql-pure-0.2.0.0... unnecessary to update src/Database/PostgreSQL/Pure/Internal/Builder.hs unnecessary to update src/Database/PostgreSQL/Pure/Internal/Parser.hs necessary to update src/Database/PostgreSQL/Pure/Internal/Length.hs template/Length.hs: openFile: does not exist (No such file or directory) cabal: Leaving directory '/tmp/cabal-tmp-3331/postgresql-pure-0.2.0.0' cabal: Error: some packages failed to install: postgresql-pure-0.2.0.0-EIgObjAgfnLEH1FG5uSZol failed during the building phase. The exception was: ExitFailure 1