Resolving dependencies... Configuring json2-types-0.1... Configuring mtl-2.2.1... Building json2-types-0.1... Building mtl-2.2.1... Configuring old-locale-1.0.0.7... Installed json2-types-0.1 Building old-locale-1.0.0.7... Configuring text-1.2.2.1... Installed old-locale-1.0.0.7 Building text-1.2.2.1... Configuring utf8-string-1.0.1.1... Installed mtl-2.2.1 Building utf8-string-1.0.1.1... Configuring old-time-1.1.0.3... Installed utf8-string-1.0.1.1 Building old-time-1.1.0.3... Installed old-time-1.1.0.3 Installed text-1.2.2.1 Configuring blaze-builder-0.4.0.2... Configuring convertible-1.1.1.0... Building convertible-1.1.1.0... Building blaze-builder-0.4.0.2... Configuring parsec-3.1.11... Installed blaze-builder-0.4.0.2 Building parsec-3.1.11... Installed parsec-3.1.11 Configuring json2-0.8.3... Building json2-0.8.3... Installed convertible-1.1.1.0 Configuring HDBC-2.4.0.1... Failed to install json2-0.8.3 Build log ( /home/builder/.cabal/logs/json2-0.8.3.log ): cabal: Entering directory '/tmp/cabal-tmp-20257/json2-0.8.3' Configuring json2-0.8.3... Building json2-0.8.3... Preprocessing library json2-0.8.3... [1 of 7] Compiling Data.JSON2.Query ( src/Data/JSON2/Query.hs, dist/build/Data/JSON2/Query.o ) src/Data/JSON2/Query.hs:171:7: warning: [-Wtabs] Tab character found here, and in two further locations. Please use spaces instead. [2 of 7] Compiling Data.JSON2.Pretty ( src/Data/JSON2/Pretty.hs, dist/build/Data/JSON2/Pretty.o ) src/Data/JSON2/Pretty.hs:30:10: error: • Illegal instance declaration for ‘Pretty Rational’ (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 Rational’ src/Data/JSON2/Pretty.hs:32: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-20257/json2-0.8.3' Building HDBC-2.4.0.1... Installed HDBC-2.4.0.1 cabal: Error: some packages failed to install: json2-0.8.3 failed during the building phase. The exception was: ExitFailure 1 json2-hdbc-0.5 depends on json2-0.8.3 which failed to install.