Resolving dependencies... Configuring abstract-par-0.3.3... Configuring cereal-0.5.4.0... Building cereal-0.5.4.0... Building abstract-par-0.3.3... Installed abstract-par-0.3.3 Configuring extensible-exceptions-0.1.1.4... Building extensible-exceptions-0.1.1.4... Configuring ghc-paths-0.1.0.9... Installed extensible-exceptions-0.1.1.4 Configuring html-1.0.1.2... Installed cereal-0.5.4.0 Building html-1.0.1.2... Building ghc-paths-0.1.0.9... Configuring mtl-2.2.1... Installed ghc-paths-0.1.0.9 Building mtl-2.2.1... Configuring old-locale-1.0.0.7... Installed html-1.0.1.2 Building old-locale-1.0.0.7... Configuring network-2.6.3.1... Installed old-locale-1.0.0.7 Configuring parallel-3.2.1.0... Installed mtl-2.2.1 Building parallel-3.2.1.0... Building network-2.6.3.1... Configuring random-1.1... Installed parallel-3.2.1.0 Building random-1.1... Configuring simple-reflect-0.3.2... Installed random-1.1 Building simple-reflect-0.3.2... Configuring primitive-0.6.1.0... Installed network-2.6.3.1 Building primitive-0.6.1.0... Configuring stm-2.4.4.1... Installed simple-reflect-0.3.2 Building stm-2.4.4.1... Configuring syb-0.6... Installed stm-2.4.4.1 Building syb-0.6... Configuring transformers-compat-0.5.1.4... Installed primitive-0.6.1.0 Building transformers-compat-0.5.1.4... Configuring text-1.2.2.1... Installed transformers-compat-0.5.1.4 Building text-1.2.2.1... Installed syb-0.6 Configuring abstract-deque-0.3... Building abstract-deque-0.3... Configuring old-time-1.1.0.3... Installed abstract-deque-0.3 Building old-time-1.1.0.3... Configuring monad-par-extras-0.3.3... Installed old-time-1.1.0.3 Building monad-par-extras-0.3.3... Configuring tf-random-0.5... Installed monad-par-extras-0.3.3 Building tf-random-0.5... Configuring vector-0.11.0.0... Installed tf-random-0.5 Configuring exceptions-0.8.3... Installed text-1.2.2.1 Building vector-0.11.0.0... Building exceptions-0.8.3... Configuring haskell-src-1.0.2.0... Installed exceptions-0.8.3 Building haskell-src-1.0.2.0... Configuring show-0.6... Installed haskell-src-1.0.2.0 Building show-0.6... Installed show-0.6 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Configuring QuickCheck-2.9.2... Installed hashable-1.2.4.0 Building QuickCheck-2.9.2... Configuring hint-0.6.0... Installed vector-0.11.0.0 Building hint-0.6.0... Configuring parsec-3.1.11... Installed hint-0.6.0 Building parsec-3.1.11... Configuring mwc-random-0.13.4.0... Installed QuickCheck-2.9.2 Building mwc-random-0.13.4.0... Installed parsec-3.1.11 Configuring multipart-0.1.2... Building multipart-0.1.2... Configuring network-uri-2.6.1.0... Installed multipart-0.1.2 Building network-uri-2.6.1.0... Configuring mueval-0.9.3... Installed mwc-random-0.13.4.0 Building mueval-0.9.3... Installed network-uri-2.6.1.0 Configuring cgi-3001.3.0.2... Building cgi-3001.3.0.2... Configuring monad-par-0.3.4.8... Installed cgi-3001.3.0.2 Building monad-par-0.3.4.8... Installed mueval-0.9.3 Installed monad-par-0.3.4.8 Configuring MagicHaskeller-0.9.6.4.1... Building MagicHaskeller-0.9.6.4.1... Failed to install MagicHaskeller-0.9.6.4.1 Build log ( /home/builder/.cabal/logs/MagicHaskeller-0.9.6.4.1.log ): cabal: Entering directory '/tmp/cabal-tmp-2534/MagicHaskeller-0.9.6.4.1' Configuring MagicHaskeller-0.9.6.4.1... Building MagicHaskeller-0.9.6.4.1... Preprocessing library MagicHaskeller-0.9.6.4.1... on the commandline: warning: The -fvia-C flag does nothing; it will be removed in a future GHC release MagicHaskeller/Classification.hs:4:36: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS MagicHaskeller/IOGenerator.hs:4:55: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS MagicHaskeller/Classify.hs:9:0: error: warning: "CHTO" redefined [enabled by default] #define CHTO ^ :0:0: error: note: this is the location of the previous definition MagicHaskeller/ClassifyDM.hs:5:0: error: warning: "CHTO" redefined [enabled by default] #define CHTO ^ :0:0: error: note: this is the location of the previous definition [ 1 of 57] Compiling Paths_MagicHaskeller ( dist/build/autogen/Paths_MagicHaskeller.hs, dist/build/Paths_MagicHaskeller.o ) [ 2 of 57] Compiling MagicHaskeller.Types ( MagicHaskeller/Types.lhs, dist/build/MagicHaskeller/Types.o ) MagicHaskeller/Types.lhs:13:1: warning: [-Wtabs] Tab character found here, and in 74 further locations. Please use spaces instead. [ 3 of 57] Compiling MagicHaskeller.TyConLib ( MagicHaskeller/TyConLib.hs, dist/build/MagicHaskeller/TyConLib.o ) MagicHaskeller/TyConLib.hs:21:1: warning: [-Wtabs] Tab character found here, and in six further locations. Please use spaces instead. [ 4 of 57] Compiling MagicHaskeller.T10 ( MagicHaskeller/T10.hs, dist/build/MagicHaskeller/T10.o ) MagicHaskeller/T10.hs:65:1: warning: [-Wtabs] Tab character found here, and in 8 further locations. Please use spaces instead. [ 5 of 57] Compiling MagicHaskeller.ReadTypeRep ( MagicHaskeller/ReadTypeRep.hs, dist/build/MagicHaskeller/ReadTypeRep.o ) MagicHaskeller/ReadTypeRep.hs:46:1: warning: [-Wtabs] Tab character found here, and in three further locations. Please use spaces instead. [ 6 of 57] Compiling MagicHaskeller.ReadTHType ( MagicHaskeller/ReadTHType.lhs, dist/build/MagicHaskeller/ReadTHType.o ) MagicHaskeller/ReadTHType.lhs:34:1: warning: [-Wtabs] Tab character found here, and in two further locations. Please use spaces instead. [ 7 of 57] Compiling MagicHaskeller.ReadHsType ( MagicHaskeller/ReadHsType.hs, dist/build/MagicHaskeller/ReadHsType.o ) MagicHaskeller/ReadHsType.hs:52:1: warning: [-Wtabs] Tab character found here, and in 11 further locations. Please use spaces instead. [ 8 of 57] Compiling MagicHaskeller.MHTH ( MagicHaskeller/MHTH.lhs, dist/build/MagicHaskeller/MHTH.o ) MagicHaskeller/MHTH.lhs:90:10: error: Duplicate instance declarations: instance Ord Type -- Defined at MagicHaskeller/MHTH.lhs:90:10 instance Ord Type -- Defined in ‘Language.Haskell.TH.Syntax’ cabal: Leaving directory '/tmp/cabal-tmp-2534/MagicHaskeller-0.9.6.4.1' cabal: Error: some packages failed to install: MagicHaskeller-0.9.6.4.1 failed during the building phase. The exception was: ExitFailure 1