Resolving dependencies... Configuring ObjectName-1.1.0.1... Configuring fixed-0.2.1.1... Building fixed-0.2.1.1... Building ObjectName-1.1.0.1... Installed ObjectName-1.1.0.1 Configuring half-0.2.2.3... Configuring stm-2.4.4.1... Installed fixed-0.2.1.1 Building half-0.2.2.3... Building stm-2.4.4.1... Configuring random-1.1... Installed half-0.2.2.3 Building random-1.1... Configuring text-1.2.2.1... Installed stm-2.4.4.1 Building text-1.2.2.1... Configuring StateVar-1.1.0.4... Installed random-1.1 Building StateVar-1.1.0.4... Installed StateVar-1.1.0.4 Installed text-1.2.2.1 Configuring OpenGLRaw-3.2.4.0... Building OpenGLRaw-3.2.4.0... Installed OpenGLRaw-3.2.4.0 Configuring GLURaw-2.0.0.3... Building GLURaw-2.0.0.3... Installed GLURaw-2.0.0.3 Configuring OpenGL-3.0.1.0... Building OpenGL-3.0.1.0... Installed OpenGL-3.0.1.0 Configuring GLUT-2.7.0.10... Building GLUT-2.7.0.10... Installed GLUT-2.7.0.10 Configuring cuboid-0.13... Building cuboid-0.13... Failed to install cuboid-0.13 Build log ( /home/builder/.cabal/logs/cuboid-0.13.log ): cabal: Entering directory '/tmp/cabal-tmp-13911/cuboid-0.13' Configuring cuboid-0.13... Building cuboid-0.13... Preprocessing executable 'cuboid' for cuboid-0.13... [ 1 of 13] Compiling FRP.Yampa.VectorSpace ( FRP/Yampa/VectorSpace.hs, dist/build/cuboid/cuboid-tmp/FRP/Yampa/VectorSpace.o ) FRP/Yampa/VectorSpace.hs:51:22: error: • Could not deduce (Eq a) arising from a use of ‘/=’ from the context: VectorSpace v a bound by the class declaration for ‘VectorSpace’ at FRP/Yampa/VectorSpace.hs:(32,1)-(53,23) Possible fix: add (Eq a) to the context of the class declaration for ‘VectorSpace’ • In the expression: nv /= 0 In the expression: if nv /= 0 then v ^/ nv else error "normalize: zero vector" In an equation for ‘normalize’: normalize v = if nv /= 0 then v ^/ nv else error "normalize: zero vector" where nv = norm v cabal: Leaving directory '/tmp/cabal-tmp-13911/cuboid-0.13' cabal: Error: some packages failed to install: cuboid-0.13 failed during the building phase. The exception was: ExitFailure 1