Resolving dependencies... Configuring primitive-0.4.1... Building primitive-0.4.1... Preprocessing library primitive-0.4.1... [1 of 9] Compiling Data.Primitive.Internal.Compat ( Data/Primitive/Internal/Compat.hs, dist/build/Data/Primitive/Internal/Compat.o ) [2 of 9] Compiling Data.Primitive.MachDeps ( Data/Primitive/MachDeps.hs, dist/build/Data/Primitive/MachDeps.o ) [3 of 9] Compiling Control.Monad.Primitive ( Control/Monad/Primitive.hs, dist/build/Control/Monad/Primitive.o ) [4 of 9] Compiling Data.Primitive.Types ( Data/Primitive/Types.hs, dist/build/Data/Primitive/Types.o ) [5 of 9] Compiling Data.Primitive.Array ( Data/Primitive/Array.hs, dist/build/Data/Primitive/Array.o ) [6 of 9] Compiling Data.Primitive.ByteArray ( Data/Primitive/ByteArray.hs, dist/build/Data/Primitive/ByteArray.o ) [7 of 9] Compiling Data.Primitive.Addr ( Data/Primitive/Addr.hs, dist/build/Data/Primitive/Addr.o ) [8 of 9] Compiling Data.Primitive ( Data/Primitive.hs, dist/build/Data/Primitive.o ) [9 of 9] Compiling Data.Primitive.MutVar ( Data/Primitive/MutVar.hs, dist/build/Data/Primitive/MutVar.o ) In-place registering primitive-0.4.1... Running Haddock for primitive-0.4.1... Running hscolour for primitive-0.4.1... Preprocessing library primitive-0.4.1... Preprocessing library primitive-0.4.1... Haddock coverage: 50% ( 1 / 2) in 'Data.Primitive.Internal.Compat' 3% ( 1 / 33) in 'Data.Primitive.MachDeps' Warning: Control.Monad.Primitive: We do not support associated types in instances yet. These instances are affected: Control.Monad.Primitive.PrimMonad GHC.Types.IO, Control.Monad.Primitive.PrimMonad (GHC.ST.ST s) 71% ( 10 / 14) in 'Control.Monad.Primitive' 100% ( 3 / 3) in 'Data.Primitive.Types' 100% ( 13 / 13) in 'Data.Primitive.Array' 78% ( 21 / 27) in 'Data.Primitive.ByteArray' 92% ( 11 / 12) in 'Data.Primitive.Addr' 100% ( 7 / 7) in 'Data.Primitive' 100% ( 6 / 6) in 'Data.Primitive.MutVar' Documentation created: dist/doc/html/primitive/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/primitive-0.4.1 Registering primitive-0.4.1... Installed primitive-0.4.1 Configuring vector-0.9.1... Building vector-0.9.1... Preprocessing library vector-0.9.1... [ 1 of 30] Compiling Data.Vector.Storable.Internal ( Data/Vector/Storable/Internal.hs, dist/build/Data/Vector/Storable/Internal.o ) [ 2 of 30] Compiling Data.Vector.Fusion.Util ( Data/Vector/Fusion/Util.hs, dist/build/Data/Vector/Fusion/Util.o ) [ 3 of 30] Compiling Data.Vector.Fusion.Stream.Size ( Data/Vector/Fusion/Stream/Size.hs, dist/build/Data/Vector/Fusion/Stream/Size.o ) Data/Vector/Fusion/Stream/Size.hs:30:10: Warning: No explicit method or default declaration for `*' In the instance declaration for `Num Size' Data/Vector/Fusion/Stream/Size.hs:30:10: Warning: No explicit method or default declaration for `abs' In the instance declaration for `Num Size' Data/Vector/Fusion/Stream/Size.hs:30:10: Warning: No explicit method or default declaration for `signum' In the instance declaration for `Num Size' [ 4 of 30] Compiling Data.Vector.Internal.Check ( Data/Vector/Internal/Check.hs, dist/build/Data/Vector/Internal/Check.o ) [ 5 of 30] Compiling Data.Vector.Fusion.Stream.Monadic ( Data/Vector/Fusion/Stream/Monadic.hs, dist/build/Data/Vector/Fusion/Stream/Monadic.o ) Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package primitive-0.4.1 ... linking ... done. [ 6 of 30] Compiling Data.Vector.Fusion.Stream ( Data/Vector/Fusion/Stream.hs, dist/build/Data/Vector/Fusion/Stream.o ) [ 7 of 30] Compiling Data.Vector.Fusion.Stream.Safe ( Data/Vector/Fusion/Stream/Safe.hs, dist/build/Data/Vector/Fusion/Stream/Safe.o ) [ 8 of 30] Compiling Data.Vector.Fusion.Stream.Monadic.Safe ( Data/Vector/Fusion/Stream/Monadic/Safe.hs, dist/build/Data/Vector/Fusion/Stream/Monadic/Safe.o ) [ 9 of 30] Compiling Data.Vector.Generic.Mutable ( Data/Vector/Generic/Mutable.hs, dist/build/Data/Vector/Generic/Mutable.o ) [10 of 30] Compiling Data.Vector.Generic.Mutable.Safe ( Data/Vector/Generic/Mutable/Safe.hs, dist/build/Data/Vector/Generic/Mutable/Safe.o ) [11 of 30] Compiling Data.Vector.Generic.Base ( Data/Vector/Generic/Base.hs, dist/build/Data/Vector/Generic/Base.o ) [12 of 30] Compiling Data.Vector.Generic.New ( Data/Vector/Generic/New.hs, dist/build/Data/Vector/Generic/New.o ) [13 of 30] Compiling Data.Vector.Generic ( Data/Vector/Generic.hs, dist/build/Data/Vector/Generic.o ) [14 of 30] Compiling Data.Vector.Generic.Safe ( Data/Vector/Generic/Safe.hs, dist/build/Data/Vector/Generic/Safe.o ) [15 of 30] Compiling Data.Vector.Generic.New.Safe ( Data/Vector/Generic/New/Safe.hs, dist/build/Data/Vector/Generic/New/Safe.o ) [16 of 30] Compiling Data.Vector.Primitive.Mutable ( Data/Vector/Primitive/Mutable.hs, dist/build/Data/Vector/Primitive/Mutable.o ) [17 of 30] Compiling Data.Vector.Primitive ( Data/Vector/Primitive.hs, dist/build/Data/Vector/Primitive.o ) [18 of 30] Compiling Data.Vector.Primitive.Safe ( Data/Vector/Primitive/Safe.hs, dist/build/Data/Vector/Primitive/Safe.o ) [19 of 30] Compiling Data.Vector.Primitive.Mutable.Safe ( Data/Vector/Primitive/Mutable/Safe.hs, dist/build/Data/Vector/Primitive/Mutable/Safe.o ) [20 of 30] Compiling Data.Vector.Storable.Mutable ( Data/Vector/Storable/Mutable.hs, dist/build/Data/Vector/Storable/Mutable.o ) [21 of 30] Compiling Data.Vector.Storable ( Data/Vector/Storable.hs, dist/build/Data/Vector/Storable.o ) [22 of 30] Compiling Data.Vector.Unboxed.Base ( Data/Vector/Unboxed/Base.hs, dist/build/Data/Vector/Unboxed/Base.o ) [23 of 30] Compiling Data.Vector.Unboxed ( Data/Vector/Unboxed.hs, dist/build/Data/Vector/Unboxed.o ) [24 of 30] Compiling Data.Vector.Unboxed.Safe ( Data/Vector/Unboxed/Safe.hs, dist/build/Data/Vector/Unboxed/Safe.o ) [25 of 30] Compiling Data.Vector.Unboxed.Mutable ( Data/Vector/Unboxed/Mutable.hs, dist/build/Data/Vector/Unboxed/Mutable.o ) [26 of 30] Compiling Data.Vector.Unboxed.Mutable.Safe ( Data/Vector/Unboxed/Mutable/Safe.hs, dist/build/Data/Vector/Unboxed/Mutable/Safe.o ) [27 of 30] Compiling Data.Vector.Mutable ( Data/Vector/Mutable.hs, dist/build/Data/Vector/Mutable.o ) [28 of 30] Compiling Data.Vector ( Data/Vector.hs, dist/build/Data/Vector.o ) [29 of 30] Compiling Data.Vector.Safe ( Data/Vector/Safe.hs, dist/build/Data/Vector/Safe.o ) [30 of 30] Compiling Data.Vector.Mutable.Safe ( Data/Vector/Mutable/Safe.hs, dist/build/Data/Vector/Mutable/Safe.o ) In-place registering vector-0.9.1... Running Haddock for vector-0.9.1... Running hscolour for vector-0.9.1... Preprocessing library vector-0.9.1... Preprocessing library vector-0.9.1... Data/Vector/Fusion/Stream/Size.hs:30:10: Warning: No explicit method or default declaration for `*' In the instance declaration for `Num Size' Data/Vector/Fusion/Stream/Size.hs:30:10: Warning: No explicit method or default declaration for `abs' In the instance declaration for `Num Size' Data/Vector/Fusion/Stream/Size.hs:30:10: Warning: No explicit method or default declaration for `signum' In the instance declaration for `Num Size' Haddock coverage: 25% ( 1 / 4) in 'Data.Vector.Storable.Internal' 100% ( 5 / 5) in 'Data.Vector.Fusion.Util' 100% ( 6 / 6) in 'Data.Vector.Fusion.Stream.Size' 11% ( 1 / 9) in 'Data.Vector.Internal.Check' 83% (104 /125) in 'Data.Vector.Fusion.Stream.Monadic' 85% ( 88 /104) in 'Data.Vector.Fusion.Stream' 85% ( 87 /102) in 'Data.Vector.Fusion.Stream.Safe' 83% (102 /123) in 'Data.Vector.Fusion.Stream.Monadic.Safe' 64% ( 42 / 66) in 'Data.Vector.Generic.Mutable' 68% ( 34 / 50) in 'Data.Vector.Generic.Mutable.Safe' 100% ( 3 / 3) in 'Data.Vector.Generic.Base' 5% ( 1 / 20) in 'Data.Vector.Generic.New' 93% (215 /232) in 'Data.Vector.Generic' 92% (189 /206) in 'Data.Vector.Generic.Safe' 6% ( 1 / 16) in 'Data.Vector.Generic.New.Safe' 76% ( 38 / 50) in 'Data.Vector.Primitive.Mutable' Warning: Data.Vector.Primitive: Instances of type and data families are not yet supported. Instances of the following families will be filtered out: Mutable 97% (185 /191) in 'Data.Vector.Primitive' 97% (166 /172) in 'Data.Vector.Primitive.Safe' 79% ( 30 / 38) in 'Data.Vector.Primitive.Mutable.Safe' 79% ( 46 / 58) in 'Data.Vector.Storable.Mutable' Warning: Data.Vector.Storable: Instances of type and data families are not yet supported. Instances of the following families will be filtered out: Mutable 97% (194 /200) in 'Data.Vector.Storable' Warning: Data.Vector.Unboxed.Base: Instances of type and data families are not yet supported. Instances of the following families will be filtered out: Mutable, MVector, Vector 17% ( 1 / 6) in 'Data.Vector.Unboxed.Base' 96% (201 /210) in 'Data.Vector.Unboxed' 95% (180 /189) in 'Data.Vector.Unboxed.Safe' 77% ( 47 / 61) in 'Data.Vector.Unboxed.Mutable' 80% ( 39 / 49) in 'Data.Vector.Unboxed.Mutable.Safe' 76% ( 37 / 49) in 'Data.Vector.Mutable' Warning: Data.Vector: Instances of type and data families are not yet supported. Instances of the following families will be filtered out: Mutable 94% (199 /212) in 'Data.Vector' 93% (178 /191) in 'Data.Vector.Safe' 78% ( 29 / 37) in 'Data.Vector.Mutable.Safe' Documentation created: dist/doc/html/vector/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/vector-0.9.1 Registering vector-0.9.1... Installed vector-0.9.1 Downloading loris-0.3... Configuring loris-0.3... cabal: Missing dependency on a foreign library: * Missing (or bad) header file: loris.h * Missing C library: loris This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is. If the header file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. Failed to install loris-0.3 cabal: Error: some packages failed to install: loris-0.3 failed during the configure step. The exception was: ExitFailure 1