Resolving dependencies... Configuring ObjectName-1.1.0.1... Configuring fixed-0.2.1.1... Building ObjectName-1.1.0.1... Building fixed-0.2.1.1... Installed ObjectName-1.1.0.1 Configuring half-0.2.2.3... Configuring random-1.1... Installed fixed-0.2.1.1 Building half-0.2.2.3... Building random-1.1... Configuring stm-2.4.4.1... Installed half-0.2.2.3 Building stm-2.4.4.1... Configuring text-1.2.2.1... Installed random-1.1 Building text-1.2.2.1... Installed stm-2.4.4.1 Configuring StateVar-1.1.0.4... 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 vect-0.4.5.2... Building vect-0.4.5.2... Failed to install vect-0.4.5.2 Build log ( /home/builder/.cabal/logs/vect-0.4.5.2.log ): cabal: Entering directory '/tmp/cabal-tmp-8071/vect-0.4.5.2' [1 of 1] Compiling Main ( /tmp/cabal-tmp-8071/vect-0.4.5.2/dist/setup/setup.hs, /tmp/cabal-tmp-8071/vect-0.4.5.2/dist/setup/Main.o ) Linking /tmp/cabal-tmp-8071/vect-0.4.5.2/dist/setup/setup ... Configuring vect-0.4.5.2... Building vect-0.4.5.2... Preprocessing library vect-0.4.5.2... [ 1 of 21] Compiling Data.Vect.Float.Base ( Data/Vect/Float/Base.hs, dist/build/Data/Vect/Float/Base.o ) Data/Vect/Float/Base.hs:27:1: warning: [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() Data/Vect/Float/Base.hs:89:1: warning: [-Winline-rule-shadowing] Rule "scalar multiplication left" may never fire because rule "Class op *&" for ‘*&’ might fire first Probable fix: add phase [n] or [~n] to the competing rule Data/Vect/Float/Base.hs:90:1: warning: [-Winline-rule-shadowing] Rule "scalar multiplication right" may never fire because rule "Class op &*" for ‘&*’ might fire first Probable fix: add phase [n] or [~n] to the competing rule Data/Vect/Float/Base.hs:109:1: warning: [-Winline-rule-shadowing] Rule "len/square 1" may never fire because rule "Class op len" for ‘len’ might fire first Probable fix: add phase [n] or [~n] to the competing rule Data/Vect/Float/Base.hs:110:1: warning: [-Winline-rule-shadowing] Rule "len/square 2" may never fire because rule "Class op fromInteger" for ‘fromInteger’ might fire first Probable fix: add phase [n] or [~n] to the competing rule Data/Vect/Float/Base.hs:110:1: warning: [-Winline-rule-shadowing] Rule "len/square 2" may never fire because rule "Class op len" for ‘len’ might fire first Probable fix: add phase [n] or [~n] to the competing rule Data/Vect/Float/Base.hs:111:1: warning: [-Winline-rule-shadowing] Rule "norm/square 1" may never fire because rule "Class op norm" for ‘norm’ might fire first Probable fix: add phase [n] or [~n] to the competing rule Data/Vect/Float/Base.hs:112:1: warning: [-Winline-rule-shadowing] Rule "norm/square 2" may never fire because rule "Class op fromInteger" for ‘fromInteger’ might fire first Probable fix: add phase [n] or [~n] to the competing rule Data/Vect/Float/Base.hs:112:1: warning: [-Winline-rule-shadowing] Rule "norm/square 2" may never fire because rule "Class op norm" for ‘norm’ might fire first Probable fix: add phase [n] or [~n] to the competing rule Data/Vect/Float/Base.hs:130:1: warning: [-Winline-rule-shadowing] Rule "normalize is idempotent" may never fire because ‘normalize’ might inline first Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘normalize’ Data/Vect/Float/Base.hs:130:1: warning: [-Winline-rule-shadowing] Rule "normalize is idempotent" may never fire because ‘normalize’ might inline first Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘normalize’ Data/Vect/Float/Base.hs:192:1: warning: [-Winline-rule-shadowing] Rule "transpose is an involution" may never fire because rule "Class op transpose" for ‘transpose’ might fire first Probable fix: add phase [n] or [~n] to the competing rule Data/Vect/Float/Base.hs:193:1: warning: [-Winline-rule-shadowing] Rule "inverse is an involution" may never fire because rule "Class op inverse" for ‘inverse’ might fire first Probable fix: add phase [n] or [~n] to the competing rule [ 2 of 21] Compiling Data.Vect.Float.GramSchmidt ( Data/Vect/Float/GramSchmidt.hs, dist/build/Data/Vect/Float/GramSchmidt.o ) Data/Vect/Float/GramSchmidt.hs:32:1: warning: [-Winline-rule-shadowing] Rule "gramSchmidt is idempotent" may never fire because rule "Class op gramSchmidt" for ‘gramSchmidt’ might fire first Probable fix: add phase [n] or [~n] to the competing rule Data/Vect/Float/GramSchmidt.hs:33:1: warning: [-Winline-rule-shadowing] Rule "gramSchmidtNormalize is idempotent" may never fire because rule "Class op gramSchmidtNormalize" for ‘gramSchmidtNormalize’ might fire first Probable fix: add phase [n] or [~n] to the competing rule [ 3 of 21] Compiling Data.Vect.Float.Instances ( Data/Vect/Float/Instances.hs, dist/build/Data/Vect/Float/Instances.o ) Data/Vect/Float/Instances.hs:29:1: warning: [-Worphans] Orphan instance: instance Eq Vec2 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. Data/Vect/Float/Instances.hs:32:1: warning: [-Worphans] Orphan instance: instance Num Vec2 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. Data/Vect/Float/Instances.hs:41:1: warning: [-Worphans] Orphan instance: instance Fractional Vec2 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. Data/Vect/Float/Instances.hs:47:1: warning: [-Worphans] Orphan instance: instance Eq Vec3 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. Data/Vect/Float/Instances.hs:50:1: warning: [-Worphans] Orphan instance: instance Num Vec3 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. Data/Vect/Float/Instances.hs:59:1: warning: [-Worphans] Orphan instance: instance Fractional Vec3 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. Data/Vect/Float/Instances.hs:65:1: warning: [-Worphans] Orphan instance: instance Eq Vec4 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. Data/Vect/Float/Instances.hs:68:1: warning: [-Worphans] Orphan instance: instance Num Vec4 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. Data/Vect/Float/Instances.hs:77:1: warning: [-Worphans] Orphan instance: instance Fractional Vec4 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. Data/Vect/Float/Instances.hs:84:1: warning: [-Worphans] Orphan instance: instance Eq Mat2 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. Data/Vect/Float/Instances.hs:87:1: warning: [-Worphans] Orphan instance: instance Num Mat2 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. Data/Vect/Float/Instances.hs:104:1: warning: [-Worphans] Orphan instance: instance Fractional Mat2 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. Data/Vect/Float/Instances.hs:112:1: warning: [-Worphans] Orphan instance: instance Eq Mat3 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. Data/Vect/Float/Instances.hs:115:1: warning: [-Worphans] Orphan instance: instance Num Mat3 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. Data/Vect/Float/Instances.hs:132:1: warning: [-Worphans] Orphan instance: instance Fractional Mat3 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. Data/Vect/Float/Instances.hs:140:1: warning: [-Worphans] Orphan instance: instance Eq Mat4 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. Data/Vect/Float/Instances.hs:143:1: warning: [-Worphans] Orphan instance: instance Num Mat4 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. Data/Vect/Float/Instances.hs:160:1: warning: [-Worphans] Orphan instance: instance Fractional Mat4 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. [ 4 of 21] Compiling Data.Vect.Float.Util.Dim2 ( Data/Vect/Float/Util/Dim2.hs, dist/build/Data/Vect/Float/Util/Dim2.o ) [ 5 of 21] Compiling Data.Vect.Float.Util.Dim3 ( Data/Vect/Float/Util/Dim3.hs, dist/build/Data/Vect/Float/Util/Dim3.o ) Data/Vect/Float/Util/Dim3.hs:61:10: warning: [-Wname-shadowing] This binding for ‘angle’ shadows the existing binding imported from ‘Data.Vect.Float.Base’ at Data/Vect/Float/Util/Dim3.hs:5:1-27 (and originally defined at Data/Vect/Float/Base.hs:123:1-5) Data/Vect/Float/Util/Dim3.hs:68:9: warning: [-Wname-shadowing] This binding for ‘angle’ shadows the existing binding imported from ‘Data.Vect.Float.Base’ at Data/Vect/Float/Util/Dim3.hs:5:1-27 (and originally defined at Data/Vect/Float/Base.hs:123:1-5) [ 6 of 21] Compiling Data.Vect.Float.Interpolate ( Data/Vect/Float/Interpolate.hs, dist/build/Data/Vect/Float/Interpolate.o ) [ 7 of 21] Compiling Data.Vect.Float.Util.Dim4 ( Data/Vect/Float/Util/Dim4.hs, dist/build/Data/Vect/Float/Util/Dim4.o ) Data/Vect/Float/Util/Dim4.hs:70:10: warning: [-Wname-shadowing] This binding for ‘angle’ shadows the existing binding imported from ‘Data.Vect.Float.Base’ at Data/Vect/Float/Util/Dim4.hs:8:1-27 (and originally defined at Data/Vect/Float/Base.hs:123:1-5) Data/Vect/Float/Util/Dim4.hs:74:9: warning: [-Wname-shadowing] This binding for ‘angle’ shadows the existing binding imported from ‘Data.Vect.Float.Base’ at Data/Vect/Float/Util/Dim4.hs:8:1-27 (and originally defined at Data/Vect/Float/Base.hs:123:1-5) Data/Vect/Float/Util/Dim4.hs:79:13: warning: [-Wname-shadowing] This binding for ‘angle’ shadows the existing binding imported from ‘Data.Vect.Float.Base’ at Data/Vect/Float/Util/Dim4.hs:8:1-27 (and originally defined at Data/Vect/Float/Base.hs:123:1-5) Data/Vect/Float/Util/Dim4.hs:89:12: warning: [-Wname-shadowing] This binding for ‘angle’ shadows the existing binding imported from ‘Data.Vect.Float.Base’ at Data/Vect/Float/Util/Dim4.hs:8:1-27 (and originally defined at Data/Vect/Float/Base.hs:123:1-5) [ 8 of 21] Compiling Data.Vect.Float.Util.Projective ( Data/Vect/Float/Util/Projective.hs, dist/build/Data/Vect/Float/Util/Projective.o ) Data/Vect/Float/Util/Projective.hs:25:1: warning: [-Wunused-imports] The qualified import of ‘Data.Vect.Float.Util.Dim4’ is redundant except perhaps to import instances from ‘Data.Vect.Float.Util.Dim4’ To import instances alone, use: import Data.Vect.Float.Util.Dim4() Data/Vect/Float/Util/Projective.hs:30:17: warning: [-Wname-shadowing] This binding for ‘angle’ shadows the existing binding imported from ‘Data.Vect.Float.Base’ at Data/Vect/Float/Util/Projective.hs:22:1-27 (and originally defined at Data/Vect/Float/Base.hs:123:1-5) Data/Vect/Float/Util/Projective.hs:33:16: warning: [-Wname-shadowing] This binding for ‘angle’ shadows the existing binding imported from ‘Data.Vect.Float.Base’ at Data/Vect/Float/Util/Projective.hs:22:1-27 (and originally defined at Data/Vect/Float/Base.hs:123:1-5) Data/Vect/Float/Util/Projective.hs:41:18: warning: [-Wname-shadowing] This binding for ‘angle’ shadows the existing binding imported from ‘Data.Vect.Float.Base’ at Data/Vect/Float/Util/Projective.hs:22:1-27 (and originally defined at Data/Vect/Float/Base.hs:123:1-5) Data/Vect/Float/Util/Projective.hs:45:19: warning: [-Wname-shadowing] This binding for ‘angle’ shadows the existing binding imported from ‘Data.Vect.Float.Base’ at Data/Vect/Float/Util/Projective.hs:22:1-27 (and originally defined at Data/Vect/Float/Base.hs:123:1-5) [ 9 of 21] Compiling Data.Vect.Float.OpenGL ( Data/Vect/Float/OpenGL.hs, dist/build/Data/Vect/Float/OpenGL.o ) Data/Vect/Float/OpenGL.hs:286:10: error: Duplicate instance declarations: instance Uniform Float -- Defined at Data/Vect/Float/OpenGL.hs:286:10 instance Uniform GLfloat -- Defined in ‘Graphics.Rendering.OpenGL.GL.Shaders.Uniform’ cabal: Leaving directory '/tmp/cabal-tmp-8071/vect-0.4.5.2' cabal: Error: some packages failed to install: vect-0.4.5.2 failed during the building phase. The exception was: ExitFailure 1