Resolving dependencies... Configuring generic-deriving-1.11.1... Configuring primitive-0.6.1.0... Building generic-deriving-1.11.1... Building primitive-0.6.1.0... Installed primitive-0.6.1.0 Configuring split-0.2.3.1... Building split-0.2.3.1... Installed split-0.2.3.1 Configuring syb-0.6... Building syb-0.6... Configuring vector-0.11.0.0... Installed syb-0.6 Building vector-0.11.0.0... Configuring boxes-0.1.4... Installed generic-deriving-1.11.1 Building boxes-0.1.4... Installed boxes-0.1.4 Installed vector-0.11.0.0 Configuring pptable-0.1.0.0... Building pptable-0.1.0.0... Failed to install pptable-0.1.0.0 Build log ( /home/builder/.cabal/logs/pptable-0.1.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-4457/pptable-0.1.0.0' Configuring pptable-0.1.0.0... Building pptable-0.1.0.0... Preprocessing library pptable-0.1.0.0... [1 of 2] Compiling Text.PrettyPrint.Tabilize ( src/Text/PrettyPrint/Tabilize.hs, dist/build/Text/PrettyPrint/Tabilize.o ) src/Text/PrettyPrint/Tabilize.hs:141:3: error: • Constraint ‘Data a’ in the type of ‘printMap’ constrains only the class type variables Use ConstrainedClassMethods to allow it • When checking the class method: printMap :: forall a. Tabilize a => forall b. (Show b, Data a) => Map.Map b a -> IO () In the class declaration for ‘Tabilize’ src/Text/PrettyPrint/Tabilize.hs:158:3: error: • Constraint ‘Data a’ in the type of ‘printList’ constrains only the class type variables Use ConstrainedClassMethods to allow it • When checking the class method: printList :: forall a. (Tabilize a, Data a) => [a] -> IO () In the class declaration for ‘Tabilize’ src/Text/PrettyPrint/Tabilize.hs:176:3: error: • Constraint ‘Data a’ in the type of ‘printVector’ constrains only the class type variables Use ConstrainedClassMethods to allow it • When checking the class method: printVector :: forall a. (Tabilize a, Data a) => V.Vector a -> IO () In the class declaration for ‘Tabilize’ cabal: Leaving directory '/tmp/cabal-tmp-4457/pptable-0.1.0.0' cabal: Error: some packages failed to install: pptable-0.1.0.0 failed during the building phase. The exception was: ExitFailure 1