Resolving dependencies... Configuring ghc-paths-0.1.0.9... Configuring haddock-library-1.4.2... Building haddock-library-1.4.2... Building ghc-paths-0.1.0.9... Installed ghc-paths-0.1.0.9 Configuring mtl-2.2.1... Building mtl-2.2.1... Configuring network-2.6.3.1... Installed haddock-library-1.4.2 Configuring old-locale-1.0.0.7... Installed mtl-2.2.1 Building old-locale-1.0.0.7... Building network-2.6.3.1... Configuring primitive-0.6.1.0... Installed old-locale-1.0.0.7 Building primitive-0.6.1.0... Configuring random-1.1... Installed primitive-0.6.1.0 Building random-1.1... Configuring text-1.2.2.1... Installed network-2.6.3.1 Building text-1.2.2.1... Configuring utf8-string-1.0.1.1... Installed random-1.1 Building utf8-string-1.0.1.1... Installed utf8-string-1.0.1.1 Configuring haddock-api-2.17.3... Building haddock-api-2.17.3... Configuring binary-shared-0.8.3... Failed to install haddock-api-2.17.3 Build log ( /home/builder/.cabal/logs/haddock-api-2.17.3.log ): cabal: Entering directory '/tmp/cabal-tmp-14082/haddock-api-2.17.3' Configuring haddock-api-2.17.3... Building haddock-api-2.17.3... Preprocessing library haddock-api-2.17.3... [ 1 of 38] Compiling Paths_haddock_api ( dist/build/autogen/Paths_haddock_api.hs, dist/build/Paths_haddock_api.o ) [ 2 of 38] Compiling Haddock.Version ( src/Haddock/Version.hs, dist/build/Haddock/Version.o ) [ 3 of 38] Compiling Haddock.Syb ( src/Haddock/Syb.hs, dist/build/Haddock/Syb.o ) [ 4 of 38] Compiling Haddock.Parser ( src/Haddock/Parser.hs, dist/build/Haddock/Parser.o ) [ 5 of 38] Compiling Haddock.GhcUtils ( src/Haddock/GhcUtils.hs, dist/build/Haddock/GhcUtils.o ) src/Haddock/GhcUtils.hs:20:1: warning: [-Wunused-imports] The import of ‘Data.Function’ is redundant except perhaps to import instances from ‘Data.Function’ To import instances alone, use: import Data.Function() src/Haddock/GhcUtils.hs:27:1: warning: [-Wunused-imports] The import of ‘RdrName’ is redundant except perhaps to import instances from ‘RdrName’ To import instances alone, use: import RdrName() src/Haddock/GhcUtils.hs:28:1: warning: [-Wunused-imports] The import of ‘GhcMonad’ is redundant except perhaps to import instances from ‘GhcMonad’ To import instances alone, use: import GhcMonad() src/Haddock/GhcUtils.hs:30:1: warning: [-Wunused-imports] The import of ‘UniqFM’ is redundant except perhaps to import instances from ‘UniqFM’ To import instances alone, use: import UniqFM() [ 6 of 38] Compiling Haddock.Backends.Xhtml.Types ( src/Haddock/Backends/Xhtml/Types.hs, dist/build/Haddock/Backends/Xhtml/Types.o ) [ 7 of 38] Compiling Haddock.Backends.Hyperlinker.Types ( src/Haddock/Backends/Hyperlinker/Types.hs, dist/build/Haddock/Backends/Hyperlinker/Types.o ) [ 8 of 38] Compiling Haddock.Types ( src/Haddock/Types.hs, dist/build/Haddock/Types.o ) src/Haddock/Types.hs:451:10: error: Duplicate instance declarations: instance NFData Name -- Defined at src/Haddock/Types.hs:451:10 instance NFData Name -- Defined in ‘Name’ src/Haddock/Types.hs:452:10: error: Duplicate instance declarations: instance NFData OccName -- Defined at src/Haddock/Types.hs:452:10 instance NFData OccName -- Defined in ‘OccName’ src/Haddock/Types.hs:453:10: error: Duplicate instance declarations: instance NFData ModuleName -- Defined at src/Haddock/Types.hs:453:10 instance NFData ModuleName -- Defined in ‘Module’ cabal: Leaving directory '/tmp/cabal-tmp-14082/haddock-api-2.17.3' Building binary-shared-0.8.3... Configuring vector-0.11.0.0... Installed binary-shared-0.8.3 Building vector-0.11.0.0... Configuring hslogger-1.2.10... Installed text-1.2.2.1 Building hslogger-1.2.10... Installed hslogger-1.2.10 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Configuring parsec-3.1.11... Installed hashable-1.2.4.0 Building parsec-3.1.11... Installed parsec-3.1.11 Installed vector-0.11.0.0 Configuring hashtables-1.2.1.0... Building hashtables-1.2.1.0... Installed hashtables-1.2.1.0 Configuring gtk2hs-buildtools-0.13.2.1... Building gtk2hs-buildtools-0.13.2.1... Installed gtk2hs-buildtools-0.13.2.1 Configuring glib-0.13.4.1... Configuring cairo-0.13.3.1... Building cairo-0.13.3.1... Building glib-0.13.4.1... Installed cairo-0.13.3.1 Installed glib-0.13.4.1 Configuring pango-0.13.3.1... Configuring gio-0.13.3.1... Building gio-0.13.3.1... Building pango-0.13.3.1... Installed pango-0.13.3.1 Installed gio-0.13.3.1 Configuring gtk-0.14.6... Building gtk-0.14.6... Installed gtk-0.14.6 Configuring ltk-0.8.0.6... Building ltk-0.8.0.6... Failed to install ltk-0.8.0.6 Build log ( /home/builder/.cabal/logs/ltk-0.8.0.6.log ): cabal: Entering directory '/tmp/cabal-tmp-14082/ltk-0.8.0.6' Configuring ltk-0.8.0.6... Building ltk-0.8.0.6... Preprocessing library ltk-0.8.0.6... [ 1 of 12] Compiling MyMissing ( src/MyMissing.hs, dist/build/MyMissing.o ) src/MyMissing.hs:48:1: warning: [-Wtabs] Tab character found here, and in five further locations. Please use spaces instead. [ 2 of 12] Compiling Graphics.UI.Frame.Panes ( src/Graphics/UI/Frame/Panes.hs, dist/build/Graphics/UI/Frame/Panes.o ) src/Graphics/UI/Frame/Panes.hs:68:3: warning: [-Wtabs] Tab character found here. Please use spaces instead. [ 3 of 12] Compiling Graphics.UI.Editor.Parameters ( src/Graphics/UI/Editor/Parameters.hs, dist/build/Graphics/UI/Editor/Parameters.o ) [ 4 of 12] Compiling Default ( src/Default.hs, dist/build/Default.o ) [ 5 of 12] Compiling Control.Event ( src/Control/Event.hs, dist/build/Control/Event.o ) [ 6 of 12] Compiling Graphics.UI.Editor.Basics ( src/Graphics/UI/Editor/Basics.hs, dist/build/Graphics/UI/Editor/Basics.o ) [ 7 of 12] Compiling Text.PrinterParser ( src/Text/PrinterParser.hs, dist/build/Text/PrinterParser.o ) src/Text/PrinterParser.hs:215:10: error: • Illegal instance declaration for ‘Pretty String’ (All instance types must be of the form (T a1 ... an) where a1 ... an are *distinct type variables*, and each type variable appears at most once in the instance head. Use FlexibleInstances if you want to disable this.) • In the instance declaration for ‘Pretty String’ cabal: Leaving directory '/tmp/cabal-tmp-14082/ltk-0.8.0.6' cabal: Error: some packages failed to install: haddock-2.17.2 depends on haddock-api-2.17.3 which failed to install. haddock-api-2.17.3 failed during the building phase. The exception was: ExitFailure 1 leksah-server-0.8.0.5 depends on haddock-api-2.17.3 which failed to install. ltk-0.8.0.6 failed during the building phase. The exception was: ExitFailure 1