Resolving dependencies... Configuring executable-path-0.0.3... Configuring ghc-paths-0.1.0.9... Building executable-path-0.0.3... Installed executable-path-0.0.3 Configuring io-storage-0.3... Building io-storage-0.3... Building ghc-paths-0.1.0.9... Configuring mtl-2.2.1... Installed io-storage-0.3 Building mtl-2.2.1... Configuring primitive-0.6.1.0... Installed ghc-paths-0.1.0.9 Building primitive-0.6.1.0... Configuring random-1.1... Installed mtl-2.2.1 Building random-1.1... Configuring utf8-string-1.0.1.1... Installed primitive-0.6.1.0 Building utf8-string-1.0.1.1... Configuring text-1.2.2.1... Installed random-1.1 Building text-1.2.2.1... Configuring xdg-basedir-0.2.2... Installed utf8-string-1.0.1.1 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... Installed dyre-0.8.12 Configuring hashable-1.2.4.0... 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 glade-0.13.1... Configuring webkit-0.14.2.1... Building glade-0.13.1... Building webkit-0.14.2.1... Installed glade-0.13.1 Installed webkit-0.14.2.1 Downloading hbro-0.1.1... Configuring hbro-0.1.1... Building hbro-0.1.1... Failed to install hbro-0.1.1 Build log ( /home/builder/.cabal/logs/hbro-0.1.1.log ): cabal: Entering directory '/tmp/cabal-tmp-2403/hbro-0.1.1' Configuring hbro-0.1.1... Building hbro-0.1.1... Preprocessing executable 'hbro' for hbro-0.1.1... src/Gui.hs:1:14: warning: -XDoRec is deprecated: use -XRecursiveDo or pragma {-# LANGUAGE RecursiveDo #-} instead [1 of 4] Compiling Util ( src/Util.hs, dist/build/hbro/hbro-tmp/Util.o ) src/Util.hs:14:9: error: • Couldn't match type ‘[Char]’ with ‘text-1.2.2.1:Data.Text.Internal.Text’ Expected type: glib-0.13.4.1: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 x -> Just ('<' : x ++ ">") } src/Util.hs:15:9: error: • Couldn't match type ‘[Char]’ with ‘text-1.2.2.1:Data.Text.Internal.Text’ Expected type: glib-0.13.4.1: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 x -> Just ('<' : x ++ ">") } src/Util.hs:16:9: error: • Couldn't match type ‘[Char]’ with ‘text-1.2.2.1:Data.Text.Internal.Text’ Expected type: glib-0.13.4.1: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 x -> Just ('<' : x ++ ">") } src/Util.hs:17:9: error: • Couldn't match type ‘[Char]’ with ‘text-1.2.2.1:Data.Text.Internal.Text’ Expected type: glib-0.13.4.1: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 x -> Just ('<' : x ++ ">") } src/Util.hs:18:9: error: • Couldn't match type ‘[Char]’ with ‘text-1.2.2.1:Data.Text.Internal.Text’ Expected type: glib-0.13.4.1: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 x -> Just ('<' : x ++ ">") } src/Util.hs:19:9: error: • Couldn't match type ‘[Char]’ with ‘text-1.2.2.1:Data.Text.Internal.Text’ Expected type: glib-0.13.4.1: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 x -> Just ('<' : x ++ ">") } src/Util.hs:20:9: error: • Couldn't match type ‘[Char]’ with ‘text-1.2.2.1:Data.Text.Internal.Text’ Expected type: glib-0.13.4.1: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 x -> Just ('<' : x ++ ">") } src/Util.hs:21:9: error: • Couldn't match type ‘[Char]’ with ‘text-1.2.2.1:Data.Text.Internal.Text’ Expected type: glib-0.13.4.1: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 x -> Just ('<' : x ++ ">") } src/Util.hs:22:9: error: • Couldn't match type ‘[Char]’ with ‘text-1.2.2.1:Data.Text.Internal.Text’ Expected type: glib-0.13.4.1: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 x -> Just ('<' : x ++ ">") } src/Util.hs:23:9: error: • Couldn't match type ‘[Char]’ with ‘text-1.2.2.1:Data.Text.Internal.Text’ Expected type: glib-0.13.4.1: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 x -> Just ('<' : x ++ ">") } src/Util.hs:24:9: error: • Couldn't match type ‘[Char]’ with ‘text-1.2.2.1:Data.Text.Internal.Text’ Expected type: glib-0.13.4.1: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 x -> Just ('<' : x ++ ">") } src/Util.hs:25:34: error: • Couldn't match type ‘text-1.2.2.1:Data.Text.Internal.Text’ with ‘[Char]’ Expected type: [Char] Actual type: glib-0.13.4.1: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-2403/hbro-0.1.1' cabal: Error: some packages failed to install: hbro-0.1.1 failed during the building phase. The exception was: ExitFailure 1