Resolving dependencies... Configuring random-1.1... Configuring primitive-0.6.1.0... Building primitive-0.6.1.0... Building random-1.1... Configuring storable-complex-0.2.2... Installed random-1.1 Building storable-complex-0.2.2... Installed primitive-0.6.1.0 Configuring vector-0.11.0.0... Installed storable-complex-0.2.2 Building vector-0.11.0.0... Installed vector-0.11.0.0 Configuring hmatrix-0.15.2.1... Building hmatrix-0.15.2.1... Failed to install hmatrix-0.15.2.1 Build log ( /home/builder/.cabal/logs/hmatrix-0.15.2.1.log ): cabal: Entering directory '/tmp/cabal-tmp-5067/hmatrix-0.15.2.1' [1 of 2] Compiling Config ( /tmp/cabal-tmp-5067/hmatrix-0.15.2.1/Config.hs, /tmp/cabal-tmp-5067/hmatrix-0.15.2.1/dist/setup/Config.o ) [2 of 2] Compiling Main ( /tmp/cabal-tmp-5067/hmatrix-0.15.2.1/dist/setup/setup.hs, /tmp/cabal-tmp-5067/hmatrix-0.15.2.1/dist/setup/Main.o ) Linking /tmp/cabal-tmp-5067/hmatrix-0.15.2.1/dist/setup/setup ... Configuring hmatrix-0.15.2.1... Checking foreign libraries... OK gsl lapack blas Building hmatrix-0.15.2.1... Preprocessing library hmatrix-0.15.2.1... [ 1 of 36] Compiling Data.Packed.Internal.Signatures ( lib/Data/Packed/Internal/Signatures.hs, dist/build/Data/Packed/Internal/Signatures.o ) [ 2 of 36] Compiling Data.Packed.Internal.Common ( lib/Data/Packed/Internal/Common.hs, dist/build/Data/Packed/Internal/Common.o ) [ 3 of 36] Compiling Data.Packed.Internal.Vector ( lib/Data/Packed/Internal/Vector.hs, dist/build/Data/Packed/Internal/Vector.o ) [ 4 of 36] Compiling Data.Packed.Internal.Matrix ( lib/Data/Packed/Internal/Matrix.hs, dist/build/Data/Packed/Internal/Matrix.o ) [ 5 of 36] Compiling Data.Packed.Vector ( lib/Data/Packed/Vector.hs, dist/build/Data/Packed/Vector.o ) [ 6 of 36] Compiling Numeric.Conversion ( lib/Numeric/Conversion.hs, dist/build/Numeric/Conversion.o ) [ 7 of 36] Compiling Numeric.GSL.Vector ( lib/Numeric/GSL/Vector.hs, dist/build/Numeric/GSL/Vector.o ) [ 8 of 36] Compiling Data.Packed.Internal ( lib/Data/Packed/Internal.hs, dist/build/Data/Packed/Internal.o ) [ 9 of 36] Compiling Data.Packed.ST ( lib/Data/Packed/ST.hs, dist/build/Data/Packed/ST.o ) [10 of 36] Compiling Data.Packed.Matrix ( lib/Data/Packed/Matrix.hs, dist/build/Data/Packed/Matrix.o ) [11 of 36] Compiling Numeric.GSL.Differentiation ( lib/Numeric/GSL/Differentiation.hs, dist/build/Numeric/GSL/Differentiation.o ) [12 of 36] Compiling Numeric.GSL.Fourier ( lib/Numeric/GSL/Fourier.hs, dist/build/Numeric/GSL/Fourier.o ) [13 of 36] Compiling Numeric.GSL.Integration ( lib/Numeric/GSL/Integration.hs, dist/build/Numeric/GSL/Integration.o ) [14 of 36] Compiling Numeric.GSL.Internal ( lib/Numeric/GSL/Internal.hs, dist/build/Numeric/GSL/Internal.o ) [15 of 36] Compiling Numeric.GSL.Minimization ( lib/Numeric/GSL/Minimization.hs, dist/build/Numeric/GSL/Minimization.o ) [16 of 36] Compiling Numeric.GSL.ODE ( lib/Numeric/GSL/ODE.hs, dist/build/Numeric/GSL/ODE.o ) [17 of 36] Compiling Numeric.GSL.Polynomials ( lib/Numeric/GSL/Polynomials.hs, dist/build/Numeric/GSL/Polynomials.o ) [18 of 36] Compiling Numeric.GSL.Root ( lib/Numeric/GSL/Root.hs, dist/build/Numeric/GSL/Root.o ) [19 of 36] Compiling Numeric.LinearAlgebra.LAPACK ( lib/Numeric/LinearAlgebra/LAPACK.hs, dist/build/Numeric/LinearAlgebra/LAPACK.o ) [20 of 36] Compiling Data.Packed.Foreign ( lib/Data/Packed/Foreign.hs, dist/build/Data/Packed/Foreign.o ) [21 of 36] Compiling Data.Packed.Development ( lib/Data/Packed/Development.hs, dist/build/Data/Packed/Development.o ) [22 of 36] Compiling Data.Packed ( lib/Data/Packed.hs, dist/build/Data/Packed.o ) [23 of 36] Compiling Numeric.ContainerBoot ( lib/Numeric/ContainerBoot.hs, dist/build/Numeric/ContainerBoot.o ) lib/Numeric/ContainerBoot.hs:292:10: error: • Could not deduce (Fractional a) arising from the superclasses of an instance declaration from the context: Container Vector a bound by the instance declaration at lib/Numeric/ContainerBoot.hs:292:10-51 Possible fix: add (Fractional a) to the context of the instance declaration • In the instance declaration for ‘Container Matrix a’ lib/Numeric/ContainerBoot.hs:292:10: error: • Could not deduce (Element a) arising from the superclasses of an instance declaration from the context: Container Vector a bound by the instance declaration at lib/Numeric/ContainerBoot.hs:292:10-51 Possible fix: add (Element a) to the context of the instance declaration • In the instance declaration for ‘Container Matrix a’ cabal: Leaving directory '/tmp/cabal-tmp-5067/hmatrix-0.15.2.1' cabal: Error: some packages failed to install: hmatrix-0.15.2.1 failed during the building phase. The exception was: ExitFailure 1 hmatrix-banded-0.0.0.1 depends on hmatrix-0.15.2.1 which failed to install.