Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting uulib-0.9.24 Starting haskell-src-exts-1.21.0 Building uulib-0.9.24 Building haskell-src-exts-1.21.0 Completed uulib-0.9.24 Downloading uuagc-cabal-1.1.0.0 Downloaded uuagc-cabal-1.1.0.0 Starting uuagc-cabal-1.1.0.0 Building uuagc-cabal-1.1.0.0 Completed uuagc-cabal-1.1.0.0 Completed haskell-src-exts-1.21.0 Downloading uuagc-0.9.52.2 Downloaded uuagc-0.9.52.2 Starting uuagc-0.9.52.2 Failed to install uuagc-0.9.52.2 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/uuagc-0.9.52.2-5ejbvq83GzvBxKVV6UG3XE.log ): cabal: Entering directory '/tmp/cabal-tmp-9354/uuagc-0.9.52.2' cabal: Leaving directory '/tmp/cabal-tmp-9354/uuagc-0.9.52.2' cabal: Error: some packages failed to install: uuagc-0.9.52.2-5ejbvq83GzvBxKVV6UG3XE failed during the configure step. The exception was: dieVerbatim: user error (cabal: '/opt/ghc/bin/ghc' exited with an error: Loaded package environment from /home/builder/hackage-server/.ghc.environment.x86_64-linux-8.6.3 In file included from :7:0: error: /tmp/ghc10167_0/ghc_2.h:7:0: error: warning: "VERSION_Cabal" redefined #define VERSION_Cabal "2.4.1.0" | 7 | #define VERSION_Cabal "2.4.1.0" | ^ /tmp/ghc10167_0/ghc_2.h:1:0: error: note: this is the location of the previous definition #define VERSION_Cabal "2.4.0.1" | 1 | #define VERSION_Cabal "2.4.0.1" | ^ /tmp/ghc10167_0/ghc_2.h:8:0: error: warning: "MIN_VERSION_Cabal" redefined #define MIN_VERSION_Cabal(major1,major2,minor) (\ | 8 | #define MIN_VERSION_Cabal(major1,major2,minor) (\ | ^ /tmp/ghc10167_0/ghc_2.h:2:0: error: note: this is the location of the previous definition #define MIN_VERSION_Cabal(major1,major2,minor) (\ | 2 | #define MIN_VERSION_Cabal(major1,major2,minor) (\ | ^ /tmp/cabal-tmp-9354/uuagc-0.9.52.2/dist/setup/setup.hs:36:1: error: Ambiguous module name ‘Distribution.Simple’: it was found in multiple packages: Cabal-2.4.0.1 Cabal-2.4.1.0 | 36 | import Distribution.Simple (defaultMain, defaultMainWithHooksArgs) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ )