Resolving dependencies... Warning: Note that reinstalls are always dangerous. Continuing anyway... Notice: installing into a sandbox located at /home/builder/hackage-server/.cabal-sandbox Configuring ansi-wl-pprint-0.6.8.1... Configuring constraints-0.9.1... Building ansi-wl-pprint-0.6.8.1... Building constraints-0.9.1... Failed to install ansi-wl-pprint-0.6.8.1 Build log ( /home/builder/hackage-server/.cabal-sandbox/logs/ghc-8.2.2/ansi-wl-pprint-0.6.8.1-IpMfmTzehtEEHCFyWJrNYL.log ): cabal: Entering directory '/tmp/cabal-tmp-27881/ansi-wl-pprint-0.6.8.1' Configuring ansi-wl-pprint-0.6.8.1... Preprocessing library for ansi-wl-pprint-0.6.8.1.. Building library for ansi-wl-pprint-0.6.8.1.. [1 of 2] Compiling Text.PrettyPrint.ANSI.Leijen.Internal ( Text/PrettyPrint/ANSI/Leijen/Internal.hs, dist/dist-sandbox-9df84abc/build/Text/PrettyPrint/ANSI/Leijen/Internal.o ) Text/PrettyPrint/ANSI/Leijen/Internal.hs:20:1: error: Could not find module ‘System.Console.ANSI’ There are files missing in the ‘ansi-terminal-0.6.3.1’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. | 20 | import System.Console.ANSI (Color(..), ColorIntensity(..), ConsoleLayer(..), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... cabal: Leaving directory '/tmp/cabal-tmp-27881/ansi-wl-pprint-0.6.8.1' Configuring hspec-expectations-0.8.2... Building hspec-expectations-0.8.2... Installed hspec-expectations-0.8.2 Failed to install constraints-0.9.1 Build log ( /home/builder/hackage-server/.cabal-sandbox/logs/ghc-8.2.2/constraints-0.9.1-3wheaBhcwam3U9ML5J0sWf.log ): cabal: Entering directory '/tmp/cabal-tmp-27882/constraints-0.9.1' Configuring constraints-0.9.1... Preprocessing library for constraints-0.9.1.. Building library for constraints-0.9.1.. [1 of 7] Compiling Data.Constraint ( src/Data/Constraint.hs, dist/dist-sandbox-9df84abc/build/Data/Constraint.o ) [2 of 7] Compiling Data.Constraint.Deferrable ( src/Data/Constraint/Deferrable.hs, dist/dist-sandbox-9df84abc/build/Data/Constraint/Deferrable.o ) [3 of 7] Compiling Data.Constraint.Forall ( src/Data/Constraint/Forall.hs, dist/dist-sandbox-9df84abc/build/Data/Constraint/Forall.o ) [4 of 7] Compiling Data.Constraint.Lifting ( src/Data/Constraint/Lifting.hs, dist/dist-sandbox-9df84abc/build/Data/Constraint/Lifting.o ) [5 of 7] Compiling Data.Constraint.Nat ( src/Data/Constraint/Nat.hs, dist/dist-sandbox-9df84abc/build/Data/Constraint/Nat.o ) [6 of 7] Compiling Data.Constraint.Symbol ( src/Data/Constraint/Symbol.hs, dist/dist-sandbox-9df84abc/build/Data/Constraint/Symbol.o ) [7 of 7] Compiling Data.Constraint.Unsafe ( src/Data/Constraint/Unsafe.hs, dist/dist-sandbox-9df84abc/build/Data/Constraint/Unsafe.o ) /usr/bin/ld.gold: error: cannot find -lHStransformers-compat-0.5.1.4-8ROpHfTW2Zp5hyE7gQe9fh-ghc8.2.2 collect2: error: ld returned 1 exit status `gcc' failed in phase `Linker'. (Exit code: 1) cabal: Leaving directory '/tmp/cabal-tmp-27882/constraints-0.9.1' Updating documentation index /home/builder/hackage-server/build-cache/tmp-install/share/doc/x86_64-linux-ghc-8.2.2/index.html cabal: Error: some packages failed to install: ansi-wl-pprint-0.6.8.1-IpMfmTzehtEEHCFyWJrNYL failed during the building phase. The exception was: ExitFailure 1 constraints-0.9.1-3wheaBhcwam3U9ML5J0sWf failed during the building phase. The exception was: ExitFailure 1 eventsource-api-1.2.0-78Vu5FBvHGNIPGJN7DJLMf depends on eventsource-api-1.2.0 which failed to install. eventsource-store-specs-1.1.0-EQts3WEhPBlDaOC63hiTGY depends on eventsource-store-specs-1.1.0 which failed to install. lifted-async-0.9.3.2-5YKE5kXqNgK4zXE4a6zBdH depends on lifted-async-0.9.3.2 which failed to install. optparse-applicative-0.14.0.0-5E6sLJ7Y7yTBZ9UxB0SfBS depends on optparse-applicative-0.14.0.0 which failed to install. tasty-0.12-JUJhCeoJ7opHIkryS9iSV8 depends on tasty-0.12 which failed to install. tasty-hspec-1.1.3.2-BOwb6hEojMB4doLLBUy7R6 depends on tasty-hspec-1.1.3.2 which failed to install. tasty-quickcheck-0.9.1-5BObFKEiLbUHTsQTQst60v depends on tasty-quickcheck-0.9.1 which failed to install. tasty-smallcheck-0.8.1-JnZJO85EFKc4YFbjqT9tuV depends on tasty-smallcheck-0.8.1 which failed to install.