Resolving dependencies... Configuring random-1.1... Building random-1.1... Preprocessing library random-1.1... [1 of 1] Compiling System.Random ( System/Random.hs, dist/build/System/Random.o ) In-place registering random-1.1... Running Haddock for random-1.1... Running hscolour for random-1.1... Preprocessing library random-1.1... Preprocessing library random-1.1... Haddock coverage: Cannot find documentation for: $intro 100% ( 16 / 16) in 'System.Random' Documentation created: dist/doc/html/random/index.html, dist/doc/html/random/random.txt Creating package registration file: /tmp/pkgConf-random-114488.1 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/random-1.1 Registering random-1.1... Installed random-1.1 Downloading Random123-0.1.0... Configuring Random123-0.1.0... Building Random123-0.1.0... Preprocessing library Random123-0.1.0... [1 of 6] Compiling System.Random.Random123.Misc ( System/Random/Random123/Misc.hs, dist/build/System/Random/Random123/Misc.o ) [2 of 6] Compiling System.Random.Random123.Types ( System/Random/Random123/Types.hs, dist/build/System/Random/Random123/Types.o ) System/Random/Random123/Types.hs:36:10: Could not deduce (Num a) arising from a use of ‘fromInteger’ from the context (Bits a) bound by the type signature for array2FromInteger :: Bits a => Integer -> Array2 a at System/Random/Random123/Types.hs:34:22-50 Possible fix: add (Num a) to the context of the type signature for array2FromInteger :: Bits a => Integer -> Array2 a In the expression: fromInteger i In an equation for ‘x1’: x1 = fromInteger i In an equation for ‘array2FromInteger’: array2FromInteger i = (x0, x1) where x1 = fromInteger i bits = bitSize x1 x0 = fromInteger (i `shiftR` bits) System/Random/Random123/Types.hs:42:10: Could not deduce (Num a) arising from a use of ‘fromInteger’ from the context (Bits a) bound by the type signature for array4FromInteger :: Bits a => Integer -> Array4 a at System/Random/Random123/Types.hs:40:22-50 Possible fix: add (Num a) to the context of the type signature for array4FromInteger :: Bits a => Integer -> Array4 a In the expression: fromInteger i In an equation for ‘x3’: x3 = fromInteger i In an equation for ‘array4FromInteger’: array4FromInteger i = (x0, x1, x2, x3) where x3 = fromInteger i bits = bitSize x3 x0 = fromInteger (i `shiftR` (bits * 3)) x1 = fromInteger (i `shiftR` (bits * 2)) .... Failed to install Random123-0.1.0 cabal: Error: some packages failed to install: Random123-0.1.0 failed during the building phase. The exception was: ExitFailure 1