Resolving dependencies... Configuring cmdargs-0.10.14... Configuring executable-path-0.0.3... Building executable-path-0.0.3... Building cmdargs-0.10.14... Installed executable-path-0.0.3 Configuring ghc-paths-0.1.0.9... Building ghc-paths-0.1.0.9... Configuring io-storage-0.3... Installed ghc-paths-0.1.0.9 Building io-storage-0.3... Configuring old-locale-1.0.0.7... Installed io-storage-0.3 Building old-locale-1.0.0.7... 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 mtl-2.2.1... Installed cmdargs-0.10.14 Building mtl-2.2.1... Configuring utf8-string-1.0.1.1... Installed random-1.1 Building utf8-string-1.0.1.1... Configuring text-1.2.2.1... Installed mtl-2.2.1 Configuring zeromq-haskell-0.8.4... Installed utf8-string-1.0.1.1 Building text-1.2.2.1... Building zeromq-haskell-0.8.4... Configuring xdg-basedir-0.2.2... Installed zeromq-haskell-0.8.4 Building xdg-basedir-0.2.2... Installed xdg-basedir-0.2.2 Configuring url-2.1.3... Building url-2.1.3... Configuring vector-0.11.0.0... Installed url-2.1.3 Building vector-0.11.0.0... Configuring dyre-0.8.12... Installed text-1.2.2.1 Building dyre-0.8.12... Configuring hashable-1.2.4.0... Installed dyre-0.8.12 Building hashable-1.2.4.0... Installed hashable-1.2.4.0 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 cairo-0.13.3.1... Configuring glib-0.13.4.1... Building glib-0.13.4.1... Building cairo-0.13.3.1... Installed cairo-0.13.3.1 Installed glib-0.13.4.1 Configuring gio-0.13.3.1... Configuring pango-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 webkit-0.14.2.1... Building webkit-0.14.2.1... Installed webkit-0.14.2.1 Configuring hbro-0.6.7... Building hbro-0.6.7... Failed to install hbro-0.6.7 Build log ( /home/builder/.cabal/logs/hbro-0.6.7.log ): cabal: Entering directory '/tmp/cabal-tmp-3894/hbro-0.6.7' Configuring hbro-0.6.7... Building hbro-0.6.7... Preprocessing library hbro-0.6.7... Hbro/Gui.hs:1:14: warning: -XDoRec is deprecated: use -XRecursiveDo or pragma {-# LANGUAGE RecursiveDo #-} instead [ 1 of 13] Compiling Hbro.Types ( Hbro/Types.hs, dist/build/Hbro/Types.o ) [ 2 of 13] Compiling Hbro.Util ( Hbro/Util.hs, dist/build/Hbro/Util.o ) Hbro/Util.hs:28:9: error: • Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’ Expected type: System.Glib.UTFString.DefaultGlibString Actual type: [Char] • In the pattern: "Caps_Lock" In a case alternative: "Caps_Lock" -> Nothing In the expression: case keyName keyVal of { "Caps_Lock" -> Nothing "Shift_L" -> Nothing "Shift_R" -> Nothing "Control_L" -> Nothing "Control_R" -> Nothing "Alt_L" -> Nothing "Alt_R" -> Nothing "Super_L" -> Nothing "Super_R" -> Nothing "Menu" -> Nothing "ISO_Level3_Shift" -> Nothing "dead_circumflex" -> Just "^" "dead_diaeresis" -> Just "\168" x -> Just ('<' : x ++ ">") } Hbro/Util.hs:29:9: error: • Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’ Expected type: System.Glib.UTFString.DefaultGlibString Actual type: [Char] • In the pattern: "Shift_L" In a case alternative: "Shift_L" -> Nothing In the expression: case keyName keyVal of { "Caps_Lock" -> Nothing "Shift_L" -> Nothing "Shift_R" -> Nothing "Control_L" -> Nothing "Control_R" -> Nothing "Alt_L" -> Nothing "Alt_R" -> Nothing "Super_L" -> Nothing "Super_R" -> Nothing "Menu" -> Nothing "ISO_Level3_Shift" -> Nothing "dead_circumflex" -> Just "^" "dead_diaeresis" -> Just "\168" x -> Just ('<' : x ++ ">") } Hbro/Util.hs:30:9: error: • Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’ Expected type: System.Glib.UTFString.DefaultGlibString Actual type: [Char] • In the pattern: "Shift_R" In a case alternative: "Shift_R" -> Nothing In the expression: case keyName keyVal of { "Caps_Lock" -> Nothing "Shift_L" -> Nothing "Shift_R" -> Nothing "Control_L" -> Nothing "Control_R" -> Nothing "Alt_L" -> Nothing "Alt_R" -> Nothing "Super_L" -> Nothing "Super_R" -> Nothing "Menu" -> Nothing "ISO_Level3_Shift" -> Nothing "dead_circumflex" -> Just "^" "dead_diaeresis" -> Just "\168" x -> Just ('<' : x ++ ">") } Hbro/Util.hs:31:9: error: • Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’ Expected type: System.Glib.UTFString.DefaultGlibString Actual type: [Char] • In the pattern: "Control_L" In a case alternative: "Control_L" -> Nothing In the expression: case keyName keyVal of { "Caps_Lock" -> Nothing "Shift_L" -> Nothing "Shift_R" -> Nothing "Control_L" -> Nothing "Control_R" -> Nothing "Alt_L" -> Nothing "Alt_R" -> Nothing "Super_L" -> Nothing "Super_R" -> Nothing "Menu" -> Nothing "ISO_Level3_Shift" -> Nothing "dead_circumflex" -> Just "^" "dead_diaeresis" -> Just "\168" x -> Just ('<' : x ++ ">") } Hbro/Util.hs:32:9: error: • Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’ Expected type: System.Glib.UTFString.DefaultGlibString Actual type: [Char] • In the pattern: "Control_R" In a case alternative: "Control_R" -> Nothing In the expression: case keyName keyVal of { "Caps_Lock" -> Nothing "Shift_L" -> Nothing "Shift_R" -> Nothing "Control_L" -> Nothing "Control_R" -> Nothing "Alt_L" -> Nothing "Alt_R" -> Nothing "Super_L" -> Nothing "Super_R" -> Nothing "Menu" -> Nothing "ISO_Level3_Shift" -> Nothing "dead_circumflex" -> Just "^" "dead_diaeresis" -> Just "\168" x -> Just ('<' : x ++ ">") } Hbro/Util.hs:33:9: error: • Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’ Expected type: System.Glib.UTFString.DefaultGlibString Actual type: [Char] • In the pattern: "Alt_L" In a case alternative: "Alt_L" -> Nothing In the expression: case keyName keyVal of { "Caps_Lock" -> Nothing "Shift_L" -> Nothing "Shift_R" -> Nothing "Control_L" -> Nothing "Control_R" -> Nothing "Alt_L" -> Nothing "Alt_R" -> Nothing "Super_L" -> Nothing "Super_R" -> Nothing "Menu" -> Nothing "ISO_Level3_Shift" -> Nothing "dead_circumflex" -> Just "^" "dead_diaeresis" -> Just "\168" x -> Just ('<' : x ++ ">") } Hbro/Util.hs:34:9: error: • Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’ Expected type: System.Glib.UTFString.DefaultGlibString Actual type: [Char] • In the pattern: "Alt_R" In a case alternative: "Alt_R" -> Nothing In the expression: case keyName keyVal of { "Caps_Lock" -> Nothing "Shift_L" -> Nothing "Shift_R" -> Nothing "Control_L" -> Nothing "Control_R" -> Nothing "Alt_L" -> Nothing "Alt_R" -> Nothing "Super_L" -> Nothing "Super_R" -> Nothing "Menu" -> Nothing "ISO_Level3_Shift" -> Nothing "dead_circumflex" -> Just "^" "dead_diaeresis" -> Just "\168" x -> Just ('<' : x ++ ">") } Hbro/Util.hs:35:9: error: • Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’ Expected type: System.Glib.UTFString.DefaultGlibString Actual type: [Char] • In the pattern: "Super_L" In a case alternative: "Super_L" -> Nothing In the expression: case keyName keyVal of { "Caps_Lock" -> Nothing "Shift_L" -> Nothing "Shift_R" -> Nothing "Control_L" -> Nothing "Control_R" -> Nothing "Alt_L" -> Nothing "Alt_R" -> Nothing "Super_L" -> Nothing "Super_R" -> Nothing "Menu" -> Nothing "ISO_Level3_Shift" -> Nothing "dead_circumflex" -> Just "^" "dead_diaeresis" -> Just "\168" x -> Just ('<' : x ++ ">") } Hbro/Util.hs:36:9: error: • Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’ Expected type: System.Glib.UTFString.DefaultGlibString Actual type: [Char] • In the pattern: "Super_R" In a case alternative: "Super_R" -> Nothing In the expression: case keyName keyVal of { "Caps_Lock" -> Nothing "Shift_L" -> Nothing "Shift_R" -> Nothing "Control_L" -> Nothing "Control_R" -> Nothing "Alt_L" -> Nothing "Alt_R" -> Nothing "Super_L" -> Nothing "Super_R" -> Nothing "Menu" -> Nothing "ISO_Level3_Shift" -> Nothing "dead_circumflex" -> Just "^" "dead_diaeresis" -> Just "\168" x -> Just ('<' : x ++ ">") } Hbro/Util.hs:37:9: error: • Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’ Expected type: System.Glib.UTFString.DefaultGlibString Actual type: [Char] • In the pattern: "Menu" In a case alternative: "Menu" -> Nothing In the expression: case keyName keyVal of { "Caps_Lock" -> Nothing "Shift_L" -> Nothing "Shift_R" -> Nothing "Control_L" -> Nothing "Control_R" -> Nothing "Alt_L" -> Nothing "Alt_R" -> Nothing "Super_L" -> Nothing "Super_R" -> Nothing "Menu" -> Nothing "ISO_Level3_Shift" -> Nothing "dead_circumflex" -> Just "^" "dead_diaeresis" -> Just "\168" x -> Just ('<' : x ++ ">") } Hbro/Util.hs:38:9: error: • Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’ Expected type: System.Glib.UTFString.DefaultGlibString Actual type: [Char] • In the pattern: "ISO_Level3_Shift" In a case alternative: "ISO_Level3_Shift" -> Nothing In the expression: case keyName keyVal of { "Caps_Lock" -> Nothing "Shift_L" -> Nothing "Shift_R" -> Nothing "Control_L" -> Nothing "Control_R" -> Nothing "Alt_L" -> Nothing "Alt_R" -> Nothing "Super_L" -> Nothing "Super_R" -> Nothing "Menu" -> Nothing "ISO_Level3_Shift" -> Nothing "dead_circumflex" -> Just "^" "dead_diaeresis" -> Just "\168" x -> Just ('<' : x ++ ">") } Hbro/Util.hs:39:9: error: • Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’ Expected type: System.Glib.UTFString.DefaultGlibString Actual type: [Char] • In the pattern: "dead_circumflex" In a case alternative: "dead_circumflex" -> Just "^" In the expression: case keyName keyVal of { "Caps_Lock" -> Nothing "Shift_L" -> Nothing "Shift_R" -> Nothing "Control_L" -> Nothing "Control_R" -> Nothing "Alt_L" -> Nothing "Alt_R" -> Nothing "Super_L" -> Nothing "Super_R" -> Nothing "Menu" -> Nothing "ISO_Level3_Shift" -> Nothing "dead_circumflex" -> Just "^" "dead_diaeresis" -> Just "\168" x -> Just ('<' : x ++ ">") } Hbro/Util.hs:40:9: error: • Couldn't match type ‘[Char]’ with ‘Data.Text.Internal.Text’ Expected type: System.Glib.UTFString.DefaultGlibString Actual type: [Char] • In the pattern: "dead_diaeresis" In a case alternative: "dead_diaeresis" -> Just "\168" In the expression: case keyName keyVal of { "Caps_Lock" -> Nothing "Shift_L" -> Nothing "Shift_R" -> Nothing "Control_L" -> Nothing "Control_R" -> Nothing "Alt_L" -> Nothing "Alt_R" -> Nothing "Super_L" -> Nothing "Super_R" -> Nothing "Menu" -> Nothing "ISO_Level3_Shift" -> Nothing "dead_circumflex" -> Just "^" "dead_diaeresis" -> Just "\168" x -> Just ('<' : x ++ ">") } Hbro/Util.hs:41:42: error: • Couldn't match type ‘Data.Text.Internal.Text’ with ‘[Char]’ Expected type: [Char] Actual type: System.Glib.UTFString.DefaultGlibString • In the first argument of ‘(++)’, namely ‘x’ In the second argument of ‘(:)’, namely ‘x ++ ">"’ In the first argument of ‘Just’, namely ‘('<' : x ++ ">")’ cabal: Leaving directory '/tmp/cabal-tmp-3894/hbro-0.6.7' cabal: Error: some packages failed to install: hbro-0.6.7 failed during the building phase. The exception was: ExitFailure 1