Resolving dependencies... Configuring const-math-ghc-plugin-0.1.0.0... Building const-math-ghc-plugin-0.1.0.0... Failed to install const-math-ghc-plugin-0.1.0.0 Build log ( /home/builder/.cabal/logs/const-math-ghc-plugin-0.1.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-29066/const-math-ghc-plugin-0.1.0.0' Configuring const-math-ghc-plugin-0.1.0.0... Building const-math-ghc-plugin-0.1.0.0... Preprocessing library const-math-ghc-plugin-0.1.0.0... [1 of 4] Compiling ConstMath.Types ( ConstMath/Types.hs, dist/build/ConstMath/Types.o ) ConstMath/Types.hs:21:26: warning: [-Wunused-matches] Defined but not used: ‘opts’ [2 of 4] Compiling ConstMath.Rules ( ConstMath/Rules.hs, dist/build/ConstMath/Rules.o ) ConstMath/Rules.hs:41:45: error: Ambiguous occurrence ‘rationalToFloat’ It could refer to either ‘GHC.Float.rationalToFloat’, imported from ‘GHC.Float’ at ConstMath/Rules.hs:9:1-16 or ‘ConstMath.Rules.rationalToFloat’, defined at ConstMath/Rules.hs:13:1 ConstMath/Rules.hs:42:45: error: Ambiguous occurrence ‘rationalToDouble’ It could refer to either ‘GHC.Float.rationalToDouble’, imported from ‘GHC.Float’ at ConstMath/Rules.hs:9:1-16 or ‘ConstMath.Rules.rationalToDouble’, defined at ConstMath/Rules.hs:27:1 cabal: Leaving directory '/tmp/cabal-tmp-29066/const-math-ghc-plugin-0.1.0.0' cabal: Error: some packages failed to install: const-math-ghc-plugin-0.1.0.0 failed during the building phase. The exception was: ExitFailure 1