Resolving dependencies... Configuring network-2.6.3.1... Configuring data-binary-ieee754-0.4.4... Building data-binary-ieee754-0.4.4... Installed data-binary-ieee754-0.4.4 Configuring text-1.2.2.1... Building text-1.2.2.1... Building network-2.6.3.1... Installed network-2.6.3.1 Installed text-1.2.2.1 Configuring text-icu-0.7.0.1... Configuring xml-1.3.14... Building xml-1.3.14... Building text-icu-0.7.0.1... Installed xml-1.3.14 Installed text-icu-0.7.0.1 Downloading sphinx-0.6.0.2... Configuring sphinx-0.6.0.2... Building sphinx-0.6.0.2... Installed sphinx-0.6.0.2 Downloading sphinx-cli-0.1... Configuring sphinx-cli-0.1... Building sphinx-cli-0.1... Failed to install sphinx-cli-0.1 Build log ( /home/builder/.cabal/logs/sphinx-cli-0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-24127/sphinx-cli-0.1' Configuring sphinx-cli-0.1... Building sphinx-cli-0.1... Preprocessing executable 'sphinx-cli' for sphinx-cli-0.1... [1 of 1] Compiling Main ( SphinxCLI.hs, dist/build/sphinx-cli/sphinx-cli-tmp/Main.o ) SphinxCLI.hs:19:22: error: • Couldn't match type ‘[Char]’ with ‘text-1.2.2.1:Data.Text.Internal.Text’ Expected type: text-1.2.2.1:Data.Text.Internal.Text Actual type: String • In the second argument of ‘query’, namely ‘idx’ In a stmt of a 'do' block: res <- query cfg idx q In the expression: do { res <- query cfg idx q; print res } SphinxCLI.hs:19:26: error: • Couldn't match type ‘[Char]’ with ‘text-1.2.2.1:Data.Text.Internal.Text’ Expected type: text-1.2.2.1:Data.Text.Internal.Text Actual type: String • In the third argument of ‘query’, namely ‘q’ In a stmt of a 'do' block: res <- query cfg idx q In the expression: do { res <- query cfg idx q; print res } cabal: Leaving directory '/tmp/cabal-tmp-24127/sphinx-cli-0.1' cabal: Error: some packages failed to install: sphinx-cli-0.1 failed during the building phase. The exception was: ExitFailure 1